fix for last stand 1hp bug
This commit is contained in:
parent
79784aa877
commit
e4bbedc09f
@ -3496,7 +3496,7 @@ void Aura::HandleAuraModIncreaseHealth(bool apply, bool Real)
|
||||
{
|
||||
if (int32(target->GetHealth()) > m_modifier.m_amount)
|
||||
{ target->ModifyHealth(-m_modifier.m_amount); }
|
||||
else
|
||||
else if (int32(target->GetHealth()) > 0)
|
||||
{ target->SetHealth(1); }
|
||||
target->HandleStatModifier(UNIT_MOD_HEALTH, TOTAL_VALUE, float(m_modifier.m_amount), apply);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user