Open Undergarun opened 11 years ago
Blistering Zombie absorb too much damage when hp is near 0. I confirm there is such a thing.The code in a script that is in control void DamageTaken(Unit *pDealer, uint32 &uiDamage) { if (uiDamage > m_creature->GetHealth()) { uiDamage = 0; SetCombatMovement(false); if (!m_bHasDied) { if (DoCastSpellIfCan(m_creature, SPELL_ACID_BURST) == CAST_OK) { m_bHasDied = true; m_creature->ForcedDespawn(2000); } } } }
void UpdateAI(const uint32 uiDiff)
{
if (m_bHasDied)
return;
if (!m_creature->SelectHostileTarget() || !m_creature->getVictim())
return;
DoMeleeAttackIfReady();
}
}; As can be seen, it must cast SPELL_ACID_BURST)And then despawn, but it does not. He just absorbs damage and all.
1 - Do you sure must end at 100% hp ? 2 - fixed. 3 - WTF ?!
When Dreamwalker has 100% the encounter ends (just now confirmed by blizz players).