Skip to content

Change Skill Description When Smt

Featured Replies

Hello there,

Im trying to find a way to change the skill description for example when a character have 1kkk adenas..

 

example:

 

adena < 1kkk

image.png

 

adena >= 1kkk

secc.png

 

I have to create one more skill like hydro in skillname-e with the new description?

if yes how can i switch the link to appear the new skill?

 

ive searched in enchantskill file how the icon is replacing but i didnt get what i need because this is for changing the whole icon (+1 etc)...

 

 

 

for (L2ShortCut sc : activeChar.getAllShortCuts())
		{
			if (sc.getId() == _skillId && sc.getType() == L2ShortCut.TYPE_SKILL)
			{
				L2ShortCut newsc = new L2ShortCut(sc.getSlot(), sc.getPage(), L2ShortCut.TYPE_SKILL, _skillId, _skillLevel, 1);
				activeChar.sendPacket(new ShortCutRegister(newsc));
				activeChar.registerShortCut(newsc);
			}
		}

 

 

 

Edit: if i have to do the same as any enchanted skill with the new description i have to change enchant_skills_tree and plus one more enchant for all those skills?

Any suggestion?

Edited by melron

Solved by xxdem

You have to refer to a new skill with a different description. Basically a clone with only the description being different. No other choice, since it's client related. Which is a huge amount of wasted time if you ask me.

  • Author

You have to refer to a new skill with a different description. Basically a clone with only the description being different. No other choice, since it's client related. Which is a huge amount of wasted time if you ask me.

Thank you!

  • Solution

Just add another level to hydro blast, lvl 29 lets say that has this unique description. Every skill level has individual description is skillname.dat

 

The server side is easier, you don't need the actual level server side, just send it through a packet to the player when he meets the conditions

  • Author

Just add another level to hydro blast, lvl 29 lets say that has this unique description. Every skill level has individual description is skillname.dat

 

The server side is easier, you don't need the actual level server side, just send it through a packet to the player when he meets the conditions

Solved! Thank you!!

Edited by melron

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.