Results 1 to 3 of 3

Thread: Action if [ X ] Amount of Corym Use Stealth ring from Main Bp

  1. #1
    iBot User Jerallx's Avatar
    Join Date
    Jan 2014
    Posts
    239
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    22 Post(s)
    Reputation
    22
    Rep Power
    3

    Action if [ X ] Amount of Corym Use Stealth ring from Main Bp

    Hey I need an action that if 3+ Coryms ( Any type ) Use stealth ring from Main Bp and when there are 3- take ring off!! Thanks!

  2. #2
    iBot User Canu13's Avatar
    Join Date
    Nov 2012
    Location
    Barcelona
    Posts
    273
    Mentioned
    21 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    38 Post(s)
    Reputation
    39
    Rep Power
    5
    Try this:
    Lua Code:
     
    local coryms = {"Corym Skirmisher", "Corym Charlatan", "Corym Vanguard"}
    local amountOfCoryms = 3
    local range = 7
     
    if maround(range, unpack(coryms)) >= amountOfCoryms and ring == 0 then
           moveitems("Stealth Ring", MainBP, "ring", 1)
    elseif maround(range, unpack(coryms)) < amountOfCoryms and ring > 0 then
           moveitems("Stealth Ring", "ring", MainBP, 1)
    end

    Eli Scripts Last Releases Vocation
    New Water Elemental ED - MS
    Glooth Bandits x3 ED - MS
    Meriana Gargoyle Cave ED - MS
    Glooth Bandits x2 ED-MS

  3. #3
    iBot User Canu13's Avatar
    Join Date
    Nov 2012
    Location
    Barcelona
    Posts
    273
    Mentioned
    21 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    38 Post(s)
    Reputation
    39
    Rep Power
    5
    working??

    Eli Scripts Last Releases Vocation
    New Water Elemental ED - MS
    Glooth Bandits x3 ED - MS
    Meriana Gargoyle Cave ED - MS
    Glooth Bandits x2 ED-MS

Posting Permissions

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