Scripts/Misc: Add missing override
This commit is contained in:
1 parent
9dac2dbca9
commit
ed8b9fe1c4
4 files changed
+28
-28
No files matched your search
@@ -213,7 +213,7 @@ public:
|
||||
{
|
||||
PrepareSpellScript(spell_pri_dispel_magic_SpellScript);
|
||||
|
||||
bool Validate(SpellInfo const* /*spellInfo*/)
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
if (!sSpellMgr->GetSpellInfo(SPELL_PRIEST_ABSOLUTION))
|
||||
return false;
|
||||
@@ -249,14 +249,14 @@ public:
|
||||
GetCaster()->CastSpell(GetHitUnit(), SPELL_PRIEST_DISPEL_MAGIC_HOSTILE, true);
|
||||
}
|
||||
|
||||
void Register()
|
||||
void Register() override
|
||||
{
|
||||
OnCheckCast += SpellCheckCastFn(spell_pri_dispel_magic_SpellScript::CheckCast);
|
||||
OnEffectHitTarget += SpellEffectFn(spell_pri_dispel_magic_SpellScript::AfterEffectHit, EFFECT_0, SPELL_EFFECT_DUMMY);
|
||||
}
|
||||
};
|
||||
|
||||
SpellScript* GetSpellScript() const
|
||||
SpellScript* GetSpellScript() const override
|
||||
{
|
||||
return new spell_pri_dispel_magic_SpellScript();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user