Results 1 to 2 of 2

Thread: energy ring life saver

  1. #1
    Normal User
    Join Date
    Oct 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0

    energy ring life saver

    anyone know how to make an action for paladins to use energy ring if your hp gets hit really low than it would take it off either when ur hp is almost full or after x ammount of time?

  2. #2
    Normal User Balbek's Avatar
    Join Date
    May 2012
    Location
    LDZ
    Posts
    554
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    84
    Rep Power
    6
    local percent_on = 80 -- // how many % to put on
    local percent_off = 90 -- // how many % to take off


    if (hppc < percent_on) and (itemcount(3051) > 0) and (ring == 0) then
    moveitems(3051, "all", "ring", 1)
    wait(500,1000)
    elseif (hppc > percent_off) and (ring == 3088) then
    moveitems(3088, "ring", "all", 1)
    wait(500,1000)
    end

Posting Permissions

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