mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 19:05:42 +00:00
fix(Core/Spells): Divine Shield should prevent from environmental damage (#7071)
- Closes #5804
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user