Jump to content

Horse riding skill level uitooltip


Recommended Posts

Hi. I found error. I want to add description to horse riding skill depended on skill level so i tried like that

elif player.SKILL_INDEX_RIDING == skillIndex:
	slotIndex = player.GetSkillSlotIndex(skillIndex)
	skillLevel = player.GetSkillLevel(slotIndex)

	self.AppendDefaultData(skillIndex)
	if skillLevel == 1:
		self.AppendSpace(5)
		self.AppendTextLine("Test1", self.NORMAL_COLOR)
	elif skillLevel == 20:
		self.AppendSpace(5)
		self.AppendTextLine("Test20", self.NORMAL_COLOR)

It work's in 50%. I mean if i have 1 level it shows Test1 but when i have 20 level of that skill it also shows Test1. Any ideas?

Edited by avertuss
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

  • Forum Moderator
On 2/23/2020 at 3:57 PM, avertuss said:


elif player.SKILL_INDEX_RIDING == skillIndex:
	slotIndex = player.GetSkillSlotIndex(skillIndex)
	skillLevel = player.GetSkillLevel(slotIndex)

	self.AppendDefaultData(skillIndex)
	if skillLevel == 1:
		self.AppendSpace(5)
		self.AppendTextLine("Test1", self.NORMAL_COLOR)
	elif skillLevel == 20:
		self.AppendSpace(5)
		self.AppendTextLine("Test20", self.NORMAL_COLOR)

Skill levels depends of skill grade also you've to clean the tooltip each time.

This is the hidden content, please

Edited by VegaS™
  • Metin2 Dev 5
  • Good 2
  • Love 4
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 3

      Crystal Metinstone

    2. 3

      Feeding game source to LLM

    3. 113

      Ulthar SF V2 (TMP4 Base)

    4. 3

      Feeding game source to LLM

    5. 0

      Target Information System

    6. 3

      Feeding game source to LLM

    7. 2

      anti exp explanation pls

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.