Advertisement
Guest User

Untitled

a guest
Jul 29th, 2014
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Aureus.AK.Internals;
  6.  
  7. namespace Aureus
  8. {
  9. public class Wizzard : Aureus.Modules.ICombat
  10. {
  11. public override string Name
  12. {
  13. get { return "Wizzard"; }
  14. }
  15.  
  16. public enum Spells : int
  17. {
  18. Meteor = 51606,
  19. Prayer = 51604,
  20. Fireball = 51601,
  21. IcyCurse = 51602,
  22. IceStorm = 51603,
  23. }
  24.  
  25. public override void OnCombat(AK.Classes.AKCharacter target)
  26. {
  27. if (Aureus.AI.Controllers.Spell.CanCast((int)Spells.Meteor))
  28. {
  29. Aureus.AI.Controllers.Spell.Cast((int)Spells.Meteor, target);
  30. return;
  31. }
  32. if (Aureus.AI.Controllers.Spell.CanCast((int)Spells.IceStorm))
  33. {
  34. Aureus.AI.Controllers.Spell.Cast((int)Spells.IceStorm, target);
  35. return;
  36. }
  37. if (Aureus.AI.Controllers.Spell.CanCast((int)Spells.Prayer))
  38. {
  39. Aureus.AI.Controllers.Spell.Cast((int)Spells.Prayer, target);
  40. return;
  41. }
  42. if (Aureus.AI.Controllers.Spell.CanCast((int)Spells.IcyCurse))
  43. {
  44. Aureus.AI.Controllers.Spell.Cast((int)Spells.IcyCurse, target);
  45. return;
  46. }
  47.  
  48. if (Aureus.AI.Controllers.Spell.CanCast((int)Spells.Fireball))
  49. {
  50. Aureus.AI.Controllers.Spell.Cast((int)Spells.Fireball, target);
  51. return;
  52. }
  53. }
  54. }
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement