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 149
  • Eyes 2
  • Facepalm 2
  • Smile Tear 1
  • Confused 1
  • Lmao 1
  • Good 44
  • Love 10
  • Love 70
Link to comment
Share on other sites

  • 7 months later...
  • Premium
22 minutes ago, Donis said:

Almost complete. After you do that you must change the sZDurationPoly2. Some characters use MOV_SPEED or HIT_HP_RECOVER like SURA. And if you dont change sZDurationPoly2 effect for this bonus willl not work. Will work only for main bonus. Example for Sura, will work only attack value.

I'll take a look.

Thanks for letting me know!

  • Good 1
Link to comment
Share on other sites

  • 6 months later...

I know the thread is a bit older, but I have a question. I want my Sword Aura to have the same effect of toggling on and off like Enchanted Blade does. Unfortunately, that's not the case after following the tutorial. I'll show you a screenshot:

https://metin2.download/video/LDMI7r5IfUuLhGAZaxKMWI1QmePQY59S/.mp4

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

  • Premium
On 2/27/2024 at 2:28 PM, AthenaBazooka said:

I know the thread is a bit older, but I have a question. I want my Sword Aura to have the same effect of toggling on and off like Enchanted Blade does. Unfortunately, that's not the case after following the tutorial. I'll show you a screenshot:

https://metin2.download/video/LDMI7r5IfUuLhGAZaxKMWI1QmePQY59S/.mp4

You forgot to add the TOGGLE in the files. Follow the tutorial step by step

Link to comment
Share on other sites

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.