Scripted: Add some missing override

This commit is contained in:
Vincent-Michael committed 2013-07-15 15:14:01 +02:00
1 parent 9e9bdd77c5
commit de193fc80d
47 files changed
+366 -366

No files matched your search

+3 -3
View File
@@ -67,7 +67,7 @@ class spell_dru_eclipse_energize : public SpellScriptLoader
int32 energizeAmount;
bool Load()
bool Load() OVERRIDE
{
if (GetCaster()->GetTypeId() != TYPEID_PLAYER)
return false;
@@ -153,13 +153,13 @@ class spell_dru_eclipse_energize : public SpellScriptLoader
}
}
void Register()
void Register() OVERRIDE
{
OnEffectHitTarget += SpellEffectFn(spell_dru_eclipse_energize_SpellScript::HandleEnergize, EFFECT_1, SPELL_EFFECT_DUMMY);
}
};
SpellScript* GetSpellScript() const
SpellScript* GetSpellScript() const OVERRIDE
{
return new spell_dru_eclipse_energize_SpellScript;
}