Advertisement
Guest User

Untitled

a guest
Aug 28th, 2015
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. -- Ring #1
  2. local UseRing = true
  3. local Ring = 3052 -- Item ID of the ring, with the most priority, that you want to equip. (Default: Ring of Healing)
  4. local ActiveRing = 3089 -- 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 = 9394 -- 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, "ring")
  15. module:Delay(1000)
  16. elseif (UseRing2) and (Self.ItemCount(Ring) == 0) and (Self.Ring().id ~= ActiveRing2) and (Self.ItemCount(Ring2) > 0) then
  17. Self.Equip(Ring2, "ring")
  18. module:Delay(1000)
  19. elseif (Self.Ring().id ~= ActiveRing) and (Self.Ring().id ~= ActiveRing2) and (Self.Ring().id ~= AlternateRing) then
  20. Self.Equip(AlternateRing, "ring")
  21. module:Delay(1000)
  22. end
  23. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement