浏览代码

Not allow removing of various debuffs (e.g. battlefield penalty) by switching subclass.

_DS_ 15 年之前
父节点
当前提交
b995b13e86
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java

+ 1 - 1
L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java

@@ -10526,7 +10526,7 @@ public final class L2PcInstance extends L2Playable
             for (L2Skill oldSkill : getAllSkills())
                 super.removeSkill(oldSkill);
 
-            stopAllEffects();
+            stopAllEffectsExceptThoseThatLastThroughDeath();
 
             restoreRecipeBook(false);