Jump to content
  • 0

Help With This Npc Bypass



hello guys i am having a problem with the clan skill list , i have an npc where i have some features reagrouped, one of these features is learn clan skills, when i press learn skills it show the list well, but when i try to push some skill to learn the window dissappear without errors in the console, this is the little code that i use for it:

		else if (actualCommand.equalsIgnoreCase("learnclanskills"))
			if (!checkLeaderConditions(player))

and the condition:

	private static boolean checkLeaderConditions(L2PcInstance activeChar)
		if (!activeChar.isClanLeader())
			activeChar.sendMessage("Only clan leader can use that function.");
			return false;
		return true;

the npc show the skill list well but i cant select any skill because the window dissappear without errors....what i forgot? thanks in advance...



i found the solution, i will answer me:


the problem was the instancetype of my npc Script i changed the extender  from L2Npc to L2NpcInstance and worked.

Edited by b0rto
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

This topic is now closed to further replies.

  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock