aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2019-12-19 21:46:16 +0100
committerShauren <shauren.trinity@gmail.com>2021-12-19 13:04:08 +0100
commita8cbaa33aca32d267190836aec9a55cf2690d7bb (patch)
treeee3a59f0eb8fb4f03326eef6cdb04900158a3669 /src
parent7d1038e097b3529cd2a0330fa475574115827711 (diff)
Spell: Move Shadow Trap aura to the cpp
(cherry picked from commit 462b63957aa821b388a88a741c9eb9bb59491b4a)
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp
index fc3fbdff08a..53e3e5b35e7 100644
--- a/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp
+++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp
@@ -91,6 +91,7 @@ enum Spells
SPELL_SHADOW_TRAP = 73539,
SPELL_SHADOW_TRAP_AURA = 73525,
SPELL_SHADOW_TRAP_KNOCKBACK = 73529,
+ SPELL_SHADOW_TRAP_VISUAL = 73530,
// Phase Transition
SPELL_REMORSELESS_WINTER_1 = 68981,
@@ -719,6 +720,9 @@ class boss_the_lich_king : public CreatureScript
summon->HandleEmoteCommand(EMOTE_ONESHOT_EMERGE);
summon->m_Events.AddEvent(new LichKingStartMovementEvent(me, summon), summon->m_Events.CalculateTime(5000));
break;
+ case NPC_SHADOW_TRAP:
+ summon->CastSpell(summon, SPELL_SHADOW_TRAP_VISUAL, true);
+ break;
case NPC_ICE_SPHERE:
{
if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 0.0f, true))