Results 1 to 2 of 2

Thread: Lure Mode

  1. #1
    iBot User
    Join Date
    Apr 2012
    Posts
    117
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    14 Post(s)
    Reputation
    17
    Rep Power
    5

    Lure Mode

    pois é pessoal estou tendo um pouco de dificuldade com esse lure mode,
    encontrei essa action no forum mas não estou conseguindo usar, alguem ai consegue me ajudar?

    PHP Code:
    local MONSTERS = {'Dragon Lord','Frost Dragon','Dragon Lord Hatchling'}

    --[
    AREAS]--
    local AREA1 = {32236,32293,32244,32298,7} --leftX,topY,rightX,bottomY,Zlevel
    local AREA2 
    = {32235,32291,32235,32291,7} --leftX,topY,rightX,bottomY,Zlevel

    --[FUNCTION]--
    local function LureArea(LEFTXTOPYRIGHTXBOTTOMYZLEVEL)
        if (
    posx >= LEFTX) and (posx <= RIGHTX) and (posy >= TOPY) and (posy <= BOTTOMY) and (posz == ZLEVELthen
            
    return true
        
    else
            return 
    false
        end
    end

    if LureArea(unpack(AREA1)) == true or LureArea(unpack(AREA2)) == true then
       
    for 1#MONSTERS do
           
    setsettings('Settings/Targeting/Monsters/'..MONSTERS[i]..'/ListSettings/Setting0/Stance','Keep Away')
       
    end
       
    else
       for 
    1#MONSTERS do
           
    setsettings('Settings/Targeting/Monsters/'..MONSTERS[i]..'/ListSettings/Setting0/Stance','Lure')
        
    end
    end 

    uma das minhas duvidas é. oque seria leftX,topY,rightX,bottomY,Zlevel?

    abraços

  2. #2
    Focus Group Targets's Avatar
    Join Date
    Nov 2013
    Location
    PoA - Brazil
    Posts
    456
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    48 Post(s)
    Reputation
    109
    Rep Power
    5
    seria as coordenadas que você seta para ser o local para onde o char deve lurar os bixos



Posting Permissions

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