Revert "Scripts/Icecrown Citadel: Fixed Sindragosa first air phase entering condition (when reaching 85% health, not timed)"
This reverts commit c1fb71fefc.
This commit is contained in:
@@ -188,8 +188,8 @@ class boss_sindragosa : public CreatureScript
|
||||
events.ScheduleEvent(EVENT_FROST_BREATH, urand(8000, 12000), EVENT_GROUP_LAND_PHASE);
|
||||
events.ScheduleEvent(EVENT_UNCHAINED_MAGIC, urand(9000, 14000), EVENT_GROUP_LAND_PHASE);
|
||||
events.ScheduleEvent(EVENT_ICY_GRIP, 33500, EVENT_GROUP_LAND_PHASE);
|
||||
events.ScheduleEvent(EVENT_AIR_PHASE, 50000);
|
||||
_mysticBuffetStack = 0;
|
||||
_firstAirPhaseDone = false;
|
||||
_isThirdPhase = false;
|
||||
|
||||
if (instance->GetData(DATA_SINDRAGOSA_FROSTWYRMS) != 255)
|
||||
@@ -298,12 +298,7 @@ class boss_sindragosa : public CreatureScript
|
||||
|
||||
void DamageTaken(Unit* /*attacker*/, uint32& /*damage*/)
|
||||
{
|
||||
if (!_firstAirPhaseDone && !HealthAbovePct(85))
|
||||
{
|
||||
events.ScheduleEvent(EVENT_AIR_PHASE, 100);
|
||||
_firstAirPhaseDone = true;
|
||||
}
|
||||
else if (!_isThirdPhase && !HealthAbovePct(35))
|
||||
if (!_isThirdPhase && !HealthAbovePct(35))
|
||||
{
|
||||
Talk(SAY_PHASE_2);
|
||||
events.CancelEvent(EVENT_AIR_PHASE);
|
||||
@@ -474,7 +469,6 @@ class boss_sindragosa : public CreatureScript
|
||||
|
||||
private:
|
||||
uint8 _mysticBuffetStack;
|
||||
bool _firstAirPhaseDone;
|
||||
bool _isThirdPhase;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user