Results 1 to 3 of 3

Thread: queria action para n dar ks

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

    Question queria action para n dar ks

    queria action para n dar ks(atk o bixo dos outros)

  2. #2
    Normal User livascripts's Avatar
    Join Date
    Apr 2012
    Posts
    729
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    15
    Rep Power
    6
    PHP Code:
    local r -- Range.
    local safelist = {'Bubble''Eternal Oblivion'} -- The bot WILL KS this playersAdd more to this if you want.
    table.insert(safelistname) -- Do not edit it.
    local ppos = {}
    local pinfo _getcreatures("psf")
    local cinfo _getcreatures("msf")

    for 
    1pinfo.count do
        
    local ab=a-1
        
    if not table.find(safelistpinfo[ab].namethen
            table
    .insert(ppos, {pinfo[ab].xpinfo[ab].y})
        
    end
    end

    for 1cinfo.count do
        
    local ignore false
        local bb
    =b-1
        
    if cinfo[bb].id ~= target.id then
            
    for 1#ppos do
                
    local difxdify ppos[i].cinfo[bb].xppos[i].cinfo[bb].y
                
    if math.abs(difx) <= and math.abs(dify) <= r then
                    ignore 
    true
                    
    if cinfo[bb].ignored == false then
                        ignorecreature
    (cinfo[bb].id,true)
                        
    stopattack()
                    
    end
                    
    break
                
    end
            end
        end
        
    if ignore == false and cinfo[bb].ignored == true then
            ignorecreature
    (cinfo[bb].idtrue)
            
    stopattack()
        
    end
    end
    if target.id ~= 0 then
        
    if target.ignored then
            stopattack
    ()
        
    end
    end 

  3. #3
    Normal User
    Join Date
    Sep 2012
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    vlw ae ajudo muito

Posting Permissions

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