Skip to content

Commit

Permalink
Icecrown: Spell 60987 Scripted
Browse files Browse the repository at this point in the history
  • Loading branch information
Grz3s committed Dec 12, 2024
1 parent 6260107 commit 366be70
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions sql/scriptdev2/spell.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
10 changes: 10 additions & 0 deletions src/game/AI/ScriptDevAI/scripts/northrend/icecrown.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -1402,4 +1411,5 @@ void AddSC_icecrown()
RegisterSpellScript<RefurbishedDemolisher>("spell_refurbished_demolisher");
RegisterSpellScript<ControlEidolonWatcher>("spell_control_eidolon_watcher");
RegisterSpellScript<IronChain>("spell_iron_chain");
RegisterSpellScript<SummonOminousCloud>("spell_summon_ominous_cloud");
}

0 comments on commit 366be70

Please sign in to comment.