diff options
| -rw-r--r-- | sql/updates/world/3.3.5/9999_99_99_99_world.sql | 2 | ||||
| -rw-r--r-- | src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sql/updates/world/3.3.5/9999_99_99_99_world.sql b/sql/updates/world/3.3.5/9999_99_99_99_world.sql index 54fda52764c..b192efa6814 100644 --- a/sql/updates/world/3.3.5/9999_99_99_99_world.sql +++ b/sql/updates/world/3.3.5/9999_99_99_99_world.sql @@ -16,5 +16,5 @@ INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES -- Acidmaw missing text DELETE FROM `creature_text` where entry = 35144 AND groupid = 1; -INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES (35144,1,0,'You have been infected with a Paralytic Toxin!',42,0,100,0,0,0,36323,0,'Acidmaw - Special Attack'); 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(); } |
