Results 1 to 3 of 3

Thread: Energy Ring when 3 or more monsters

  1. #1
    Normal User
    Join Date
    Jul 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Energy Ring when 3 or more monsters

    Hi, someone can help me please? i need to my char put a energy ring when 3 or more monsters are attacking him (or in the screen whatever) and put off if don┤t.

    Thank to all.

  2. #2
    zami84's Avatar
    Join Date
    May 2012
    Posts
    316
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    48
    Rep Power
    5
    Try this one

    Lua Code:
     
    local CREATURES = {"energy elemental"} -- add more if wanted
    local RING = "energy ring"
    local AMOUNT = 3 -- amoun monsters to equip ER
     
    if (maround(6,false,unpack(CREATURES)) >= AMOUNT and ring == 0) then
        moveitems(RING,"all","ring",1)
    elseif (maround(6,false,unpack(CREATURES)) < AMOUNT and ring > 0) then
        moveitems(ring,"ring","all",1)
    end

  3. #3
    Normal User grzesq470's Avatar
    Join Date
    May 2012
    Location
    Poland
    Posts
    176
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    22
    Rep Power
    5
    Thanks Zamii for this action !
    + Rep
    If I Helped you? Please Give Me + Rep


    SOLD 90 MS to prusio14
    SOLD 122 EK to xiogurz
    SOLD 150 EK to Maslo
    SOLD 260 ED to Neonart(neo-gold.com)
    SOLD 160 EK & 155 EK & 250 EK to daniel407



    ** sell ** characters ** open pvp server** transferable **

Posting Permissions

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