Upgrade View Equipment System

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
llB7aRll
Nou Venit

Nou Venit
Mesaje: 2
Membru din: 15 Iun 2020, 05:29
Aprecieri: 46  
Mulţumiri: 0
Medalii


Questions : need to get the target character's points in View Equipment System
Server type: (PvM / PvP)
Used serversiles: Maxmi
Syserr: no syserr
Image: below in the description



Hi

I would like to upgrade the View Equipment system to get the character's points such as HP , SP , Str , magic attack , magic defense,..etc.
Details in this window
https://gyazo.com/f50139c8f46c95bc9fc3d849a4d316b7

I tried to use as ex :
self.GetChild("MATT_Value").SetText(self.__GetTotalMagAtkText())

	def __GetTotalMagAtkText(self):
		minMagAtk=player.GetStatus(player.MAG_ATT)+player.GetStatus(player.MIN_MAGIC_WEP)
		maxMagAtk=player.GetStatus(player.MAG_ATT)+player.GetStatus(player.MAX_MAGIC_WEP)

		if minMagAtk==maxMagAtk:
			return "%d" % (minMagAtk)
		else:
			return "%d-%d" % (minMagAtk, maxMagAtk)

          
But it showed the details of my character, not the target



https://gyazo.com/67d12896d695ea20f4c541182b2812dc


Does anyone know a way to do this?



thnx all 💙
Ultima oară modificat 15 Noi 2021, 22:21 de către llB7aRll, modificat de 6 ori în total.
Avatar utilizator
Dex
Nivel 3

Nivel 3
Mesaje: 397
Membru din: 07 Mai 2020, 14:32
Regat: Shinsoo
Aprecieri: 137  
Mulţumiri: 486  
Discord: Copiază ID
Medalii

First of all you have to respect the post template of the forum: probleme/model-postare-intrebare-sau-pr ... 67107.html
Imagine
Afișează semnătura
Avatar utilizator
llB7aRll
Nou Venit

Nou Venit
Mesaje: 2
Membru din: 15 Iun 2020, 05:29
Aprecieri: 46  
Mulţumiri: 0
Medalii

Sorry for the mistake, is everything ok now?
Închis

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Amazon [Bot], Google [Bot], Semrush [Bot] și 56 vizitatori