Results 1 to 6 of 6

Thread: E ring if

  1. #1
    Normal User
    Join Date
    Aug 2012
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    E ring if

    Is there any way to make a action where u equip mana ring if u are at lets say 40%hp and take it off if 90%

    Thanks

  2. #2
    Normal User
    Join Date
    Jan 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    u want a action that put the ring on when 40%hp and take it off when 90%hp?

  3. #3
    Normal User
    Join Date
    Aug 2012
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Yeah thats right

  4. #4
    Normal User
    Join Date
    Jan 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    local ringname = "energy ring"

    if hppc <= 40 then moveitems(ringname,"all","ring",1)
    elseif hppc >= 90 then moveitems(ring,"ring","all",1)
    end

  5. #5
    Normal User
    Join Date
    Aug 2012
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Where should i put that to actions or hotkeys?
    Tried both and it didnt work

  6. #6
    Banned
    Join Date
    Jun 2012
    Location
    Internet
    Posts
    845
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    113
    Rep Power
    0
    That put in ur setup

    Code:
    local ringname = "energy ring"
    and this part as action

    Code:
    if hppc <= 40 then moveitems(ringname,"all","ring",1)
    elseif hppc >= 90 then moveitems(ring,"ring","all",1)
    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
  •