diff options
author | offl <11556157+offl@users.noreply.github.com> | 2022-01-22 19:02:39 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-03-25 23:25:17 +0100 |
commit | e0fea940b33554ad867dfdb8aa6fabf1c247271f (patch) | |
tree | 33b7b938c2410bde307518552d8086396b341a6d /src | |
parent | a6f8dc30521d3ee96d7b53d6c443f1c79335fc3d (diff) |
Scripts/Quest: Update 'The Light's Mercy' (#27633)
(cherry picked from commit 7964636ea5d78ada4bb8db3e01e1bad19ca64257)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Northrend/zone_icecrown.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/server/scripts/Northrend/zone_icecrown.cpp b/src/server/scripts/Northrend/zone_icecrown.cpp index 7471bfa3fe1..1046bbd7ea7 100644 --- a/src/server/scripts/Northrend/zone_icecrown.cpp +++ b/src/server/scripts/Northrend/zone_icecrown.cpp @@ -780,6 +780,10 @@ class npc_frostbrood_skytalon : public CreatureScript } }; +/*###### +## Quest 12887, 12892: It's All Fun and Games +######*/ + // 55288 - It's All Fun and Games: The Ocular On Death class spell_the_ocular_on_death : public SpellScript { @@ -802,6 +806,27 @@ class spell_the_ocular_on_death : public SpellScript } }; +/*###### +## Quest 14077, 14144: The Light's Mercy +######*/ + +// 66411 - Summon Tualiq Proxy +class spell_summon_tualiq_proxy : public SpellScript +{ + PrepareSpellScript(spell_summon_tualiq_proxy); + + void SetDest(SpellDestination& dest) + { + Position const offset = { 0.0f, 0.0f, 30.0f, 0.0f }; + dest.RelocateOffset(offset); + } + + void Register() override + { + OnDestinationTargetSelect += SpellDestinationTargetSelectFn(spell_summon_tualiq_proxy::SetDest, EFFECT_0, TARGET_DEST_CASTER); + } +}; + void AddSC_icecrown() { new npc_argent_valiant; @@ -810,4 +835,5 @@ void AddSC_icecrown() new npc_blessed_banner(); new npc_frostbrood_skytalon(); RegisterSpellScript(spell_the_ocular_on_death); + RegisterSpellScript(spell_summon_tualiq_proxy); } |