Jump to content

[Share]Augment Skill,buff remove when unequip weapon L2J


Recommended Posts

As the tittle  says , on L2J when you unequip a weapon the skill stuck so there  is the fix :

 

 

net.sf.l2j.gameserver.model.L2Augmention.java

public void removeBonus(L2PcInstance player)
{
    _boni.removeBonus(player);

	// remove the skill if any
	if (_skill != null)
          {
+			player.removeSkill(_skill); 
		if (_skill.isPassive())
			player.removeSkill(_skill);
		else
			player.removeSkill(_skill, false, false);

		player.sendSkillList();
	}
       }
}

 

credits: to me ( i found this before 1 min :P ) i know its not mine  but i found it allone :/

 

Tested!

Link to comment
Share on other sites

As the tittle  says , on L2J when you unequip a weapon the skill stuck so there  is the fix :

 

 

net.sf.l2j.gameserver.model.L2Augmention.java

public void removeBonus(L2PcInstance player)
{
    _boni.removeBonus(player);

	// remove the skill if any
	if (_skill != null)
          {
+			player.removeSkill(_skill); 
		if (_skill.isPassive())
			player.removeSkill(_skill);
		else
			player.removeSkill(_skill, false, false);

		player.sendSkillList();
	}
       }
}

 

i dont need karma cause  is  not  something big :P

 

credits: to me ( i found this before 1 min :P )

 

Tested!

First: Laught'hhard

Second: is not yours...

Link to comment
Share on other sites

http://www.maxcheaters.com/forum/index.php?topic=51404.0

 

And even add the proper credits when you share something

-Locked

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



×
×
  • Create New...