From c9fda02ca95819b56b730617ecc71c7584bfdcd0 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Wed, 26 Sep 2007 13:50:10 +0000 Subject: Dropped bolt of inaccuracy accuracy. It's probably still be too accurate, given the nerf to monster EV vs beams. Bumped inaccuracy to level 3. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2215 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/beam.cc | 5 ++++- crawl-ref/source/spl-data.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'crawl-ref') diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 981818dd36..7860dab4c8 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -937,7 +937,7 @@ static void zappy( zap_type z_type, int power, bolt &pbolt ) pbolt.colour = YELLOW; pbolt.range = 7 + random2(10); pbolt.damage = calc_dice( 12, 40 + (power * 3) / 2 ); - pbolt.hit = 2; // hit: 2 (very hard) + pbolt.hit = 1; pbolt.type = SYM_ZAP; pbolt.flavour = BEAM_ENERGY; // unresisted @@ -3010,6 +3010,9 @@ static bool fuzz_invis_tracer(bolt &beem) // 4.0. bool test_beam_hit(int attack, int defence) { +#ifdef DEBUG_DIAGNOSTICS + mprf(MSGCH_DIAGNOSTICS, "Beam attack: %d, defence: %d", attack, defence); +#endif return (attack == AUTOMATIC_HIT || random2(attack) >= random2avg(defence, 2)); } diff --git a/crawl-ref/source/spl-data.h b/crawl-ref/source/spl-data.h index 101152e0fe..812ba85aae 100644 --- a/crawl-ref/source/spl-data.h +++ b/crawl-ref/source/spl-data.h @@ -685,7 +685,7 @@ SPELL_BOLT_OF_INACCURACY, "Bolt of Inaccuracy", SPTYP_CONJURATION, SPFLAG_DIR_OR_TARGET, - 2, + 3, 1000, NULL, true -- cgit v1.2.3-54-g00ecf