summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-abil.cc
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-06-09 09:02:00 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-06-09 09:05:42 -0400
commitb03d3d0b07f0f28cc2cc4abf3fa23ab574803685 (patch)
tree4ced3459e6255eaaa9561e49ed07abd2280746c0 /crawl-ref/source/mon-abil.cc
parentb59d38d563bf3358e8721d72818ecbba8e92e928 (diff)
downloadcrawl-ref-b03d3d0b07f0f28cc2cc4abf3fa23ab574803685.tar.gz
crawl-ref-b03d3d0b07f0f28cc2cc4abf3fa23ab574803685.zip
Remove giant fireflies.
Outside of vaults, they existed only from spriggan rider death, and as a fairly rare spawn in Swamp. Their stats were overall very similar to 'spider,' and their special ability was not too noticeable. Spriggan riders now ride vampire mosquitoes instead, as a more swampy substitute.
Diffstat (limited to 'crawl-ref/source/mon-abil.cc')
-rw-r--r--crawl-ref/source/mon-abil.cc51
1 files changed, 0 insertions, 51 deletions
diff --git a/crawl-ref/source/mon-abil.cc b/crawl-ref/source/mon-abil.cc
index d0ac0fb2ec..ddf3dfd54e 100644
--- a/crawl-ref/source/mon-abil.cc
+++ b/crawl-ref/source/mon-abil.cc
@@ -4288,57 +4288,6 @@ bool mon_special_ability(monster* mons, bolt & beem)
}
break;
- case MONS_FIREFLY:
- if (!one_chance_in(7) || mons->friendly() || mons->confused()
- || mons->has_ench(ENCH_INVIS))
- {
- break;
- }
-
- simple_monster_message(mons, " flashes a warning beacon!",
- MSGCH_MONSTER_SPELL);
-
- for (monster_near_iterator mi(mons); mi; ++mi)
- {
- // Fireflies (and their riders) are attuned enough to the light
- // to wake in response, while other creatures sleep through it
- if (mi->asleep() && (mi->type == MONS_FIREFLY
- || mi->type == MONS_SPRIGGAN_RIDER))
- {
- behaviour_event(*mi, ME_DISTURB, mons->get_foe(), mons->pos());
-
- // Give riders a chance to shout and alert their companions
- // (this won't otherwise happen if the player is still out
- // of their sight)
- if (mi->behaviour == BEH_WANDER && coinflip())
- handle_monster_shouts(*mi);
- }
-
- if (!mi->asleep())
- {
- // We consider the firefly's foe to be the 'source' of the
- // light here so that monsters wandering around for the player
- // will be alerted by fireflies signaling in response to the
- // player, but ignore signals in response to other monsters
- // if they're already in pursuit of the player.
- behaviour_event(*mi, ME_ALERT, mons->get_foe(), mons->pos());
- if (mi->target == mons->pos())
- {
- monster_pathfind mp;
- if (mp.init_pathfind(*mi, mons->pos()))
- {
- mi->travel_path = mp.calc_waypoints();
- if (!mi->travel_path.empty())
- {
- mi->target = mi->travel_path[0];
- mi->travel_target = MTRAV_PATROL;
- }
- }
- }
- }
- }
- break;
-
case MONS_SHOCK_SERPENT:
if (mons->has_ench(ENCH_CONFUSION))