From 77620b7075494d78dda86ab8f69fd777d2e9eb37 Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Fri, 23 Oct 2009 19:47:56 -0400 Subject: 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) --- crawl-ref/source/beam.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/beam.cc') 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, -- cgit v1.2.3-54-g00ecf