- 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
~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 :
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?
1 answer to this question
Recommended Posts