~SilveR~ Posted July 31, 2010 Posted July 31, 2010 guys can you post the code to make augment skills to remove when player unequip the weapon? i know is retail but i want to be removed cause i want to set augment skill 1 hour or 20 min and i dont want to be stucked :) i found a way but i dont know if is correct : 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(); } } } is that correct?
0 ~SilveR~ Posted July 31, 2010 Author Posted July 31, 2010 so my way works fine :D anyway locked ill share the code on Share section :P
Question
~SilveR~
guys can you post the code to make augment skills to remove when player unequip the weapon?
i know is retail but i want to be removed cause i want to set augment skill 1 hour or 20 min and i dont want to be stucked :)
i found a way but i dont know if is correct :
is that correct?
1 answer to this question
Recommended Posts