DI
suporte otserv

Alavancas que dá skills

Por diarmaint, 20 de jan. de 2017 em Resolvidos

4
1.5k
diarmaintD
20 de janeiro de 2017 às 22:53


Olá galera, Tô precisando de um script, se alguém puder me ajudar agradeço desde já. (não precisa cobrar rep, se me ajudar eu vou dar rep+ sim.)




Alavanca que quando usada dá skills/ml. uso e deixa todos os skill 100/ml 100..




 


Editado Janeiro 25 por diarmaint

1 mês depois...
CrypterC
24 de fevereiro de 2017 às 18:47
Melhor resposta

 

Em 20/01/2017 at 22:53, diarmaint disse:

 

Olá galera, Tô precisando de um script, se alguém puder me ajudar agradeço desde já. (não precisa cobrar rep, se me ajudar eu vou dar rep+ sim.)

 

 

Alavanca que quando usada dá skills/ml. uso e deixa todos os skill 100/ml 100..

 

 

 

 

 

  1. function onUse(cid, item, fromPosition, itemEx, toPosition)

  2. local Gain = 1

local Stor = 67853

if getPlayerStorageValue(cid, Stor) >= 1 then

doPlayerSendCancel(cid, "it's not possible")

else

doPlayerAddSkill(cid, 0, Gain)

doPlayerAddSkill(cid, 1, Gain)

doPlayerAddSkill(cid, 2, Gain)

doPlayerAddSkill(cid, 3, Gain)

doPlayerAddSkill(cid, 4, Gain)

doPlayerAddSkill(cid, 5, Gain)

doPlayerAddSkill(cid, 6, Gain)

doPlayerSetMagicLevel(cid, Gain)

doPlayerSetStorageValue(cid, Stor, 1)

end

end

diarmaintD
24 de fevereiro de 2017 às 19:43

01 Mês depois aparece uma alma pra ajudar, Aleluia!!!

CrypterC
24 de fevereiro de 2017 às 19:44
Agora, diarmaint disse:

01 Mês depois aparece uma alma pra ajudar, Aleluia!!!

Desculpe a demora entrei ontem para o mundo do xtibia se precisar de mais algo to ai meu parça <3