Created
April 28, 2014 13:39
-
-
Save Sdwz/11372349 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: java/com/l2jserver/gameserver/model/CharEffectList.java | |
=================================================================== | |
--- java/com/l2jserver/gameserver/model/CharEffectList.java (révision 545) | |
+++ java/com/l2jserver/gameserver/model/CharEffectList.java (copie de travail) | |
@@ -799,6 +799,18 @@ | |
} | |
} | |
+ if (hasDebuffs()) | |
+ { | |
+ for (BuffInfo info : getDebuffs().values()) | |
+ { | |
+ if ((info != null) && !info.getSkill().isStayAfterDeath()) | |
+ { | |
+ stopAndRemove(info, getDebuffs()); | |
+ update = true; | |
+ } | |
+ } | |
+ } | |
+ | |
// Update effect flags and icons. | |
updateEffectList(update); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment