Added comments for better code readability.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
ApoC 2009-07-15 23:44:28 +02:00
parent f3fa9bf5e5
commit d98cff1e68

View file

@ -3670,6 +3670,7 @@ SpellCastResult Spell::CheckCast(bool strict)
// Special cases of non existing auras handling // Special cases of non existing auras handling
if(m_spellInfo->excludeCasterAuraSpell == 61988) if(m_spellInfo->excludeCasterAuraSpell == 61988)
{ {
// Avenging Wrath Marker
if(m_caster->HasAura(61987)) if(m_caster->HasAura(61987))
return SPELL_FAILED_CASTER_AURASTATE; return SPELL_FAILED_CASTER_AURASTATE;
} }
@ -3701,6 +3702,7 @@ SpellCastResult Spell::CheckCast(bool strict)
// Special cases of non existing auras handling // Special cases of non existing auras handling
if (m_spellInfo->excludeTargetAuraSpell == 61988) if (m_spellInfo->excludeTargetAuraSpell == 61988)
{ {
// Avenging Wrath Marker
if (target->HasAura(61987)) if (target->HasAura(61987))
return SPELL_FAILED_CASTER_AURASTATE; return SPELL_FAILED_CASTER_AURASTATE;