Skip to content

Commit

Permalink
fix(Scripts/ICC/Sindragosa) Airphase should not be forced after 50s i…
Browse files Browse the repository at this point in the history
…f already in p2 (under 35%) (#17722)

* Update boss_sindragosa.cpp

* Update boss_sindragosa.cpp
  • Loading branch information
qwe900 authored Nov 20, 2023
1 parent 57ea341 commit e8ccda1
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ class boss_sindragosa : public CreatureScript

void Reset() override
{
_didFirstFlyPhase = false;
_isBelow20Pct = false;
_isThirdPhase = false;
_isLanding = false;
Expand Down Expand Up @@ -322,7 +321,6 @@ class boss_sindragosa : public CreatureScript
return;
}

_didFirstFlyPhase = false;
_isBelow20Pct = false;
_isThirdPhase = false;
_bombCount = 0;
Expand Down Expand Up @@ -451,9 +449,6 @@ class boss_sindragosa : public CreatureScript
if (!damage || me->IsInEvadeMode())
return;

if (!_didFirstFlyPhase)
return;

if (!_isThirdPhase)
{
if (!HealthAbovePct(35))
Expand Down Expand Up @@ -575,7 +570,6 @@ class boss_sindragosa : public CreatureScript
}

_isInAirPhase = true;
_didFirstFlyPhase = true;
Talk(SAY_AIR_PHASE);
me->SetReactState(REACT_PASSIVE);
me->SetSpeed(MOVE_RUN, 4.28571f);
Expand Down Expand Up @@ -671,7 +665,6 @@ class boss_sindragosa : public CreatureScript
private:
uint8 _bombCount;
uint8 _mysticBuffetStack;
bool _didFirstFlyPhase;
bool _isBelow20Pct;
bool _isThirdPhase;
bool _isInAirPhase;
Expand Down

0 comments on commit e8ccda1

Please sign in to comment.