diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp index d924533a873..abca9a42d45 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp @@ -1146,7 +1146,7 @@ public: { PrepareAuraScript(spell_jormungars_paralytic_toxin_AuraScript); - bool Validate(SpellInfo const* /*spell*/) + bool Validate(SpellInfo const* /*spell*/) override { if (!sSpellMgr->GetSpellInfo(SPELL_PARALYSIS)) return false; @@ -1190,7 +1190,7 @@ public: } } - void Register() + void Register() override { AfterEffectApply += AuraEffectApplyFn(spell_jormungars_paralytic_toxin_AuraScript::OnApply, EFFECT_0, SPELL_AURA_MOD_DECREASE_SPEED, AURA_EFFECT_HANDLE_REAL); AfterEffectRemove += AuraEffectRemoveFn(spell_jormungars_paralytic_toxin_AuraScript::OnRemove, EFFECT_0, SPELL_AURA_MOD_DECREASE_SPEED, AURA_EFFECT_HANDLE_REAL); @@ -1199,7 +1199,7 @@ public: } }; - AuraScript* GetAuraScript() const + AuraScript* GetAuraScript() const override { return new spell_jormungars_paralytic_toxin_AuraScript(); } @@ -1217,7 +1217,7 @@ public: public: spell_jormungars_snakes_spray_SpellScript(uint32 spellId) : SpellScript(), _spellId(spellId) { } - bool Validate(SpellInfo const* /*spell*/) + bool Validate(SpellInfo const* /*spell*/) override { if (!sSpellMgr->GetSpellInfo(_spellId)) return false; @@ -1230,7 +1230,7 @@ public: GetCaster()->CastSpell(target, _spellId, true); } - void Register() + void Register() override { OnEffectHitTarget += SpellEffectFn(spell_jormungars_snakes_spray_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCHOOL_DAMAGE); } @@ -1239,7 +1239,7 @@ public: uint32 _spellId; }; - SpellScript* GetSpellScript() const + SpellScript* GetSpellScript() const override { return new spell_jormungars_snakes_spray_SpellScript(_spellId); } @@ -1267,13 +1267,13 @@ public: Remove(); } - void Register() + void Register() override { AfterEffectApply += AuraEffectApplyFn(spell_jormungars_paralysis_AuraScript::OnApply, EFFECT_0, SPELL_AURA_MOD_STUN, AURA_EFFECT_HANDLE_REAL); } }; - AuraScript* GetAuraScript() const + AuraScript* GetAuraScript() const override { return new spell_jormungars_paralysis_AuraScript(); } |