summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index fc33cccc69..ffd589ac25 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -1230,7 +1230,10 @@ int exper_value(const monsters *monster)
if (mons_class_flag(mclass, M_NO_EXP_GAIN))
return (0);
- if (mons_is_statue(mclass))
+ // The beta26 statues have non-spell-like abilities that the experience
+ // code can't see, so inflate their XP a bit. Ice statues and Roxanne
+ // get plenty of XP for their spells.
+ if (mclass == MONS_ORANGE_STATUE || mclass == MONS_SILVER_STATUE)
return (mHD * 15);
x_val = (16 + maxhp) * (mHD * mHD) / 10;