Jump to content

Question

Posted

Hello can someone tell me how to allow players to enchant skills in any trainer npc? I already edited the condition to show skill list while talking with npc but after choosing skill window dissapears.

3 answers to this question

Recommended Posts

  • 0
Posted

I just put this code in coment:

if (!trainer.getTemplate().canTeach(activeChar.getClassId()))
			return; 

from java/net/sf/l2j/gameserver/network/clientpackets/RequestExEnchantSkillInfo.java and it works, wouldn't it be dangerous or it's better to create new npc with ability to enchant every class skills?

Guest
This topic is now closed to further replies.


×
×
  • Create New...