Fixed callback buffs for buffs

This commit is contained in:
Mads Boddum
2016-10-19 10:50:48 +02:00
parent 47bc9d4e9a
commit 0a3ebe53a5
5 changed files with 11 additions and 14 deletions
+1 -1
View File
@@ -336,7 +336,7 @@ public class CombatManager extends Manager {
// We need to handle this differently, depending on whether killedCreature is a player or not
if(corpse.isPlayer()) {
if (corpse.getBuffByCrc(new CRC("incapweaken")) != null) {
if (corpse.hasBuff("incapWeaken")) {
// Kill this sucka immediately
killCreature(killer, corpse);
} else {