mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 13:46:24 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user