Ir para conteúdo

Ajuda Ae Fazendo Um Favor


skarfax

Posts Recomendados

Eae galera , tudo bem com vocêis ?!

então,venho por meio deste comunicar aos superiores

que presciso de uma ajuda relacionado nos potions .

 

Pois bem,venho acompanhando trabalhos em otservers,

tutoriais,relacionados a qualquer tipo de assunto sobre OT,

e não encontrei um relacionado a potions,no qual o mesmo fale sobre

como deixar as potions infinitas.

 

Eu possuo um server 8.31 e tals,e gostaria de deixar as potions infinitas,

tem como me ajudarem nisso ?!

Segue o scripit de alguma das potions ( no caso a Great Potion ) :

 

local greatEmptyPot = 7635

 

function onUse(cid, item, frompos, item2, topos)

mag = getPlayerMagLevel(cid)

if getPlayerLevel(cid) < 80 then

doSendMagicEffect(frompos,2)

doPlayerSendCancel(cid,"This potion can only be consumed by paladins and knights of level 80 or higher.")

return 1

end

if getPlayerVocation(cid) == 3 or getPlayerVocation(cid) == 4 or getPlayerVocation(cid) == 7 or getPlayerVocation(cid) == 8 then

doSendAnimatedText(getPlayerPosition(cid), "Aaaah...", TEXTCOLOR_ORANGE)

if(doTargetCombatHealth(0, cid, COMBAT_HEALING, 500, 1000, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then

return FALSE

end

doTransformItem(item.uid, greatEmptyPot)

else

doSendMagicEffect(frompos,2)

doPlayerSendCancel(cid,"This potion can only be consumed by paladins and knights of level 80 or higher.")

end

return 1

end

 

Se puderem me ajudar,

serei eternamente grato !

Atenciosamente,

Skarfax :)

 

Bom Dia a todos :)

Link para o comentário
Compartilhar em outros sites

Oi :]

tipo da uma olhada nesse topic aqui :

Deixar pots infinitos

flws ^^

 

 

Entãão,valeu ai pela ajuda flipper

valeu mesmo,deu pra ter uma idéia de como vai ser

mais tipo,eu mudei aqui e continuo a mesma,não funfo nao

axo qe tem qe ser no scripit do ot,e eu nao intendo disso !

 

Obrigado pela atenção !

Regards,

Skarfax

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...