summaryrefslogtreecommitdiff
path: root/src/scripts
diff options
context:
space:
mode:
authorlee1991 <littlelee_1991@live.co.uk>2017-01-28 18:30:51 +0000
committerlee1991 <littlelee_1991@live.co.uk>2017-01-28 18:30:51 +0000
commitc60dc9d3a34787d031fc0f705958fa2afc5dc69b (patch)
tree7eaa2648fc02c41944380e464cb5c980bd6b51ea /src/scripts
parentad0d548c227989c6cebb31036950f3b1d0c8c27e (diff)
Noth the Plaguebringer update, he will now stay on the balcony instead of floating back down to the center
Diffstat (limited to 'src/scripts')
-rw-r--r--src/scripts/Northrend/Naxxramas/boss_noth.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/scripts/Northrend/Naxxramas/boss_noth.cpp b/src/scripts/Northrend/Naxxramas/boss_noth.cpp
index 23afbdfd87..fa60e33288 100644
--- a/src/scripts/Northrend/Naxxramas/boss_noth.cpp
+++ b/src/scripts/Northrend/Naxxramas/boss_noth.cpp
@@ -81,7 +81,7 @@ public:
void StartGroundPhase()
{
me->SetReactState(REACT_AGGRESSIVE);
- me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
+ me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_DISABLE_MOVE);
me->SetControlled(false, UNIT_STATE_ROOT);
events.Reset();
@@ -96,8 +96,9 @@ public:
{
me->SetReactState(REACT_PASSIVE);
me->AttackStop();
- me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
-
+ me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE |UNIT_FLAG_DISABLE_MOVE);
+ me->SetControlled(true, UNIT_STATE_ROOT);
+
events.Reset();
events.ScheduleEvent(EVENT_BALCONY_SUMMON_ANNOUNCE, 4000);
events.ScheduleEvent(EVENT_MOVE_TO_GROUND, 70000);