Signup Now
Results 1 to 1 of 1
  1. #1
    Free User
    Join Date
    Sep 2014
    Posts
    43
    Reputation
    19
    Rep Power
    0

    Exclamation 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
    Last edited by aweroth; 01-09-2016 at 02:59 AM.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •