Jump to content

[How To] Make Permanent Skills


Kraaz

Recommended Posts

  • Premium

Hello, community!

I would like to share a simple tutorial about how to make a permanent skill.

Spoiler

spacer.png

 

For this, you will need to modify the following files:

  • skill_proto (SQL)
  • skilldesc.txt  (client/locale)
  • skilltable.txt  (client/locale)
  • uitooltip.py  (client/root)

 

skill_proto

Spoiler

This is the hidden content, please

 

skilldesc.txt

Spoiler

This is the hidden content, please

 

skilltable.txt

Spoiler

This is the hidden content, please

 

uitooltip.py

Spoiler
Search for:
		if duration > 0:
			self.AppendTextLine(localeInfo.TOOLTIP_SKILL_DURATION % (duration), color)

Replace with:
		if duration == 9999999:
			self.AppendTextLine("Duration: Permanent")
		elif duration > 0 and duration < 999999:
			self.AppendTextLine(localeInfo.TOOLTIP_SKILL_DURATION % (duration), color)

 

 

Αny improvements or corrections are welcome!

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 61
  • Eyes 1
  • Facepalm 1
  • Smile Tear 1
  • Lmao 1
  • Good 16
  • Love 5
  • Love 26
Link to comment
Share on other sites



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