Results 1 to 3 of 3

Thread: Exura gran mas res

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

    Exura gran mas res

    To tentando usar essa action mas não funciona. Sera que tem algo errado. Se não tiver alguem pode falar exatamente o que devo fazer e onde colocar.


    --[[ INIT START ]]--
    local CONFIG = {
    CREATURES = {"Demetrius Malfor", "Seromontis"},
    SPELL = "exura gran mas res",
    HPPC_TO_CAST = 99,
    }
    --[[ INIT END ]]--
    for CREATURE in Creature.GetAll("ps") do
    if hppc < CONFIG.HPPC_TO_CAST and paround(3, false, unpack(CONFIG.CREATURES)) > 0 or (table.find(CONFIG.CREATURES, CREATURE:Name()) and CREATURE:HealthPercent() < CONFIG.HPPC_TO_CAST) then
    if cancast(CONFIG.SPELL) then
    cast(CONFIG.SPELL)
    wait(100, 200)
    end
    end
    end

  2. #2
    Focus Group Samuel's Avatar
    Join Date
    Feb 2012
    Location
    Teresina - PI - Brasil
    Posts
    922
    Mentioned
    16 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    82
    Rep Power
    6
    Faça o pedido da determinada Action nesse tópico ~> http://www.tibiaibot.com/forum/showt...by-GabrielTOTS
    Marketing
    and Public Relations

    Atenciosamente,
    Samuel Torres


    █ iBot updates and news [ AQUI/HERE ]
    █ É iniciante? Consulte nosso Suporte de Perguntas Frequentes [ AQUI/HERE ]
    █ Tutorial Básico com video aula / Basic Tutorial with video lessons [ AQUI/HERE ]
    Tibia Itens - Sale of Keys iBot/Tibia Cash/Itens/Other services [ AQUI/HERE ]

  3. #3
    Focus Group
    Join Date
    Feb 2012
    Posts
    148
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    16
    Rep Power
    5
    Code:
        local list = {"Amigo Um", "Amigo Dois"}
        local healHPPC = 80
        local players = getcreatures("ps")
        for i=0, players.count-1 do
            if table.find(list, players[i].name) then
                local dist = math.max(math.abs(players[i].x - posx), math.abs(players[i].y - posy))
                if dist <= 3 and tileshootable(players[i].x, players[i].y, posz) and players[i].hpperc <= healHPPC then
                    cast('exura gran mas res')
                    wait(200)
                end
            end
        end
    Testa e me diz como ficou

Posting Permissions

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