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
-48
View File
@@ -153,30 +153,6 @@ namespace Scripts.Spells.Hunter
}
}
// 82926 - Fire!
[Script]
class spell_hun_fire : AuraScript
{
void HandleEffectCalcSpellMod(AuraEffect aurEff, ref SpellModifier spellMod)
{
if (spellMod == null)
{
spellMod = new SpellModifier(GetAura());
spellMod.op = SpellModOp.CastingTime;
spellMod.type = SpellModType.Pct;
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] // 109304 - Exhilaration
class spell_hun_exhilaration : SpellScript
{
@@ -245,30 +221,6 @@ namespace Scripts.Spells.Hunter
}
}
// -19464 Improved Serpent Sting
[Script]
class spell_hun_improved_serpent_sting : AuraScript
{
void HandleEffectCalcSpellMod(AuraEffect aurEff, ref SpellModifier spellMod)
{
if (spellMod == null)
{
spellMod = new SpellModifier(GetAura());
spellMod.op = (SpellModOp)aurEff.GetMiscValue();
spellMod.type = SpellModType.Pct;
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));
}
}
// 53478 - Last Stand Pet
[Script]
class spell_hun_last_stand_pet : SpellScript