diff options
author | Tuxity <kevin.darcel@gmail.com> | 2012-12-26 18:30:37 +0100 |
---|---|---|
committer | Tuxity <kevin.darcel@gmail.com> | 2012-12-26 18:30:37 +0100 |
commit | e873a22a379547c52c0e759ed333f134062164b9 (patch) | |
tree | 35c7430a99478b550e18b513823137bb64f62e52 /src | |
parent | 0622cf8b64b9b77e583ae99baf42c01237ca7fb5 (diff) |
Core: fix build and typo after 0622cf8b64b9b77e583ae99baf42c01237ca7fb5
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Spells/spell_mage.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/server/scripts/Spells/spell_mage.cpp b/src/server/scripts/Spells/spell_mage.cpp index 354cbcbd4d6..2e6729e591f 100644 --- a/src/server/scripts/Spells/spell_mage.cpp +++ b/src/server/scripts/Spells/spell_mage.cpp @@ -469,20 +469,20 @@ class spell_mage_blizzard : public SpellScriptLoader public: spell_mage_blizzard() : SpellScriptLoader("spell_mage_blizzard") { } - bool Validate(SpellInfo const* /*spellEntry*/) - { - if (!sSpellMgr->GetSpellInfo(SPELL_MAGE_CHILLED_R1)) - return false; - if (!sSpellMgr->GetSpellInfo(SPELL_MAGE_CHILLED_R2)) - return false; - return true; - } - class spell_mage_blizzard_SpellScript : public SpellScript { PrepareSpellScript(spell_mage_blizzard_SpellScript); - void AddChillEffect() + bool Validate(SpellInfo const* /*spellEntry*/) + { + if (!sSpellMgr->GetSpellInfo(SPELL_MAGE_CHILLED_R1)) + return false; + if (!sSpellMgr->GetSpellInfo(SPELL_MAGE_CHILLED_R2)) + return false; + return true; + } + + void AddChillEffect(SpellEffIndex /*effIndex*/) { Unit* caster = GetCaster(); if (Unit* unitTarget = GetHitUnit()) @@ -517,7 +517,7 @@ class spell_mage_frostbolt : public SpellScriptLoader { PrepareSpellScript(spell_mage_frostbolt_SpellScript); - void RecalculateDamage() + void RecalculateDamage(SpellEffIndex /*effIndex*/) { if (GetHitUnit() && GetHitUnit()->HasAuraState(AURA_STATE_FROZEN, GetSpellInfo(), GetCaster())) { |