mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
fix(Scripts/ICC/Sindragosa) Airphase should not be forced after 50s if already in p2 (under 35%) (#17722)
* Update boss_sindragosa.cpp * Update boss_sindragosa.cpp
This commit is contained in:
@@ -279,7 +279,6 @@ public:
|
||||
|
||||
void Reset() override
|
||||
{
|
||||
_didFirstFlyPhase = false;
|
||||
_isBelow20Pct = false;
|
||||
_isThirdPhase = false;
|
||||
_isLanding = false;
|
||||
@@ -322,7 +321,6 @@ public:
|
||||
return;
|
||||
}
|
||||
|
||||
_didFirstFlyPhase = false;
|
||||
_isBelow20Pct = false;
|
||||
_isThirdPhase = false;
|
||||
_bombCount = 0;
|
||||
@@ -451,9 +449,6 @@ public:
|
||||
if (!damage || me->IsInEvadeMode())
|
||||
return;
|
||||
|
||||
if (!_didFirstFlyPhase)
|
||||
return;
|
||||
|
||||
if (!_isThirdPhase)
|
||||
{
|
||||
if (!HealthAbovePct(35))
|
||||
@@ -575,7 +570,6 @@ public:
|
||||
}
|
||||
|
||||
_isInAirPhase = true;
|
||||
_didFirstFlyPhase = true;
|
||||
Talk(SAY_AIR_PHASE);
|
||||
me->SetReactState(REACT_PASSIVE);
|
||||
me->SetSpeed(MOVE_RUN, 4.28571f);
|
||||
@@ -671,7 +665,6 @@ public:
|
||||
private:
|
||||
uint8 _bombCount;
|
||||
uint8 _mysticBuffetStack;
|
||||
bool _didFirstFlyPhase;
|
||||
bool _isBelow20Pct;
|
||||
bool _isThirdPhase;
|
||||
bool _isInAirPhase;
|
||||
|
||||
Reference in New Issue
Block a user