diff options
author | Kudlaty <none@none> | 2009-06-11 00:02:08 +0200 |
---|---|---|
committer | Kudlaty <none@none> | 2009-06-11 00:02:08 +0200 |
commit | 1eb6b25e55e369a7cc4e1154b246ae0541edb24f (patch) | |
tree | b678ba1d4b45d48da1107e1cfc878af3096d9a21 /src/game/SpellEffects.cpp | |
parent | 8adcd1e93b2499dd70eca5d19cd96bd4beeda11d (diff) | |
parent | da067afe12b457e603fd9f3af6914764c48a07dd (diff) |
merge
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 8d6d0bc7ae8..1e3c1d78dfe 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -4211,7 +4211,12 @@ void Spell::SpellDamageWeaponDmg(uint32 i) } if (!spellInfo) break; - m_caster->CastSpell(unitTarget, spellInfo, true); + int32 count = 1; + // Glyph of Devastate + if (AuraEffect * aurEff = m_caster->GetDummyAura(58388)) + count += aurEff->GetAmount(); + for (;count>0;count--) + m_caster->CastSpell(unitTarget, spellInfo, true); if (stack) spell_bonus += stack * CalculateDamage(2, unitTarget); } |