Ver código fonte

Active buffs from augments not removed on unequip, thanks Charus.

_DS_ 15 anos atrás
pai
commit
19c7e6d44a

+ 5 - 1
L2_GameServer/java/net/sf/l2j/gameserver/model/L2Augmentation.java

@@ -158,7 +158,11 @@ public final class L2Augmentation
 		// 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();
 		}
 	}