Cleanup scripts and removed not needed ones.

This commit is contained in:
hondacrx
2017-07-21 11:59:42 -04:00
parent 40a4685a9c
commit 54fc79fced
16 changed files with 24 additions and 404 deletions
-24
View File
@@ -221,30 +221,6 @@ namespace Scripts.Spells.Warrior
}
}
// 58387 - Glyph of Sunder Armor
[Script]
class spell_warr_glyph_of_sunder_armor : AuraScript
{
void HandleEffectCalcSpellMod(AuraEffect aurEff, ref SpellModifier spellMod)
{
if (spellMod == null)
{
spellMod = new SpellModifier(aurEff.GetBase());
spellMod.op = (SpellModOp)aurEff.GetMiscValue();
spellMod.type = SpellModType.Flat;
spellMod.spellId = GetId();
spellMod.mask = GetSpellInfo().GetEffect(aurEff.GetEffIndex()).SpellClassMask;
}
spellMod.value = aurEff.GetAmount();
}
public override void Register()
{
DoEffectCalcSpellMod.Add(new EffectCalcSpellModHandler(HandleEffectCalcSpellMod, 0, AuraType.Dummy));
}
}
[Script] // Heroic leap - 6544
class spell_warr_heroic_leap : SpellScript
{