summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/godabil.cc2
-rw-r--r--crawl-ref/source/mon-util.cc5
2 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/godabil.cc b/crawl-ref/source/godabil.cc
index c1348ab813..c3cb8bbe36 100644
--- a/crawl-ref/source/godabil.cc
+++ b/crawl-ref/source/godabil.cc
@@ -490,7 +490,7 @@ static int _slouch_monsters(coord_def where, int pow, int, actor* agent)
if (mon == NULL)
return (0);
- int dmg = (mon->speed - player_movement_speed());
+ int dmg = (mon->speed - 100/player_movement_speed());
dmg = (dmg > 0 ? dmg * dmg : 0);
mon->hurt(agent, dmg, BEAM_MMISSILE, true);
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index c775d19bd1..f841e2d781 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -511,8 +511,9 @@ bool mons_is_stationary(const monsters *mon)
return (mons_class_is_stationary(mon->type));
}
-bool mons_is_fast(const monsters *mon){
- return (mon->speed > 10);
+bool mons_is_fast(const monsters *mon)
+{
+ return (mon->speed > 100/player_movement_speed());
}
bool mons_is_insubstantial(int mc)