mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(scripts/Thaddius): Update initial unit_state (#7886)
This commit is contained in:
@@ -140,7 +140,7 @@ public:
|
||||
events.Reset();
|
||||
summons.DespawnAll();
|
||||
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
|
||||
me->SetControlled(false, UNIT_STATE_ROOT);
|
||||
me->SetControlled(true, UNIT_STATE_ROOT);
|
||||
summonTimer = 0;
|
||||
reviveTimer = 0;
|
||||
resetTimer = 1;
|
||||
@@ -337,7 +337,6 @@ public:
|
||||
break;
|
||||
case EVENT_ALLOW_BALL_LIGHTNING:
|
||||
ballLightningEnabled = true;
|
||||
me->SetControlled(true, UNIT_STATE_ROOT);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user