*Mangos [7012] Fix use SpellVisual data.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-01-03 11:00:15 -06:00
parent fa00f43c5c
commit 803a834b0d
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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)