pb

DUVIDA SOBRE ACTION DE COMPRAR POTION

Ver o tópico anterior Ver o tópico seguinte Ir para baixo

DUVIDA SOBRE ACTION DE COMPRAR POTION Empty DUVIDA SOBRE ACTION DE COMPRAR POTION

Mensagem por tiojota Seg Dez 24, 2018 4:22 pm

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!
tiojota

tiojota
Membro Nv. 2
Membro Nv. 2

Mensagens : 3
Data de inscrição : 24/12/2018

Ir para o topo Ir para baixo

DUVIDA SOBRE ACTION DE COMPRAR POTION Empty Re: DUVIDA SOBRE ACTION DE COMPRAR POTION

Mensagem por tiojota Ter Dez 25, 2018 1:58 pm

up
tiojota

tiojota
Membro Nv. 2
Membro Nv. 2

Mensagens : 3
Data de inscrição : 24/12/2018

Ir para o topo Ir para baixo

DUVIDA SOBRE ACTION DE COMPRAR POTION Empty Re: DUVIDA SOBRE ACTION DE COMPRAR POTION

Mensagem por tiojota Qua Dez 26, 2018 11:27 pm

up por favor me ajudem com essa duvida
tiojota

tiojota
Membro Nv. 2
Membro Nv. 2

Mensagens : 3
Data de inscrição : 24/12/2018

Ir para o topo Ir para baixo

DUVIDA SOBRE ACTION DE COMPRAR POTION Empty Re: DUVIDA SOBRE ACTION DE COMPRAR POTION

Mensagem por vilden Qua Abr 24, 2019 10:06 am

Sim é possivel, baixe um dos meus scripts gratuitos e estude-os, la tem essas actions..

CiroScript.com/forum


La ja tem alguns prontos de varios servidores.. Mega, under, globalwar, baiak ilusion, etc
vilden

vilden
Membro Elf - Nv.4
Membro Elf - Nv.4

Mensagens : 61
Data de inscrição : 23/12/2016

Ir para o topo Ir para baixo

DUVIDA SOBRE ACTION DE COMPRAR POTION Empty Re: DUVIDA SOBRE ACTION DE COMPRAR POTION

Mensagem por GercinoJr Ter Jul 16, 2019 1:37 pm

--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'
GercinoJr

GercinoJr
Membro Nv. 1
Membro Nv. 1

Mensagens : 2
Data de inscrição : 06/07/2019
Idade : 29

Ir para o topo Ir para baixo

DUVIDA SOBRE ACTION DE COMPRAR POTION Empty Re: DUVIDA SOBRE ACTION DE COMPRAR POTION

Mensagem por vilden Qua Mar 25, 2020 3:02 am

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
vilden

vilden
Membro Elf - Nv.4
Membro Elf - Nv.4

Mensagens : 61
Data de inscrição : 23/12/2016

Ir para o topo Ir para baixo

DUVIDA SOBRE ACTION DE COMPRAR POTION Empty Re: DUVIDA SOBRE ACTION DE COMPRAR POTION

Mensagem por Conteúdo patrocinado


Conteúdo patrocinado


Ir para o topo Ir para baixo

Ver o tópico anterior Ver o tópico seguinte Ir para o topo

- Tópicos semelhantes

 
Permissões neste sub-fórum
Não podes responder a tópicos