fix(Core/Spells): Divine Shield should prevent from environmental damage (#7071)
- Closes #5804
This commit is contained in:
parent
b344fd7f6a
commit
1f3a097761
1 changed files with 1 additions and 1 deletions
|
|
@ -760,7 +760,7 @@ void Player::StopMirrorTimer(MirrorTimerType Type)
|
|||
bool Player::IsImmuneToEnvironmentalDamage()
|
||||
{
|
||||
// check for GM and death state included in isAttackableByAOE
|
||||
return (!isTargetableForAttack(false, nullptr));
|
||||
return (!isTargetableForAttack(false, nullptr)) || isTotalImmune();
|
||||
}
|
||||
|
||||
uint32 Player::EnvironmentalDamage(EnviromentalDamage type, uint32 damage)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue