v2.2.0: mobs now spend a tick if they trigger escape logic

This commit is contained in:
Evan Debenham
2023-09-19 12:11:22 -04:00
parent 4c86cba1cf
commit f2d0a821fb

View File

@@ -1166,6 +1166,7 @@ public abstract class Mob extends Char {
if (enemy == null || !enemyInFOV && 1 + Random.Int(Dungeon.level.distance(pos, target)) >= 6){
escaped();
if (state != FLEEING){
spend( TICK );
return true;
}