mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 01:37:05 +00:00
[11101] Skip casting time for casts triggered by parent aura/spell.
Possible not need another (old) checks except this.
This commit is contained in:
parent
06cebecd50
commit
cd3d815df6
2 changed files with 4 additions and 2 deletions
|
|
@ -6557,7 +6557,9 @@ bool Spell::IsNeedSendToClient() const
|
|||
|
||||
bool Spell::IsTriggeredSpellWithRedundentData() const
|
||||
{
|
||||
return m_IsTriggeredSpell && (m_spellInfo->manaCost || m_spellInfo->ManaCostPercentage);
|
||||
return m_triggeredByAuraSpell || m_triggeredBySpellInfo ||
|
||||
// possible not need after above check?
|
||||
m_IsTriggeredSpell && (m_spellInfo->manaCost || m_spellInfo->ManaCostPercentage);
|
||||
}
|
||||
|
||||
bool Spell::HaveTargetsForEffect(SpellEffectIndex effect) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue