aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeader <keader.android@gmail.com>2017-01-21 11:03:26 -0300
committerShauren <shauren.trinity@gmail.com>2019-06-15 18:41:09 +0200
commit6e3ce8cf8b51427ecf61ee45099abab12330269b (patch)
tree0428227cc94586709e70bd8ab82bcc86b4665561 /src
parent7c760ad992e042b95d92b391099f1563ebf7514f (diff)
Core/Scripts: Fixed Crok event not starting
[*] Fixed Svalna entering in combat with people ouside of room Closes #8186 (cherrypicked from 591a25500d98a17eaf70215329080ca2f41783ed)
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp
index b86138d2e62..d2f311b9082 100644
--- a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp
+++ b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp
@@ -135,6 +135,7 @@ enum ICCSpells
SPELL_IMPALING_SPEAR = 71443,
SPELL_AETHER_SHIELD = 71463,
SPELL_HURL_SPEAR = 71466,
+ SPELL_DIVINE_SURGE = 71465,
// Captain Arnath
SPELL_DOMINATE_MIND = 14515,
@@ -781,6 +782,7 @@ class boss_sister_svalna : public CreatureScript
_EnterCombat();
if (Creature* crok = ObjectAccessor::GetCreature(*me, instance->GetGuidData(DATA_CROK_SCOURGEBANE)))
crok->AI()->Talk(SAY_CROK_COMBAT_SVALNA);
+ DoCastSelf(SPELL_DIVINE_SURGE, true);
events.ScheduleEvent(EVENT_SVALNA_COMBAT, 9000);
events.ScheduleEvent(EVENT_IMPALING_SPEAR, urand(40000, 50000));
events.ScheduleEvent(EVENT_AETHER_SHIELD, urand(100000, 110000));
@@ -1034,6 +1036,7 @@ class npc_crok_scourgebane : public CreatureScript
{
// pause pathing until trash pack is cleared
case 0:
+ me->RemoveUnitFlag(UNIT_FLAG_IMMUNE_TO_NPC);
Talk(SAY_CROK_COMBAT_WP_0);
if (!_aliveTrash.empty())
SetEscortPaused(true);