aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Spell.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index a6f47e63a3c..a0621b06f3f 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -4114,14 +4114,14 @@ SpellCastResult Spell::CheckRuneCost(uint32 runeCostID)
if(src->NoRuneCost())
return SPELL_CAST_OK;
- // Freezing Fog makes Howling Blast cost no runes
- if (m_caster->HasAura(59052) && m_spellInfo->SpellFamilyFlags[1] & 0x2)
- return SPELL_CAST_OK;
-
int32 runeCost[NUM_RUNE_TYPES]; // blood, frost, unholy, death
for (uint32 i = 0; i < RUNE_DEATH; ++i)
+ {
runeCost[i] = src->RuneCost[i];
+ if(Player* modOwner = m_caster->GetSpellModOwner())
+ modOwner->ApplySpellMod(m_spellInfo->Id, SPELLMOD_COST, runeCost[i], this);
+ }
runeCost[RUNE_DEATH] = MAX_RUNES; // calculated later