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
@@ -466,7 +466,7 @@ class spell_rog_master_of_subtlety : public SpellScriptLoader
|
||||
{
|
||||
PrepareAuraScript(spell_rog_master_of_subtlety_AuraScript);
|
||||
|
||||
bool Validate(SpellInfo const* /*spellInfo*/)
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
if (!sSpellMgr->GetSpellInfo(SPELL_ROGUE_MASTER_OF_SUBTLETY_DAMAGE_PERCENT))
|
||||
return false;
|
||||
@@ -481,13 +481,13 @@ class spell_rog_master_of_subtlety : public SpellScriptLoader
|
||||
target->RemoveAurasDueToSpell(SPELL_ROGUE_MASTER_OF_SUBTLETY_DAMAGE_PERCENT);
|
||||
}
|
||||
|
||||
void Register()
|
||||
void Register() override
|
||||
{
|
||||
OnEffectPeriodic += AuraEffectPeriodicFn(spell_rog_master_of_subtlety_AuraScript::HandleEffectPeriodic, EFFECT_0, SPELL_AURA_PERIODIC_DUMMY);
|
||||
}
|
||||
};
|
||||
|
||||
AuraScript* GetAuraScript() const
|
||||
AuraScript* GetAuraScript() const override
|
||||
{
|
||||
return new spell_rog_master_of_subtlety_AuraScript();
|
||||
}
|
||||
@@ -554,7 +554,7 @@ class spell_rog_overkill : public SpellScriptLoader
|
||||
{
|
||||
PrepareAuraScript(spell_rog_overkill_AuraScript);
|
||||
|
||||
bool Validate(SpellInfo const* /*spellInfo*/)
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
if (!sSpellMgr->GetSpellInfo(SPELL_ROGUE_OVERKILL_POWER_REGEN))
|
||||
return false;
|
||||
@@ -569,13 +569,13 @@ class spell_rog_overkill : public SpellScriptLoader
|
||||
target->RemoveAurasDueToSpell(SPELL_ROGUE_OVERKILL_POWER_REGEN);
|
||||
}
|
||||
|
||||
void Register()
|
||||
void Register() override
|
||||
{
|
||||
OnEffectPeriodic += AuraEffectPeriodicFn(spell_rog_overkill_AuraScript::HandleEffectPeriodic, EFFECT_0, SPELL_AURA_PERIODIC_DUMMY);
|
||||
}
|
||||
};
|
||||
|
||||
AuraScript* GetAuraScript() const
|
||||
AuraScript* GetAuraScript() const override
|
||||
{
|
||||
return new spell_rog_overkill_AuraScript();
|
||||
}
|
||||
@@ -829,7 +829,7 @@ class spell_rog_stealth : public SpellScriptLoader
|
||||
{
|
||||
PrepareAuraScript(spell_rog_stealth_AuraScript);
|
||||
|
||||
bool Validate(SpellInfo const* /*spellInfo*/)
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) override
|
||||
{
|
||||
if (!sSpellMgr->GetSpellInfo(SPELL_ROGUE_MASTER_OF_SUBTLETY_PASSIVE) ||
|
||||
!sSpellMgr->GetSpellInfo(SPELL_ROGUE_MASTER_OF_SUBTLETY_DAMAGE_PERCENT) ||
|
||||
@@ -870,14 +870,14 @@ class spell_rog_stealth : public SpellScriptLoader
|
||||
target->CastSpell(target, SPELL_ROGUE_OVERKILL_PERIODIC, true);
|
||||
}
|
||||
|
||||
void Register()
|
||||
void Register() override
|
||||
{
|
||||
AfterEffectApply += AuraEffectApplyFn(spell_rog_stealth_AuraScript::HandleEffectApply, EFFECT_0, SPELL_AURA_MOD_SHAPESHIFT, AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK);
|
||||
AfterEffectRemove += AuraEffectRemoveFn(spell_rog_stealth_AuraScript::HandleEffectRemove, EFFECT_0, SPELL_AURA_MOD_SHAPESHIFT, AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK);
|
||||
}
|
||||
};
|
||||
|
||||
AuraScript* GetAuraScript() const
|
||||
AuraScript* GetAuraScript() const override
|
||||
{
|
||||
return new spell_rog_stealth_AuraScript();
|
||||
}
|
||||
@@ -997,7 +997,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void Register()
|
||||
void Register() override
|
||||
{
|
||||
OnHit += SpellHitFn(spell_rog_serrated_blades_SpellScript::HandleHit);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user