From 366be70542ba4d3d83373a5db277fa2c7d7f9dd2 Mon Sep 17 00:00:00 2001 From: Grz3s Date: Fri, 13 Dec 2024 00:43:44 +0100 Subject: [PATCH] Icecrown: Spell 60987 Scripted --- sql/scriptdev2/spell.sql | 1 + src/game/AI/ScriptDevAI/scripts/northrend/icecrown.cpp | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/sql/scriptdev2/spell.sql b/sql/scriptdev2/spell.sql index 0c86f4b299b..31545c934da 100644 --- a/sql/scriptdev2/spell.sql +++ b/sql/scriptdev2/spell.sql @@ -945,6 +945,7 @@ INSERT INTO spell_scripts(Id, ScriptName) VALUES (60779,'spell_increased_healing_done_dummy'), (60831,'spell_alumeths_remains'), (60929,'spell_loatheb_prewarn'), +(60987,'spell_summon_ominous_cloud'), (61071,'spell_vortex_aura'), (61072,'spell_vortex_aura'), (61073,'spell_vortex_aura'), diff --git a/src/game/AI/ScriptDevAI/scripts/northrend/icecrown.cpp b/src/game/AI/ScriptDevAI/scripts/northrend/icecrown.cpp index 9f43cc3c200..a72c4b223cb 100644 --- a/src/game/AI/ScriptDevAI/scripts/northrend/icecrown.cpp +++ b/src/game/AI/ScriptDevAI/scripts/northrend/icecrown.cpp @@ -1340,6 +1340,15 @@ struct IronChain : public SpellScript, public AuraScript } }; +// 60987 - Summon Ominous Cloud +struct SummonOminousCloud : public SpellScript +{ + void OnDestTarget(Spell* spell) const override + { + spell->m_targets.m_destPos.z += 5.f; + } +}; + void AddSC_icecrown() { Script* pNewScript = new Script; @@ -1402,4 +1411,5 @@ void AddSC_icecrown() RegisterSpellScript("spell_refurbished_demolisher"); RegisterSpellScript("spell_control_eidolon_watcher"); RegisterSpellScript("spell_iron_chain"); + RegisterSpellScript("spell_summon_ominous_cloud"); }