Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.90 KB | None | 0 0
  1.         SpellLine balance = SkillBase.GetSpellLine("Balance");
  2.         SpellLine resto = SkillBase.GetSpellLine("Restoration");
  3.         SpellLine feral = SkillBase.GetSpellLine("Feral Combat");
  4.         int time = 65535000 / 1000;
  5.         public virtual void DisableProwl()
  6.         {
  7.             if (feral == null)
  8.                 return;
  9.             foreach (Spell spell in SkillBase.GetSpellList(feral.KeyName))
  10.             {
  11.                 if (spell.SpellType.ToLower() == "prowl")
  12.                     Out.SendDisableSkill(spell, time);
  13.             }
  14.         }
  15.         public virtual void EnableProwl()
  16.         {
  17.             if (feral == null)
  18.                 return;
  19.             foreach (Spell spell in SkillBase.GetSpellList(feral.KeyName))
  20.             {
  21.                 if (spell.SpellType.ToLower() == "prowl")
  22.                     Out.SendDisableSkill(spell, 0);
  23.             }
  24.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement