Angel And Hells Posted January 20, 2019 Report Share Posted January 20, 2019 Para as pessoas mais experientes , estou precisando de um script na qual ataca todos os bichos e ignora o pet. Se alguém puder me ajudar estarei grato. Link to comment Share on other sites More sharing options...
ThiagoMetal Posted January 20, 2019 Report Share Posted January 20, 2019 auto_attack = cycleEvent(function() ignore = {'Pet Archer', 'Pet Blaze', 'Pet Dog', 'Pet Mage', 'Pet Mercenary', 'Pet Witchdoctor', 'Pet Wolf'} if not g_game.isOnline() then return end if g_game.isAttacking() then return end local player = g_game.getLocalPlayer() local spec = g_map.getSpectators(player:getPosition()) function isInArray(tbl, value) for k, v in ipairs(tbl) do if v == value then return k end end return false end for k,monster in pairs(spec) do if not isInArray(ignore, monster:getName()) then if monster:isMonster() and not monster:isPlayer() and not monster:isNpc() then g_game.attack(monster) break end end end end, 400) 4 Link to comment Share on other sites More sharing options...
Angel And Hells Posted January 21, 2019 Author Report Share Posted January 21, 2019 6 hours ago, ThiagoMetal said: auto_attack = cycleEvent(function() ignore = {'Pet Archer', 'Pet Blaze', 'Pet Dog', 'Pet Mage', 'Pet Mercenary', 'Pet Witchdoctor', 'Pet Wolf'} if not g_game.isOnline() then return end if g_game.isAttacking() then return end local player = g_game.getLocalPlayer() local spec = g_map.getSpectators(player:getPosition()) function isInArray(tbl, value) for k, v in ipairs(tbl) do if v == value then return k end end return false end for k,monster in pairs(spec) do if not isInArray(ignore, monster:getName()) then if monster:isMonster() and not monster:isPlayer() and not monster:isNpc() then g_game.attack(monster) break end end end end, 400) E para incluir um ataque por SD ou magia, quais os lugares editar? Link to comment Share on other sites More sharing options...
Tibia RPG Brasil Posted January 21, 2019 Report Share Posted January 21, 2019 ctrl+shift+b targets escreve o nome do bixo no auto target clica no nome do bixo Lado direito vai em atacar item mode select item seleciona SD marca la em cima em auto target pro bot ataca 1 Link to comment Share on other sites More sharing options...
Angel And Hells Posted January 21, 2019 Author Report Share Posted January 21, 2019 4 hours ago, Plim Plim said: ctrl+shift+b targets escreve o nome do bixo no auto target clica no nome do bixo Lado direito vai em atacar item mode select item seleciona SD marca la em cima em auto target pro bot ataca escreve um com exemplo só que com SD, tem como colcoar no script? Link to comment Share on other sites More sharing options...
Tibia RPG Brasil Posted January 22, 2019 Report Share Posted January 22, 2019 5 horas atrás, Angel And Hells disse: escreve um com exemplo só que com SD, tem como colcoar no script? Não é script mano, no otclient, tem a aba TARGET onde voce tem a opção de escolher o bixo pra ataca com magia/runa Link to comment Share on other sites More sharing options...
Angel And Hells Posted January 22, 2019 Author Report Share Posted January 22, 2019 18 hours ago, Plim Plim said: Não é script mano, no otclient, tem a aba TARGET onde voce tem a opção de escolher o bixo pra ataca com magia/runa Sim no target eu até sei usar , para eu nao precisar colocar nome por nome, eu queria um script para atacar todos porem com sd sem precisar colocar no Otclient Link to comment Share on other sites More sharing options...
Tibia RPG Brasil Posted January 24, 2019 Report Share Posted January 24, 2019 Em 22/01/2019 at 17:04, Angel And Hells disse: Sim no target eu até sei usar , para eu nao precisar colocar nome por nome, eu queria um script para atacar todos porem com sd sem precisar colocar no Otclient Não tem Link to comment Share on other sites More sharing options...
Recommended Posts