Jump to content

Search the Community

Showing results for tags 'tfs1'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • xTibia - Notícias e Suporte
    • Regras
    • Noticias
    • Soluções
    • Projetos Patrocinados
    • Tutoriais para Iniciantes
    • Imprensa
  • OTServ
    • Notícias e Debates
    • OTServlist
    • Downloads
    • Recursos
    • Suporte
    • Pedidos
    • Show-Off
    • Tutoriais
  • OFF-Topic
    • Barzinho do Éks
    • Design
    • Informática

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Sou

Found 1 result

  1. gostaria de ajuda na conversão desse sistema para TFS 0.3.6 <event type="think" name="aA" script="autoAttack.lua"/> function onThink(cid, interval) local monster = Monster(cid) if monster ~= nil then local targets = monster:getTargetList() local currentTarget = monster:getTarget() if not currentTarget then return monster:searchTarget() end if currentTarget ~= nil then for i = 1, #targets do local target = targets[i] if target:isPlayer() then monster:addFriend(target) monster:removeTarget(target) end end local newTarget = monster:getTargetList()[1] monster:setTarget(newTarget) monster:setFollowCreature(newTarget) end end return trueend
×
×
  • Create New...