*Mangos [7012] Fix use SpellVisual data.
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -5331,7 +5331,7 @@ Unit* Spell::SelectMagnetTarget()
|
||||
|
||||
bool Spell::IsNeedSendToClient() const
|
||||
{
|
||||
return m_spellInfo->SpellVisual!=0 || IsChanneledSpell(m_spellInfo) ||
|
||||
return m_spellInfo->SpellVisual[0] || m_spellInfo->SpellVisual[1] || IsChanneledSpell(m_spellInfo) ||
|
||||
m_spellInfo->speed > 0.0f || !m_triggeredByAuraSpell && !m_IsTriggeredSpell;
|
||||
}
|
||||
|
||||
|
||||
@@ -3974,7 +3974,7 @@ void Aura::HandlePeriodicDamage(bool apply, bool Real)
|
||||
case SPELLFAMILY_GENERIC:
|
||||
{
|
||||
// Pounce Bleed
|
||||
if ( m_spellProto->SpellIconID == 147 && m_spellProto->SpellVisual == 0 )
|
||||
if ( m_spellProto->SpellIconID == 147 && m_spellProto->SpellVisual[0] == 0 )
|
||||
{
|
||||
// $AP*0.18/6 bonus per tick
|
||||
if (apply && !loading && caster)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7011"
|
||||
#define REVISION_NR "7012"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
||||
Reference in New Issue
Block a user