Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SpellLine balance = SkillBase.GetSpellLine("Balance");
- SpellLine resto = SkillBase.GetSpellLine("Restoration");
- SpellLine feral = SkillBase.GetSpellLine("Feral Combat");
- int time = 65535000 / 1000;
- public virtual void DisableProwl()
- {
- if (feral == null)
- return;
- foreach (Spell spell in SkillBase.GetSpellList(feral.KeyName))
- {
- if (spell.SpellType.ToLower() == "prowl")
- Out.SendDisableSkill(spell, time);
- }
- }
- public virtual void EnableProwl()
- {
- if (feral == null)
- return;
- foreach (Spell spell in SkillBase.GetSpellList(feral.KeyName))
- {
- if (spell.SpellType.ToLower() == "prowl")
- Out.SendDisableSkill(spell, 0);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement