*Fix the bug that totem can only apply the first aura effect.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-10 01:19:39 -05:00
parent 9215f0ee11
commit aba285664f
3 changed files with 24 additions and 22 deletions

View File

@@ -1188,8 +1188,8 @@ SpellMissInfo Spell::DoSpellHitOnUnit(Unit *unit, const uint32 effectMask)
if (aura_effmask)
{
Unit * caster = m_originalCaster ? m_originalCaster : m_caster;
Aura * Aur= new Aura(m_spellInfo, aura_effmask, &m_currentBasePoints[0], unit, caster , m_CastItem, m_caster);
Unit * caster = m_originalCaster ? m_originalCaster : m_caster;
Aura * Aur = new Aura(m_spellInfo, aura_effmask, m_currentBasePoints, unit, caster, m_CastItem, m_caster);
if (!Aur->IsAreaAura())
{