diff options
author | Charles Otto <ottochar@gmail.com> | 2009-11-02 21:20:08 -0500 |
---|---|---|
committer | Charles Otto <ottochar@gmail.com> | 2009-11-02 22:06:00 -0500 |
commit | 9397dc1a7fae542bc4978529ca3a0b2b009075b6 (patch) | |
tree | 93f13789422eeff4209a5452d685b3c66f87c5b3 /crawl-ref/source/spells2.cc | |
parent | 7da5fd2d9763721f49de5cd759f8f6b80d3d5e45 (diff) | |
download | crawl-ref-9397dc1a7fae542bc4978529ca3a0b2b009075b6.tar.gz crawl-ref-9397dc1a7fae542bc4978529ca3a0b2b009075b6.zip |
Some tweaks to decomposition
Make toadstools created via decomposition friendly, exempt toadstools
from the allies dying conduct.
Increase decomposition toadstool base duration.
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r-- | crawl-ref/source/spells2.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index 32fdaa6f20..bb0b547709 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -1790,7 +1790,7 @@ int fungal_bloom() { const int mushroom = create_monster( mgen_data(MONS_TOADSTOOL, - BEH_HOSTILE, + BEH_FRIENDLY, 0, 0, pos, @@ -1829,7 +1829,8 @@ int fungal_bloom() int target_count = 1 + binomial_generator(20, trial_prob); int seen_per; - spawn_corpse_mushrooms(*j, target_count, seen_per, true); + spawn_corpse_mushrooms(*j, target_count, seen_per, + BEH_FRIENDLY, true); seen_mushrooms += seen_per; |