Przeglądaj źródła

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

_DS_ 15 lat temu
rodzic
commit
b995b13e86

+ 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);