From 1f9e38751c81744f2e8d4ffb1aea7f3870ba9d5b Mon Sep 17 00:00:00 2001 From: haranp Date: Thu, 25 Sep 2008 17:13:23 +0000 Subject: Ranges redone. bolt no longer has a rangeMax, just a range. Almost all ranges are now capped by LOS. There are still some things missing, most noticeably randomizing ranges for the range-1-to-2 spells (e.g. Flame Tongue.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6984 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/abl-show.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/abl-show.cc') diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc index 700c8bc781..ae9e4b55d5 100644 --- a/crawl-ref/source/abl-show.cc +++ b/crawl-ref/source/abl-show.cc @@ -1078,14 +1078,14 @@ static bool _do_ability(const ability_def& abil) } case ABIL_DELAYED_FIREBALL: - if ( !spell_direction(spd, beam, DIR_NONE, TARG_ENEMY) ) + if (!spell_direction(spd, beam, DIR_NONE, TARG_ENEMY)) return (false); // Note: power level of ball calculated at release -- bwr - fireball( calc_spell_power( SPELL_DELAYED_FIREBALL, true ), beam ); + fireball(calc_spell_power( SPELL_DELAYED_FIREBALL, true ), beam); // only one allowed since this is instantaneous -- bwr - you.attribute[ ATTR_DELAYED_FIREBALL ] = 0; + you.attribute[ATTR_DELAYED_FIREBALL] = 0; break; case ABIL_SPIT_POISON: // Naga + spit poison mutation -- cgit v1.2.3-54-g00ecf