diff options
author | Killyana <morphone1@gmail.com> | 2019-12-19 21:46:16 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-19 13:04:08 +0100 |
commit | a8cbaa33aca32d267190836aec9a55cf2690d7bb (patch) | |
tree | ee3a59f0eb8fb4f03326eef6cdb04900158a3669 | |
parent | 7d1038e097b3529cd2a0330fa475574115827711 (diff) |
Spell: Move Shadow Trap aura to the cpp
(cherry picked from commit 462b63957aa821b388a88a741c9eb9bb59491b4a)
-rw-r--r-- | sql/updates/world/master/2021_12_19_08_world_2019_12_19_03_world.sql | 2 | ||||
-rw-r--r-- | src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_12_19_08_world_2019_12_19_03_world.sql b/sql/updates/world/master/2021_12_19_08_world_2019_12_19_03_world.sql new file mode 100644 index 00000000000..5977bfe86ff --- /dev/null +++ b/sql/updates/world/master/2021_12_19_08_world_2019_12_19_03_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `creature_template_addon` SET `auras`="" WHERE `entry` IN (39137); 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)) |