From b6759039f6283a5576ed7d94bcebd1441db40198 Mon Sep 17 00:00:00 2001 From: Stefan O'Rear Date: Fri, 13 Nov 2009 13:01:46 -0800 Subject: Excempt Roxanne and ice statues from statuic XP --- crawl-ref/source/mon-util.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/mon-util.cc') 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; -- cgit v1.2.3-54-g00ecf