Jump to content

Upgrade View Equipment System


Recommended Posts

Hi devs ,

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://metin2.download/picture/9YN65fishsoBt0qQKm8q53IjXfyHy3pf/.jpg

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://metin2.download/picture/G6CB4Jn680gw10hm981g6S8L8ovpgXhe/.jpg


Does anyone know a way to do this?

 

thnx all 💙

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.