v0.2.4c: made yog mobs much more responsive when the eye is attacked

This commit is contained in:
Evan Debenham 2015-03-08 01:32:36 -05:00
parent 985481de85
commit 425a2b163a

View File

@ -127,6 +127,12 @@ public class Yog extends Mob {
Actor.addDelayed( new Pushing( larva, pos, larva.pos ), -1 );
}
for (Mob mob : Dungeon.level.mobs) {
if (mob instanceof BurningFist || mob instanceof RottingFist || mob instanceof Larva) {
mob.aggro( enemy );
}
}
return super.defenseProc(enemy, damage);
}