summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/melee_attack.cc
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-06-23 10:59:30 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-06-23 11:01:12 -0400
commit324f38de48849974d30e63f2c3f7ff73a3eb9b19 (patch)
treec2b0101f0299c23efdcd7c4a77146575399fd66c /crawl-ref/source/melee_attack.cc
parent43d3e2817a60ac43b741454d480194e0b178c814 (diff)
downloadcrawl-ref-324f38de48849974d30e63f2c3f7ff73a3eb9b19.tar.gz
crawl-ref-324f38de48849974d30e63f2c3f7ff73a3eb9b19.zip
Let a special case for staff of air float away (minqmay).
It's been around since pre-DCSS times so I don't know the reason for it existing, but if it's that rElec is rarer than other resistances, that doesn't really seem to be the case.
Diffstat (limited to 'crawl-ref/source/melee_attack.cc')
-rw-r--r--crawl-ref/source/melee_attack.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/melee_attack.cc b/crawl-ref/source/melee_attack.cc
index 7a2c868417..32e9b4039f 100644
--- a/crawl-ref/source/melee_attack.cc
+++ b/crawl-ref/source/melee_attack.cc
@@ -2267,9 +2267,6 @@ void melee_attack::apply_staff_damage()
switch (weapon->sub_type)
{
case STAFF_AIR:
- if (damage_done + attacker->skill_rdiv(SK_AIR_MAGIC) <= random2(20))
- break;
-
special_damage =
resist_adjust_damage(defender,
BEAM_ELECTRICITY,