Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Ring #1
- local UseRing = true
- local Ring = 25760 -- Item ID of the ring, with the most priority, that you want to equip. (Default: Ring of Healing)
- local ActiveRing = 25760 -- Item ID of the ring while wearing it.
- -- Ring #2
- local UseRing2 = true
- local Ring2 = 3098 -- Item ID of the ring, with least priority, that you want to equip. (Default: Life Ring)
- local ActiveRing2 = 3100 -- Item ID of the ring while wearing it.
- -- Alternate Ring
- local AlternateRing = 3071 -- Item ID of your alternate ring. (Default: Wedding Ring)
- -- Do not edit anything below
- Module.New('equip ring', function(module)
- if (UseRing) and (Self.Ring().id ~= ActiveRing) and (Self.ItemCount(Ring) > 0) then
- Self.Equip(Ring, "weapon")
- module:Delay(3000)
- elseif (UseRing2) and (Self.ItemCount(Ring) == 0) and (Self.Ring().id ~= ActiveRing2) and (Self.ItemCount(Ring2) > 0) then
- Self.Equip(Ring2, "weapon")
- module:Delay(3000)
- elseif (Self.Ring().id ~= ActiveRing) and (Self.Ring().id ~= ActiveRing2) and (Self.Ring().id ~= AlternateRing) then
- Self.Equip(AlternateRing, "weapon")
- module:Delay(3000)
- end
- end)
- local ManaPotion = 25760
- Module.New("manabuy", function(module)
- if(Self.ItemCount(ManaPotion)<1) then
- Self.Cast("exevo gran mort")
- else
- end
- module:Delay(5000)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement