Ir para conteúdo

Featured Replies

Postado
init start
    local r = 4 -- Range.
    local safelist = {'Bubble', 'Eternal Oblivion'} -- O bot VAI dar KS nesses players. Adicione mais se quiser.
    table.insert(safelist, $name) -- Não mexa aqui. init end
 
auto(100) local ppos = {}
foreach creature p 'pf' do
    if not table.find(safelist, p.name) then
        table.insert(ppos, {x = p.posx, y = p.posy})
    end
end foreach creature c 'mf' do
    local ignore = false
    if c.id ~= $mattacker.id then
        for i = 1, #ppos do
            local difx, dify = ppos[i].x - c.posx, ppos[i].y - c.posy
            if math.abs(difx) <= r and math.abs(dify) <= r then
                ignore = true
                if c.ignored == false then
                    ignorecreature(c.id)
                end
                break
            end
        end
    end
    if ignore == false and c.ignored == true then
        ignorecreature(c.id, true)
    end
end if $attacked.id ~= 0 then
    if $attacked.ignored then
        stopattack()
    end
end 
Créditos: tibiabot-script

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo