refactor(Core/Misc): port gossip validation, StringFormat APIs, and spell attribute naming from TC (#24789)
Co-authored-by: Rochet2 <tqbattlenet@gmail.com> Co-authored-by: Shauren <shauren.trinity@gmail.com> Co-authored-by: tobmaps <spambot42@yandex.ru>
This commit is contained in:
parent
47e6aed9a7
commit
6ffe41dd59
8 changed files with 67 additions and 10 deletions
|
|
@ -978,7 +978,7 @@ uint32 Unit::DealDamage(Unit* attacker, Unit* victim, uint32 damage, CleanDamage
|
|||
if (attacker && damagetype != DOT && spellProto->DmgClass == SPELL_DAMAGE_CLASS_MELEE && !(spellProto->GetSchoolMask() & SPELL_SCHOOL_MASK_HOLY))
|
||||
attacker->DealDamageShieldDamage(victim);
|
||||
|
||||
if (!spellProto->HasAttribute(SPELL_ATTR4_REACTIVE_DAMAGE_PROC))
|
||||
if (!spellProto->HasAttribute(SPELL_ATTR4_DAMAGE_DOESNT_BREAK_AURAS))
|
||||
victim->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_TAKE_DAMAGE, spellProto->Id);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue