Advertisement
Guest User

Untitled

a guest
Dec 11th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. -- Ring #1
  2. local UseRing = true
  3. local Ring = 25760 -- Item ID of the ring, with the most priority, that you want to equip. (Default: Ring of Healing)
  4. local ActiveRing = 25760 -- Item ID of the ring while wearing it.
  5. -- Ring #2
  6. local UseRing2 = true
  7. local Ring2 = 3098 -- Item ID of the ring, with least priority, that you want to equip. (Default: Life Ring)
  8. local ActiveRing2 = 3100 -- Item ID of the ring while wearing it.
  9. -- Alternate Ring
  10. local AlternateRing = 3071 -- Item ID of your alternate ring. (Default: Wedding Ring)
  11. -- Do not edit anything below
  12. Module.New('equip ring', function(module)
  13. if (UseRing) and (Self.Ring().id ~= ActiveRing) and (Self.ItemCount(Ring) > 0) then
  14. Self.Equip(Ring, "weapon")
  15. module:Delay(3000)
  16. elseif (UseRing2) and (Self.ItemCount(Ring) == 0) and (Self.Ring().id ~= ActiveRing2) and (Self.ItemCount(Ring2) > 0) then
  17. Self.Equip(Ring2, "weapon")
  18. module:Delay(3000)
  19. elseif (Self.Ring().id ~= ActiveRing) and (Self.Ring().id ~= ActiveRing2) and (Self.Ring().id ~= AlternateRing) then
  20. Self.Equip(AlternateRing, "weapon")
  21. module:Delay(3000)
  22. end
  23. end)
  24.  
  25. local ManaPotion = 25760
  26. Module.New("manabuy", function(module)
  27. if(Self.ItemCount(ManaPotion)<1) then
  28. Self.Cast("exevo gran mort")
  29. else
  30. end
  31. module:Delay(5000)
  32. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement