[Spells] Any triggered by aura spell should be casted instantly (a weaker condition).
This commit is contained in:
parent
f7809fc475
commit
1cdfec704a
@ -6221,7 +6221,7 @@ bool Spell::IsNeedSendToClient() const
|
|||||||
|
|
||||||
bool Spell::IsTriggeredSpellWithRedundentCastTime() 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
|
bool Spell::HaveTargetsForEffect(SpellEffectIndex effect) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user