diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-13 10:48:46 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-13 10:49:32 -0700 |
commit | 14d464dfd1d6ba554389a4c6311f9b930dc29ef1 (patch) | |
tree | b288a4017519eafdb7a39976003ac6b84d464901 /crawl-ref/source/melee_attack.cc | |
parent | 9a82e6e6929511236d2eb593b7973e9f764b8063 (diff) | |
download | crawl-ref-14d464dfd1d6ba554389a4c6311f9b930dc29ef1.tar.gz crawl-ref-14d464dfd1d6ba554389a4c6311f9b930dc29ef1.zip |
Remove support for door-snapping attacks
Now that door & fountain mimics are no more.
Diffstat (limited to 'crawl-ref/source/melee_attack.cc')
-rw-r--r-- | crawl-ref/source/melee_attack.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/crawl-ref/source/melee_attack.cc b/crawl-ref/source/melee_attack.cc index 8b37adaf45..671ecef496 100644 --- a/crawl-ref/source/melee_attack.cc +++ b/crawl-ref/source/melee_attack.cc @@ -2562,15 +2562,6 @@ string melee_attack::mons_attack_verb() if (attacker->type == MONS_KILLER_KLOWN && attk_type == AT_HIT) return RANDOM_ELEMENT(klown_attack); - if (mons_is_feat_mimic(attacker->type)) - { - const dungeon_feature_type feat = get_mimic_feat(attacker->as_monster()); - if (feat_is_door(feat)) - attk_type = AT_SNAP; - else if (feat_is_fountain(feat)) - attk_type = AT_SPLASH; - } - if (attk_type == AT_TENTACLE_SLAP && (attacker->type == MONS_KRAKEN_TENTACLE || attacker->type == MONS_ELDRITCH_TENTACLE)) |