diff options
author | Charles Otto <ottochar@gmail.com> | 2009-10-23 19:47:56 -0400 |
---|---|---|
committer | Charles Otto <ottochar@gmail.com> | 2009-10-25 14:44:42 -0400 |
commit | 77620b7075494d78dda86ab8f69fd777d2e9eb37 (patch) | |
tree | 5778195be2fe276aa2f86a3a0e6b4a6f9f1d8c2d /crawl-ref/source/beam.cc | |
parent | ff071c7f1a5e5b7cb3b994297e46168acae30a7e (diff) | |
download | crawl-ref-77620b7075494d78dda86ab8f69fd777d2e9eb37.tar.gz crawl-ref-77620b7075494d78dda86ab8f69fd777d2e9eb37.zip |
Preliminarily add a new fungus species to replace fungus w.r.t. spores
Add a fungus species ('ballistomycete') to use in place of fungus in
spores explosions etc.
Fix a couple message leaks (wrong version of see_cell used in
monaters::apply_enchantment)
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r-- | crawl-ref/source/beam.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index b7afe1e897..0c84604bf6 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -3042,14 +3042,14 @@ void bolt::affect_ground() // produced is the x in x_chance_in_y() in the conditional below. if (is_explosion && this->flavour == BEAM_SPORE && x_chance_in_y(2, 21) - && mons_class_can_pass(MONS_FUNGUS, env.grid(pos())) + && mons_class_can_pass(MONS_BALLISTOMYCETE, env.grid(pos())) && !actor_at(pos())) { // Half the fungi in arena mode are friendly. beh_type beh = (crawl_state.arena && coinflip()) ? BEH_FRIENDLY : BEH_HOSTILE; - int rc = create_monster(mgen_data(MONS_FUNGUS, + int rc = create_monster(mgen_data(MONS_BALLISTOMYCETE, beh, 0, 0, |