aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-11-28 12:58:12 -0600
committermegamage <none@none>2008-11-28 12:58:12 -0600
commitbeddd274303c9e342fdbe30a4eeb7e9e29695598 (patch)
treed0e4a3471063ed659d0afa5273968765064fcc0c /src/game/Spell.cpp
parentc72bf6e8c40e5b826c5d2d79bd19fae6386919e7 (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.cpp3
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));
}
}
}