summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index a38fa615e8..d222adb2cd 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -251,6 +251,10 @@ bool airstrike(int power)
hurted = random2( random2(12) + (random2(power) / 6)
+ (random2(power) / 7) );
hurted -= random2(1 + monster->armour_class);
+ if ( mons_flies(monster) ) {
+ hurted *= 3;
+ hurted /= 2;
+ }
if (hurted < 0)
hurted = 0;