diff options
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r-- | crawl-ref/source/abl-show.cc | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc index 4e4dd2ad03..ba15074f49 100644 --- a/crawl-ref/source/abl-show.cc +++ b/crawl-ref/source/abl-show.cc @@ -561,12 +561,17 @@ bool activate_ability(void) } case ABIL_DELAYED_FIREBALL: + { + if (spell_direction(spd, beam, DIR_NONE, TARG_ENEMY) == -1) + return (false); + // Note: power level of ball calculated at release -- bwr - fireball( calc_spell_power( SPELL_DELAYED_FIREBALL, true ) ); + fireball( calc_spell_power( SPELL_DELAYED_FIREBALL, true ), beam ); // only one allowed since this is instantaneous -- bwr you.attribute[ ATTR_DELAYED_FIREBALL ] = 0; break; + } case ABIL_GLAMOUR: if (you.duration[DUR_GLAMOUR]) @@ -784,7 +789,7 @@ bool activate_ability(void) case ABIL_HELLFIRE: if (your_spells(SPELL_HELLFIRE, - 20 + you.experience_level, false) == -1) + 20 + you.experience_level, false) == SPRET_ABORT) return (false); break; @@ -1252,7 +1257,7 @@ bool activate_ability(void) } if (your_spells( SPELL_HELLFIRE, - 20 + you.experience_level, false ) == -1) + 20 + you.experience_level, false ) == SPRET_ABORT) return (false); you.duration[DUR_BREATH_WEAPON] += |