ele funciona assim: Quando o player é "leigo" em recharge ele tem 10% de chance de conseguir recarregar, a cada skill que ele aumenta, a porcentagem de acerto aumenta em 20% até ele obter 100% de skill e conseguir recarregar todas as soft boots.
pode ser que seja inutil, porém eu to feliz porque eu consegui!! é um script até simples. Vê aí:
1º Vá em data/actions/scripts/others. Lá tem um arquivo chamado softboots.lua. Abra ele e apague o que tiver dentro e cole isto :
--Feito 100% por Apocarai--
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid,5050) == -1 then
if math.random(1,10) == 1 then
doRemoveItem(item.uid,1)
doPlayerAddItem(cid,2640,1)
setPlayerStorageValue(cid,5050,1)
doPlayerSendTextMessage(cid,TALKTYPE_ORANGE_1,'You advanced in recharge skill' )
else
doPlayerSendTextMessage(cid,TALKTYPE_ORANGE_1, 'Opss. You are not specialised yet' )
doPlayerRemoveItem(cid,6530,1)
end
elseif getPlayerStorageValue(cid,5050) == 1 then
if math.random(1,8) == 1 then
doRemoveItem(item.uid,1)
doPlayerAddItem(cid,2640,1)
setPlayerStorageValue(cid,5050,2)
doPlayerSendTextMessage(cid,TALKTYPE_ORANGE_1, 'You advanced in recharge skill' )
else
doPlayerSendTextMessage(cid,TALKTYPE_ORANGE_1, 'Opss. You are not specialised yet' )
doPlayerRemoveItem(cid,6530,1)
end
elseif getPlayerStorageValue(cid,5050) == 2 then
if math.random(1,6) == 1 then
doRemoveItem(item.uid,1)
doPlayerAddItem(cid,2640,1)
setPlayerStorageValue(cid,5050,3)
doPlayerSendTextMessage(cid,TALKTYPE_ORANGE_1, 'You advanced in recharge skill' )
else
doPlayerSendTextMessage(cid,TALKTYPE_ORANGE_1, 'Opss. You are not specialised yet' )
doPlayerRemoveItem(cid,6530,1)
end
elseif getPlayerStorageValue(cid,5050) == 3 then
if math.random(1,4) == 1 then
doRemoveItem(item.uid,1)
doPlayerAddItem(cid,2640,1)
setPlayerStorageValue(cid,5050,4)
doPlayerSendTextMessage(cid,TALKTYPE_ORANGE_1, 'You advanced in recharge skill' )
else
doPlayerSendTextMessage(cid,TALKTYPE_ORANGE_1, 'Opss. You are not specialised yet' )
doPlayerRemoveItem(cid,6530,1)
end
elseif getPlayerStorageValue(cid,5050) == 4 then
if math.random(1,2) == 1 then
doRemoveItem(item.uid,1)
doPlayerAddItem(cid,2640,1)
setPlayerStorageValue(cid,5050,5)
doPlayerSendTextMessage(cid,TALKTYPE_ORANGE_1, 'You advanced in recharge skill' )
else
doPlayerSendTextMessage(cid,TALKTYPE_ORANGE_1, 'Opss. You are not specialised yet' )
doPlayerRemoveItem(cid,6530,1)
end
elseif getPlayerStorageValue(cid,5050) == 5 then
doRemoveItem(item.uid,1)
doPlayerAddItem(cid,2640,1)
doPlayerSendTextMessage(cid,TALKTYPE_ORANGE_1, 'You are specialised in boots recharge' )
end
end
depois salve e feche. Pronto! só ir no seu ot e tentar upar seus skills de recharge
ps: se o ingles das frases estiver errado, consertem por favor pq n sei mta coisa da lingua inglesa
info
Grupo: Visconde
Registrado: 03/02/09
Posts: 361
Reputação: +200
Char no Tibia: Fearless Man
ae gente, script 100% meu e funciona!!
ele funciona assim: Quando o player é "leigo" em recharge ele tem 10% de chance de conseguir recarregar, a cada skill que ele aumenta, a porcentagem de acerto aumenta em 20% até ele obter 100% de skill e conseguir recarregar todas as soft boots.
pode ser que seja inutil, porém eu to feliz porque eu consegui!! é um script até simples. Vê aí:
1º Vá em data/actions/scripts/others. Lá tem um arquivo chamado softboots.lua. Abra ele e apague o que tiver dentro e cole isto :
depois salve e feche. Pronto! só ir no seu ot e tentar upar seus skills de recharge
ps: se o ingles das frases estiver errado, consertem por favor pq n sei mta coisa da lingua inglesa
Comentem
Editado Julho 22 por apocarai