From 112ec9f60d5ba7c3118e8323ba2c12149b90567b Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Tue, 26 Nov 2024 13:20:04 -0600 Subject: [PATCH] Fix ashes appearing for icy rain --- src/game/boe.combat.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/boe.combat.cpp b/src/game/boe.combat.cpp index 314c0914..b8f51169 100644 --- a/src/game/boe.combat.cpp +++ b/src/game/boe.combat.cpp @@ -1250,10 +1250,10 @@ void do_combat_cast(location target) { r1 = min(12,1 + (level * 2) / 3 + bonus) + 2; if(r1 > 20) r1 = (r1 * 8) / 10; - if(spell_being_cast == eSpell::FIRESTORM) + if(spell_being_cast == eSpell::FIRESTORM){ place_spell_pattern(radius2,target,eDamageType::FIRE,r1,univ.cur_pc); - else place_spell_pattern(radius2,target,eDamageType::COLD,r1,univ.cur_pc); - ashes_loc = target; + ashes_loc = target; + }else place_spell_pattern(radius2,target,eDamageType::COLD,r1,univ.cur_pc); break; case eSpell::KILL: add_missile(target,9,1,0,0);