summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.cc
diff options
context:
space:
mode:
authorSage <SageBasilMint@gmail.com>2014-04-22 23:15:48 +0000
committerSage <SageBasilMint@gmail.com>2014-04-22 23:15:48 +0000
commitd40860805085bd8d762d348ae9b6a9a031ff0316 (patch)
treea62a509da3ba0a74a400eb14b691cde61db6e8ad /crawl-ref/source/xom.cc
parent2f4809b3e053543e7f50247115aaa02d34d41222 (diff)
downloadcrawl-ref-d40860805085bd8d762d348ae9b6a9a031ff0316.tar.gz
crawl-ref-d40860805085bd8d762d348ae9b6a9a031ff0316.zip
Prevent firewood poly from Xom and chaos brand.
To prevent silly surprises when resting in Lair as a CK or clearing random plants with a chaos weapon.
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r--crawl-ref/source/xom.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc
index 5c3cb00b9a..961ff78712 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -1265,7 +1265,7 @@ static int _xom_polymorph_nearby_monster(bool helpful, bool debug = false)
choose_random_nearby_monster(0, _choose_mutatable_monster);
// [ds] Be less eager to polymorph plants, since there are now
// locations with lots of plants (Lair and Shoals).
- if (mon && (!mons_is_plant(mon) || one_chance_in(6)))
+ if (mon && !mons_is_firewood(mon))
{
if (debug)
return helpful ? XOM_GOOD_POLYMORPH : XOM_BAD_POLYMORPH;