fix(Core/Raid): Archimonde's Unable to kill (#15128)

Fix(Core);[raid]Archimonde's BUG
This commit is contained in:
天鹿
2023-07-27 21:33:24 +08:00
committed by GitHub
parent dba57a6107
commit 90e23cbc66

View File

@@ -292,6 +292,7 @@ public:
{ {
instance->SetData(DATA_ARCHIMONDEEVENT, NOT_STARTED); instance->SetData(DATA_ARCHIMONDEEVENT, NOT_STARTED);
me->SetReactState(REACT_AGGRESSIVE);
DoomfireSpiritGUID.Clear(); DoomfireSpiritGUID.Clear();
WorldTreeGUID.Clear(); WorldTreeGUID.Clear();
WispCount = 0; WispCount = 0;
@@ -618,6 +619,7 @@ public:
break; break;
} }
case EVENT_BELOW_10_PERCENT_HP: case EVENT_BELOW_10_PERCENT_HP:
me->SetReactState(REACT_PASSIVE);
DoCastProtection(); // Protection of Elune against Finger and Hand of Death DoCastProtection(); // Protection of Elune against Finger and Hand of Death
BelowTenPercent = true; BelowTenPercent = true;
me->GetMotionMaster()->Clear(false); me->GetMotionMaster()->Clear(false);