Core/Spells: rename wrong spell attribute

*SPELL_ATTR0_BREAKABLE_BY_DAMAGE -> SPELL_ATTR0_HEARTBEAT_RESIST_CHECK
This commit is contained in:
Chaplain committed 2013-01-25 23:40:22 +03:00
1 parent dbb25deb5f
commit 1459de81e0
3 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -515,7 +515,7 @@ bool Unit::HasBreakableByDamageAuraType(AuraType type, uint32 excludeAura) const
AuraEffectList const& auras = GetAuraEffectsByType(type);
for (AuraEffectList::const_iterator itr = auras.begin(); itr != auras.end(); ++itr)
if ((!excludeAura || excludeAura != (*itr)->GetSpellInfo()->Id) && //Avoid self interrupt of channeled Crowd Control spells like Seduction
((*itr)->GetSpellInfo()->Attributes & SPELL_ATTR0_BREAKABLE_BY_DAMAGE || (*itr)->GetSpellInfo()->AuraInterruptFlags & AURA_INTERRUPT_FLAG_TAKE_DAMAGE))
((*itr)->GetSpellInfo()->AuraInterruptFlags & AURA_INTERRUPT_FLAG_TAKE_DAMAGE))
return true;
return false;
}