AQ40 Skeram Image FIX
In boss_skeram.cpp make this change;
void DoInitializeImage()
{
if (!m_pInstance)
{
return;
}
// Initialize the health of the clone
if (Creature* pProphet = m_pInstance->GetSingleCreatureFromStorage(NPC_SKERAM))
{
float fHealthPct = pProphet->GetHealthPercent();
float fMaxHealthPct = 0;
// The max health depends on the split phase. It's percent * original boss health
if (fHealthPct {
fMaxHealthPct = 0.50f;
}
else if (fHealthPct {
fMaxHealthPct = 0.20f;
}
else
{
fMaxHealthPct = 0.10f;
}
// Set the same health percent as the original boss
m_creature->SetMaxHealth(m_creature->GetMaxHealth()*fMaxHealthPct);
m_creature->SetHealthPercent(fHealthPct);
+m_creature->SetCorpseDelay(0); // }
}
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now