Prince Phase 3 fix

fixed a error for when prince was at 30% life he didnt go into phase 3.
This commit is contained in:
talamortis
2017-01-12 18:27:40 +00:00
committed by GitHub
parent b9e68be71c
commit 5125c6aee7

View File

@@ -397,21 +397,22 @@ public:
Phase2();
}
if (phase == 2)
if (phase == 2)
{
if (SunderArmorTimer <= diff)
{
DoCast(SPELL_SUNDER_ARMOR);
SunderArmorTimer = urand(5000, 10000);
}
else
SunderArmorTimer -= diff;
SunderArmorTimer = urand(5000, 10000);
}
else
SunderArmorTimer -= diff;
if (HealthBelowPct(30))
{
Phase3();
}
}
if (phase == 3)
{
if (AmplifyDamageTimer <= diff)