fix(Core/Spell): Divine Protection reduces fall damage (#4618)
This commit is contained in:
parent
57d9774957
commit
8dbdffab92
1 changed files with 6 additions and 0 deletions
|
|
@ -25718,6 +25718,12 @@ void Player::HandleFall(MovementInfo const& movementInfo)
|
|||
if (HasAura(43621))
|
||||
damage = GetMaxHealth() / 2;
|
||||
|
||||
// Divine Protection
|
||||
if (HasAura(498))
|
||||
{
|
||||
damage /= 2;
|
||||
}
|
||||
|
||||
final_damage = EnvironmentalDamage(DAMAGE_FALL, damage);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue