mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +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
|
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
|
bool Spell::HaveTargetsForEffect(SpellEffectIndex effect) const
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11100"
|
#define REVISION_NR "11101"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue