aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/master/2021_12_19_09_world_2019_12_19_04_world.sql2
-rw-r--r--src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp9
2 files changed, 8 insertions, 3 deletions
diff --git a/sql/updates/world/master/2021_12_19_09_world_2019_12_19_04_world.sql b/sql/updates/world/master/2021_12_19_09_world_2019_12_19_04_world.sql
new file mode 100644
index 00000000000..6fa630eed21
--- /dev/null
+++ b/sql/updates/world/master/2021_12_19_09_world_2019_12_19_04_world.sql
@@ -0,0 +1,2 @@
+--
+UPDATE `creature_template_addon` SET `auras`="" WHERE `entry` IN (27101,27079);
diff --git a/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp b/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp
index c22c998a11c..9033a569699 100644
--- a/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp
+++ b/src/server/scripts/Northrend/Nexus/Nexus/boss_ormorok.cpp
@@ -183,6 +183,7 @@ enum CrystalSpikes
MAX_COUNT = 5,
SPELL_CRYSTAL_SPIKE_DAMAGE = 47944,
+ SPELL_CRYSTAL_SPIKE_AURA = 47941,
GO_CRYSTAL_SPIKE_TRAP = 188537,
};
@@ -212,10 +213,12 @@ public:
switch (me->GetEntry())
{
case NPC_CRYSTAL_SPIKE_INITIAL:
- _count = 0;
- me->SetFacingToObject(owner);
- break;
+ _count = 0;
+ me->SetFacingToObject(owner);
+ me->CastSpell(me, SPELL_CRYSTAL_SPIKE_AURA, true);
+ break;
case NPC_CRYSTAL_SPIKE_TRIGGER:
+ me->CastSpell(me, SPELL_CRYSTAL_SPIKE_AURA, true);
if (Creature* trigger = owner->ToCreature())
_count = trigger->AI()->GetData(DATA_COUNT) + 1;
break;