summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrexim <reximkut@gmail.com>2024-03-30 05:00:02 +0700
committerrexim <reximkut@gmail.com>2024-03-30 05:00:02 +0700
commit9d640ccb2308634917a64c4929fea6448ae3d48a (patch)
treed7c1431b92ade5dd2b09a0e5675b7a5f0fd801b0
parent83c1d39123da030e0f7fa3fe003931a35d18a8f4 (diff)
Increase Path Finding Limit
Close #16
-rw-r--r--CHANGELOG.md1
-rw-r--r--eepers.adb2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b7ea884..6cd9eee 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@
Sour code yourself sorry.
- @rexim
+- @rexim - Increased Path Finding Limit. Now Bosses give up on chasing the Player if the distance is over 10 turns instead of just 4.
- @rexim - Ported the Source Code to Ada 2012 making it accessible to more setups.
- ...
diff --git a/eepers.adb b/eepers.adb
index f29237d..450c462 100644
--- a/eepers.adb
+++ b/eepers.adb
@@ -150,7 +150,7 @@ procedure Eepers is
EEPER_EXPLOSION_DAMAGE : constant Float := 0.45;
GUARD_TURN_REGENERATION : constant Float := 0.01;
BOMB_GENERATOR_COOLDOWN : constant Integer := 10;
- GUARD_STEPS_LIMIT : constant Integer := 4;
+ GUARD_STEPS_LIMIT : constant Integer := 10;
GUARD_STEP_LENGTH_LIMIT : constant Integer := 100;
EXPLOSION_LENGTH : constant Integer := 10;
EYES_ANGULAR_VELOCITY : constant Float := 10.0;