Core/Auras: Implement SPELL_AURA_MOD_ENVIRONMENTAL_DAMAGE_TAKEN
Port From (https://github.com/TrinityCore/TrinityCore/commit/f12f3a972ff12168f07cee655077cc819b6dcaa2)
This commit is contained in:
@@ -3995,6 +3995,8 @@ namespace Game.Entities
|
||||
if (IsImmuneToEnvironmentalDamage())
|
||||
return 0;
|
||||
|
||||
damage = (uint)(damage * GetTotalAuraMultiplier(AuraType.ModEnvironmentalDamageTaken));
|
||||
|
||||
// Absorb, resist some environmental damage type
|
||||
uint absorb = 0;
|
||||
uint resist = 0;
|
||||
|
||||
Reference in New Issue
Block a user