From: Stefan O'R. <so...@us...> - 2009-12-31 12:20:55
|
via 46a63f79124f15b3f25700303cade8d25d00f039 (commit) from f3a3978b980b4c634bc31344fb3477242ec3cd8f (commit) ----------------------------------------------------------------------- commit 46a63f79124f15b3f25700303cade8d25d00f039 Author: Stefan O'Rear <ste...@co...> Date: Thu Dec 31 04:18:48 2009 -0800 Nerf monster airstrike damage variance (bookofjude) ----------------------------------------------------------------------- Summary of changes: crawl-ref/source/effects.cc | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index a4a7651..802653a 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -898,9 +898,7 @@ void direct_effect(monsters *source, spell_type spell, pbolt.flavour = BEAM_MISSILE; pbolt.aux_source = "by the air"; - damage_taken = 8 + random2(random2(4) - + (random2(12 * source->hit_dice) / 6) - + (random2(12 * source->hit_dice) / 7)); + damage_taken = 10 + 2 * source->hit_dice; // Apply "bonus" against flying/levitating characters after AC // has been checked. @@ -911,7 +909,8 @@ void direct_effect(monsters *source, spell_type spell, } // Previous method of damage calculation (in line with player - // airstrike) favoured high-AC player characters. + // airstrike) had absurd variance. + damage_taken = random2avg(damage_taken, 3); damage_taken -= random2(defender->armour_class()); break; -- Dungeon Crawl Stone Soup |