This commit is contained in:
Shauren authored and Aokromes committed 2016-08-22 20:54:59 +02:00
1 parent 89a630b1e4
commit a3d4957150
1 file changed
+1 -1
+1 -1
View File
@@ -4817,7 +4817,7 @@ SpellCastResult Spell::CheckCast(bool strict)
// Check global cooldown
if (strict && !(_triggeredCastFlags & TRIGGERED_IGNORE_GCD) && HasGlobalCooldown())
return m_spellInfo->HasAttribute(SPELL_ATTR0_DISABLED_WHILE_ACTIVE) ? SPELL_FAILED_NOT_READY : SPELL_FAILED_DONT_REPORT;
return !m_spellInfo->HasAttribute(SPELL_ATTR0_DISABLED_WHILE_ACTIVE) ? SPELL_FAILED_NOT_READY : SPELL_FAILED_DONT_REPORT;
// only triggered spells can be processed an ended battleground
if (!IsTriggered() && m_caster->GetTypeId() == TYPEID_PLAYER)