mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
Scripts/Quest: Update 'The Light's Mercy' (#27633)
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "Player.h"
|
||||
#include "ScriptedCreature.h"
|
||||
#include "ScriptedGossip.h"
|
||||
#include "Spell.h"
|
||||
#include "SpellAuras.h"
|
||||
#include "SpellScript.h"
|
||||
#include "TemporarySummon.h"
|
||||
@@ -781,6 +782,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
|
||||
{
|
||||
@@ -803,6 +808,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;
|
||||
@@ -811,4 +837,5 @@ void AddSC_icecrown()
|
||||
new npc_blessed_banner();
|
||||
new npc_frostbrood_skytalon();
|
||||
RegisterSpellScript(spell_the_ocular_on_death);
|
||||
RegisterSpellScript(spell_summon_tualiq_proxy);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user