Jump to content
For maintenance and updates, the community will be offline on 31 December 2022 ×
  • 0

Upgrade View Equipment System


Ropen

Question

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

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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.