[Spells] Any triggered by aura spell should be casted instantly (a weaker condition).

This commit is contained in:
Olion 2015-09-24 12:51:48 +03:00 committed by Antz
parent f7809fc475
commit 1cdfec704a

View File

@ -6221,7 +6221,7 @@ bool Spell::IsNeedSendToClient() const
bool Spell::IsTriggeredSpellWithRedundentCastTime() const
{
return m_IsTriggeredSpell; // && (m_spellInfo->manaCost || m_spellInfo->ManaCostPercentage);
return m_triggeredByAuraSpell || (m_IsTriggeredSpell && (m_spellInfo->manaCost || m_spellInfo->ManaCostPercentage));
}
bool Spell::HaveTargetsForEffect(SpellEffectIndex effect) const