mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-04 08:07:09 +01:00
*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:
@@ -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