- 0
This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and 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..
Question
melron
Hello there,
Im trying to find a way to change the skill description for example when a character have 1kkk adenas..
example:
adena < 1kkk
adena >= 1kkk
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 melron4 answers to this question
Recommended Posts