diff options
author | thenecromancer <none@none> | 2010-01-23 16:19:23 +0100 |
---|---|---|
committer | thenecromancer <none@none> | 2010-01-23 16:19:23 +0100 |
commit | 1f602fae4743e511b63244d9d26653f3c5dafefa (patch) | |
tree | a340aaa9f6c4a7aaebac24dcbb214ae97981e4b5 /src | |
parent | 9a236d18ff7fbbd5ab7c4f7ff1a5e9fff8801b93 (diff) |
Apply SPELLMOD_COST in takeRunePower() ( replacement for removed hack in previous commit )
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Spell.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index b7dee9c71a2..362c9c7bf21 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -4184,6 +4184,8 @@ void Spell::TakeRunePower() 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] = 0; // calculated later |