diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-09-25 20:48:57 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-09-25 20:48:57 +0000 |
commit | c8619c93241cae274335d877f3bce7965639da2b (patch) | |
tree | 2ca894c9776f8a4d30f5e565019b9c2b0bf488a2 /crawl-ref/source | |
parent | c4373aa209b318a73d349b15d852446bfad150f9 (diff) | |
download | crawl-ref-c8619c93241cae274335d877f3bce7965639da2b.tar.gz crawl-ref-c8619c93241cae274335d877f3bce7965639da2b.zip |
Implemented 1565253, airstrike now deals more damage to flying enemies.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup@116 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/describe.cc | 3 | ||||
-rw-r--r-- | crawl-ref/source/spells3.cc | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 0bcafcf040..abf9a1407a 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -4161,7 +4161,8 @@ void describe_spell(int spelled) case SPELL_AIRSTRIKE: // jet planes in Crawl ??? {dlb} description += "causes the air around a creature to twist itself into " - "a whirling vortex of meteorological fury. "; + "a whirling vortex of meteorological fury. This spell " + "is especially effective against flying enemies."; break; case SPELL_SHADOW_CREATURES: 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; |