diff --git a/sql/scriptdev2/spell.sql b/sql/scriptdev2/spell.sql index 9c6a38101ad..7edb46c5489 100644 --- a/sql/scriptdev2/spell.sql +++ b/sql/scriptdev2/spell.sql @@ -927,10 +927,13 @@ INSERT INTO spell_scripts(Id, ScriptName) VALUES (59906,'spell_swift_hand_of_justice'), (59915,'spell_discerning_eye_of_the_beast'), (60211,'spell_cauterize'), +(60528,'spell_rod_of_siphoning'), (60539,'spell_sapphiron_achievement_check'), +(60561,'spell_summon_dark_messenger_beam'), (60772,'spell_increased_spell_damage_done_dummy'), (60775,'spell_increased_spell_damage_done_dummy'), (60779,'spell_increased_healing_done_dummy'), +(60831,'spell_alumeths_remains'), (60929,'spell_loatheb_prewarn'), (61071,'spell_vortex_aura'), (61072,'spell_vortex_aura'), diff --git a/src/game/AI/ScriptDevAI/scripts/northrend/icecrown.cpp b/src/game/AI/ScriptDevAI/scripts/northrend/icecrown.cpp index 3ee26cce596..d8ba997e9ad 100644 --- a/src/game/AI/ScriptDevAI/scripts/northrend/icecrown.cpp +++ b/src/game/AI/ScriptDevAI/scripts/northrend/icecrown.cpp @@ -1149,6 +1149,36 @@ struct DragAndDropSummonAldurtharSentry : public SpellScript } }; +// 60528 - Rod of Siphoning +struct RodOfSiphoning : public AuraScript +{ + void OnPeriodicTrigger(Aura* aura, PeriodicTriggerData& data) const override + { + data.caster = aura->GetCaster(); + data.target = nullptr; + } +}; + +// 60561 - Summon Dark Messenger Beam +struct SummonDarkMessengerBeam : public AuraScript +{ + void OnPeriodicTrigger(Aura* aura, PeriodicTriggerData& data) const override + { + data.caster = aura->GetCaster(); + data.target = nullptr; + } +}; + +// 60831 - Alumeth's Remains +struct AlumethsRemains : public AuraScript +{ + void OnPeriodicTrigger(Aura* aura, PeriodicTriggerData& data) const override + { + data.caster = aura->GetCaster(); + data.target = nullptr; + } +}; + void AddSC_icecrown() { Script* pNewScript = new Script; @@ -1193,4 +1223,7 @@ void AddSC_icecrown() RegisterSpellScript("spell_ride_vehicle_57346"); RegisterSpellScript("spell_summon_frost_wyrm"); RegisterSpellScript("spell_drag_and_drop_summon_aldurthar_sentry"); + RegisterSpellScript("spell_rod_of_siphoning"); + RegisterSpellScript("spell_summon_dark_messenger_beam"); + RegisterSpellScript("spell_alumeths_remains"); }