AURA_STATE_HEALTHLESS_20_PERCENT apply only on alive targets
This commit is contained in:
parent
4185e88803
commit
3ffded2406
@ -357,7 +357,10 @@ void Unit::Update(uint32 update_diff, uint32 p_time)
|
||||
// update abilities available only for fraction of time
|
||||
UpdateReactives(update_diff);
|
||||
|
||||
if (IsAlive())
|
||||
{
|
||||
ModifyAuraState(AURA_STATE_HEALTHLESS_20_PERCENT, GetHealth() < GetMaxHealth() * 0.20f);
|
||||
}
|
||||
UpdateSplineMovement(p_time);
|
||||
i_motionMaster.UpdateMotion(p_time);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user