From 4cf89bf43fe0847385567b94f0a61a16003561fb Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Wed, 11 Nov 2009 23:32:33 -0500 Subject: Change the ballistomycete activation mechanic Give ballistomycetes a counter, when it's at zero they have the slow spawn rate (are considered inactive), when it's greater than zero they have the fast spawn rate. Killing a ballisto gives +1 to any others on the level, a ballisto spawning a spore subtracts 1 from its own counter --- crawl-ref/source/mon-abil.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crawl-ref/source/mon-abil.cc') diff --git a/crawl-ref/source/mon-abil.cc b/crawl-ref/source/mon-abil.cc index 3c93b540a2..5ed1f0435b 100644 --- a/crawl-ref/source/mon-abil.cc +++ b/crawl-ref/source/mon-abil.cc @@ -1439,8 +1439,7 @@ void mon_nearby_ability(monsters *monster) // square they move off of. void ballisto_on_move(monsters * monster, const coord_def & position) { - if (monster->type == MONS_GIANT_SPORE - && monster->behaviour == BEH_WANDER) + if (monster->type == MONS_GIANT_SPORE) { // The number field is used as a cooldown timer for this behavior. if (monster->number <= 0) -- cgit v1.2.3-54-g00ecf