DUVIDA SOBRE ACTION DE COMPRAR POTION
Página 1 de 1 • Compartilhe
DUVIDA SOBRE ACTION DE COMPRAR POTION
Galera estou com uma duvida , se seria possivel fazer um script que comprasse somente o necessario, pra manter uma quantidade de potion,
EX eu preciso comprar no npc "Xodet"
ultimate healing potion e manda potio
queria manter 800 ultimate e 600 mana .
ex se eu fosse pra cave com essa quantidade e gastasse 200 UHP e 50 MP
ele compraria apenas oque eu gastasse pra manter os 800UHP e 600HP
e na proxima ida a hunt eu sofresse ataque e acabasse gastando mais ele compraria mais pra manter a quantidade , nao sei se fui muito confuso mas queria saber se é possivel fazer uma action pra comprar e manter essas quantidades .. abraço!
EX eu preciso comprar no npc "Xodet"
ultimate healing potion e manda potio
queria manter 800 ultimate e 600 mana .
ex se eu fosse pra cave com essa quantidade e gastasse 200 UHP e 50 MP
ele compraria apenas oque eu gastasse pra manter os 800UHP e 600HP
e na proxima ida a hunt eu sofresse ataque e acabasse gastando mais ele compraria mais pra manter a quantidade , nao sei se fui muito confuso mas queria saber se é possivel fazer uma action pra comprar e manter essas quantidades .. abraço!
tiojota- Membro Nv. 2
- Mensagens : 3
Data de inscrição : 24/12/2018
Re: DUVIDA SOBRE ACTION DE COMPRAR POTION
--Coloca no Edit do CaveBot
--GoHunt
set $manapotion '0'
set $ultimatehealth '0'
--LeaveHunt
set $lowmanapotion '0'
set $lowultimatehealth '0'
-Coloca no CaveBot
--ActionLeave
countitems 268
wait 300
if [$itemcount.'mana potion' < $lowmanapotion ] gotolabel 'leave'
countitems 7643
wait 300
if [$itemcount.'ultimate health potion' < $lowultimatehealth ] gotolabel 'leave'
--ActionBuy
--coloca um em cada action com o label (MP, UHP)
--Mp
wait 600 | countitems 268 | wait 500
if [$itemcount.'mana potion' >= $manapotion ] skip
wait 100
npcsay 'hi'
wait [$rand.500.1000]
npcsay 'trade'
wait [$rand.500.1000]
wait 600 | countitems 268 | wait 500
buyitemsupto 268 [$manapotion] $itemcount.'mana potion'
wait 600 | countitems 268 | wait 500
buyitemsupto 268 [$manapotion] $itemcount.'mana potion'
wait 600 | countitems 268 | wait 500
buyitemsupto 268 [$manapotion] $itemcount.'mana potion'
wait 600 | countitems 268 | wait 500
buyitemsupto 268 [$manapotion] $itemcount.'mana potion'
wait 600 | countitems 268 | wait 500
buyitemsupto 268 [$manapotion] $itemcount.'mana potion'
wait 600 | countitems 268 | wait 500
if [$itemcount.'mana potion' < $manapotion ] gotolabel 'MP'
--UHP
wait 600 | countitems 7643 | wait 500
if [$itemcount.'ultimate health potion' >= $ultimatehealth ] skip
wait 100
npcsay 'hi'
wait [$rand.500.1000]
npcsay 'trade'
wait [$rand.500.1000]
wait 600 | countitems 7643 | wait 500
buyitemsupto 7643 [$ultimatehealth] $itemcount.'ultimate health potion'
wait 600 | countitems 7643 | wait 500
buyitemsupto 7643 [$ultimatehealth] $itemcount.'ultimate health potion'
wait 600 | countitems 7643 | wait 500
buyitemsupto 7643 [$ultimatehealth] $itemcount.'ultimate health potion'
wait 600 | countitems 7643 | wait 500
buyitemsupto 7643 [$ultimatehealth] $itemcount.'ultimate health potion'
wait 600 | countitems 7643 | wait 500
buyitemsupto 7643 [$ultimatehealth] $itemcount.'ultimate health potion'
wait 600 | countitems 7643 | wait 500
if [$itemcount.'ultimate health potion' < $ultimatehealth ] gotolabel 'UHP'
--GoHunt
set $manapotion '0'
set $ultimatehealth '0'
--LeaveHunt
set $lowmanapotion '0'
set $lowultimatehealth '0'
-Coloca no CaveBot
--ActionLeave
countitems 268
wait 300
if [$itemcount.'mana potion' < $lowmanapotion ] gotolabel 'leave'
countitems 7643
wait 300
if [$itemcount.'ultimate health potion' < $lowultimatehealth ] gotolabel 'leave'
--ActionBuy
--coloca um em cada action com o label (MP, UHP)
--Mp
wait 600 | countitems 268 | wait 500
if [$itemcount.'mana potion' >= $manapotion ] skip
wait 100
npcsay 'hi'
wait [$rand.500.1000]
npcsay 'trade'
wait [$rand.500.1000]
wait 600 | countitems 268 | wait 500
buyitemsupto 268 [$manapotion] $itemcount.'mana potion'
wait 600 | countitems 268 | wait 500
buyitemsupto 268 [$manapotion] $itemcount.'mana potion'
wait 600 | countitems 268 | wait 500
buyitemsupto 268 [$manapotion] $itemcount.'mana potion'
wait 600 | countitems 268 | wait 500
buyitemsupto 268 [$manapotion] $itemcount.'mana potion'
wait 600 | countitems 268 | wait 500
buyitemsupto 268 [$manapotion] $itemcount.'mana potion'
wait 600 | countitems 268 | wait 500
if [$itemcount.'mana potion' < $manapotion ] gotolabel 'MP'
--UHP
wait 600 | countitems 7643 | wait 500
if [$itemcount.'ultimate health potion' >= $ultimatehealth ] skip
wait 100
npcsay 'hi'
wait [$rand.500.1000]
npcsay 'trade'
wait [$rand.500.1000]
wait 600 | countitems 7643 | wait 500
buyitemsupto 7643 [$ultimatehealth] $itemcount.'ultimate health potion'
wait 600 | countitems 7643 | wait 500
buyitemsupto 7643 [$ultimatehealth] $itemcount.'ultimate health potion'
wait 600 | countitems 7643 | wait 500
buyitemsupto 7643 [$ultimatehealth] $itemcount.'ultimate health potion'
wait 600 | countitems 7643 | wait 500
buyitemsupto 7643 [$ultimatehealth] $itemcount.'ultimate health potion'
wait 600 | countitems 7643 | wait 500
buyitemsupto 7643 [$ultimatehealth] $itemcount.'ultimate health potion'
wait 600 | countitems 7643 | wait 500
if [$itemcount.'ultimate health potion' < $ultimatehealth ] gotolabel 'UHP'
GercinoJr- Membro Nv. 1
- Mensagens : 2
Data de inscrição : 06/07/2019
Idade : 29
Re: DUVIDA SOBRE ACTION DE COMPRAR POTION
Funções muito antiga e grande, fale comigo para um codigo mais limpo, baixe um dos meus scripts grautitos e estude por ele, ciroscript.com/forum
Para script privado, veja as funções dele aqui: ciroscript.com/menu
Contato: ciroscript.com/contato
Para script privado, veja as funções dele aqui: ciroscript.com/menu
Contato: ciroscript.com/contato
vilden- Membro Elf - Nv.4
- Mensagens : 61
Data de inscrição : 23/12/2016
Tópicos semelhantes
» Duvida SObre Action no Cave Bot
» Duvida sobre deposit
» Duvida sobre $systime
» Duvida Sobre Script
» [PEDIDO] Comprar Pot + Utana VID !!
» Duvida sobre deposit
» Duvida sobre $systime
» Duvida Sobre Script
» [PEDIDO] Comprar Pot + Utana VID !!
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos
|
|
Qua Jun 24, 2020 6:00 pm por Rulio
» Hotkey Attack Target
Ter maio 05, 2020 12:54 pm por Bruce Willis
» Contador de resets
Sáb maio 02, 2020 11:15 pm por Zakon
» energy ring backpack
Qui Abr 23, 2020 5:23 pm por william9715
» DUVIDA SOBRE ACTION DE COMPRAR POTION
Qua Mar 25, 2020 3:02 am por vilden
» UE SEM PLAYER E PAUSE TARGETING COM PLAYER
Qua Mar 25, 2020 3:01 am por vilden
» SUBSTITUIR UM RING NO SLOT POR OUTRO DEPENDENDO DA VIDA. ME AJUDEM AI POR FAVOR.
Qua Mar 25, 2020 3:01 am por vilden
» HOTKEY PUSH COM LOOK
Qua Mar 25, 2020 2:59 am por vilden
» Pedido Hotkey fast
Qua Abr 24, 2019 10:10 am por vilden