Results 1 to 5 of 5

Thread: Energy ring if 3+ water elemental

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

    Wink Energy ring if 3+ water elemental

    Im using this action in ibotv1.0.9 but in v1.1.1 and v1.1.2 this doesnt work:

    local sq = 5 -- how far it check 3 = 3 square ( min 1 and max 7 )
    local mob = 3 -- how meny monster too use ring
    local water = maround(sq, 'Water Elemental') -- monster name
    local DL = maround(sq, 'quara mantassin scout') -- monster name
    local monsters = water + DL -- Do not touch --
    local ring1 = "Energy ring" -- the ring you use if 3 water elemental
    local ring2 = "Crystal ring" -- the ring you use if not 3 water elemental

    -- Do not touch --

    if (monsters >= mob)
    then
    moveitems(ring1,'ring',1)
    else
    moveitems(ring2,'ring',1)
    end
    Can u help me with other action??

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    PHP Code:
    if (maround(5"Water Elemental","Quara Mantassin Scout") >= 3then
       
    if (ring == 0then
          moveitems
    ("energy ring","all","ring",1)
       
    end
    else
       if (
    ring == 3088then
          moveitems
    (3088,"ring","all",1)
       
    end
    end 

  3. #3
    Normal User
    Join Date
    Jun 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by soder View Post
    PHP Code:
    if (maround(5"Water Elemental","Quara Mantassin Scout") >= 3then
       
    if (ring == 0then
          moveitems
    ("energy ring","all","ring",1)
       
    end
    else
       if (
    ring == 3088then
          moveitems
    (3088,"ring","all",1)
       
    end
    end 
    Doesnt work bro :/, thx

  4. #4
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    I just tested it and it's working.
    Note: Do NOT have any other ring in ring slot.

  5. #5
    Normal User
    Join Date
    Jun 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by soder View Post
    I just tested it and it's working.
    Note: Do NOT have any other ring in ring slot.
    Tested without crystal ring in ring slot and working fine!! thx

Posting Permissions

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