*Fix Improved Spell Reflection
*Fix Glyph of Improved Scorch *Sword And Board *Fix Glyph of Devastate - original patch by CRAZyBUg --HG-- branch : trunk
This commit is contained in:
1 parent
5ad8284841
commit
da067afe12
11 files changed
+142
-45
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user