Ultimate Energy Ring Equipper
Hello!
Here is my re edited energy ring script. To use it You have to add two hotkeys.
1. unequiped energy ring as EQUIP
2. equiped energy ring as EQUIP
Code:
init start
local ringid = 3051 -- ID of notequipped ring
local useringid = 3088 -- ID of equipped ring
local hpequip = 60 -- Equip ring if health lower than
local manaequip = 20 -- Minimal mana to equip ring
local hpunequip = 85 -- Minimal health to UNequip ring
local manaunequip = 8 -- UNequip ring if mana lower than
local monsterl = {'Hydra', 'Serpent Spawn'} -- Monsters
local meq = 5 -- Amount of monster to use ring
local muneq = 2 -- Amount of monster to take ring off
local mrange = 6 -- Count monsters in range
init end
auto(10)
if $finger.id ~= ringid and itemcount(ringid) > 0 and $hppc < hpequip and $mppc > manaequip then
keyevent(clientitemhotkey(ringid, "equip"))
waitping()
elseif $finger.id ~= ringid and itemcount(ringid) > 0 and maround(mrange, unpack(monsterl)) >= meq and $mppc > manaequip then
keyevent(clientitemhotkey(ringid, "equip"))
waitping()
elseif $finger.id == useringid and $hppc >= hpunequip and maround(mrange, unpack(monsterl)) < muneq then
keyevent(clientitemhotkey(useringid, "equip"))
waitping()
elseif $finger.id == useringid and $mppc <= manaunequip then
keyevent(clientitemhotkey(useringid, "equip"))
waitping()
end
I am still learning but i hope i helped :3