v2.2.0: mobs now spend a tick if they trigger escape logic
This commit is contained in:
@@ -1166,6 +1166,7 @@ public abstract class Mob extends Char {
|
|||||||
if (enemy == null || !enemyInFOV && 1 + Random.Int(Dungeon.level.distance(pos, target)) >= 6){
|
if (enemy == null || !enemyInFOV && 1 + Random.Int(Dungeon.level.distance(pos, target)) >= 6){
|
||||||
escaped();
|
escaped();
|
||||||
if (state != FLEEING){
|
if (state != FLEEING){
|
||||||
|
spend( TICK );
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user