diff options
| author | megamage <none@none> | 2008-11-28 12:58:12 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2008-11-28 12:58:12 -0600 |
| commit | beddd274303c9e342fdbe30a4eeb7e9e29695598 (patch) | |
| tree | d0e4a3471063ed659d0afa5273968765064fcc0c /src/game/Spell.cpp | |
| parent | c72bf6e8c40e5b826c5d2d79bd19fae6386919e7 (diff) | |
*Aura Consolidation + MaxModifier. By Authorius, modified by Deafboy and thenecromancer, adapted by Muhaha.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
| -rw-r--r-- | src/game/Spell.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 57844782b8a..1aa916f3f56 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2920,7 +2920,8 @@ void Spell::finish(bool ok) int32 chance = m_caster->CalculateSpellDamage(auraSpellInfo, auraSpellIdx, (*i)->GetBasePoints(),unit); if(roll_chance_i(chance)) - m_caster->CastSpell(unit, auraSpellInfo->EffectTriggerSpell[auraSpellIdx], true, NULL, (*i)); + for (int j=0; j != (*i)->GetStackAmount(); ++j) + m_caster->CastSpell(unit, auraSpellInfo->EffectTriggerSpell[auraSpellIdx], true, NULL, (*i)); } } } |
