From e2e073dae72aec1ad716880847af7ed70a6a4527 Mon Sep 17 00:00:00 2001 From: ondra Date: Tue, 13 May 2014 16:06:21 +0200 Subject: [PATCH] imrpv mouse walk --- src/mightypork/rogue/world/entity/impl/MonsterAi.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mightypork/rogue/world/entity/impl/MonsterAi.java b/src/mightypork/rogue/world/entity/impl/MonsterAi.java index 8fbbe6d..b87cafc 100644 --- a/src/mightypork/rogue/world/entity/impl/MonsterAi.java +++ b/src/mightypork/rogue/world/entity/impl/MonsterAi.java @@ -178,7 +178,7 @@ public class MonsterAi extends EntityModule implements EntityMoveListener { sleeping = true; } - if (!chasing && !sleeping && !entity.pos.isMoving() && Calc.rand.nextInt(6) == 0) { + if (!chasing && !sleeping && !entity.pos.isMoving() && Calc.rand.nextInt(10) == 0) { entity.pos.addStep(Sides.randomCardinal()); } } @@ -349,13 +349,13 @@ public class MonsterAi extends EntityModule implements EntityMoveListener { @DefaultImpl protected boolean shouldRandomlyWake() { - return Calc.rand.nextInt(3) == 0; + return Calc.rand.nextInt(10) == 0; } @DefaultImpl protected boolean shouldRandomlyFallAsleep() { - return Calc.rand.nextInt(5) == 0; + return Calc.rand.nextInt(8) == 0; } }