diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index e1646f14e..846a51cb4 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -3235,7 +3235,7 @@ void Spell::TakeRunePower() // you can gain some runic power when use runes float rp = src->runePowerGain;; rp *= sWorld.getRate(RATE_POWER_RUNICPOWER_INCOME); - plr->ModifyPower(POWER_RUNIC_POWER, (int32)rp) + plr->ModifyPower(POWER_RUNIC_POWER, (int32)rp); } void Spell::TakeReagents() diff --git a/src/game/Spell.h b/src/game/Spell.h index 7aaf0b87c..d14293cde 100644 --- a/src/game/Spell.h +++ b/src/game/Spell.h @@ -302,6 +302,7 @@ class Spell void EffectTriggerRitualOfSummoning(uint32 i); void EffectKillCredit(uint32 i); void EffectQuestFail(uint32 i); + void EffectActivateRune(uint32 i); Spell( Unit* Caster, SpellEntry const *info, bool triggered, uint64 originalCasterGUID = 0, Spell** triggeringContainer = NULL ); ~Spell(); diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index ed6c0e295..cf290bfe8 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -6297,7 +6297,7 @@ void Spell::EffectActivateRune(uint32 i) { if(plr->GetRuneCooldown(j) && plr->GetCurrentRune(j) == m_spellInfo->EffectMiscValue[i]) { - plr->SetRuneCooldown(j, 0)); + plr->SetRuneCooldown(j, 0); } } }