v0.2.4c: made yog mobs much more responsive when the eye is attacked
This commit is contained in:
parent
985481de85
commit
425a2b163a
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user