- Fixed bug with extra targets when activating Polukranos, World Eater

This commit is contained in:
excessum
2014-04-27 02:18:41 +00:00
parent f34498277b
commit 811d59ed24

View File

@@ -276,8 +276,8 @@ public class DamageDealAi extends DamageAiBase {
if (!source.hasProtectionFrom(humanCreature)) { if (!source.hasProtectionFrom(humanCreature)) {
dmgTaken += humanCreature.getNetAttack(); dmgTaken += humanCreature.getNetAttack();
} }
if (dmg <= 0) { if (dmg == 0) {
break; return true;
} }
} }
if (dmg > 0 && lastTgt != null) { if (dmg > 0 && lastTgt != null) {