Preciso Mtoo Disso!

zotumo
Por zotumo
em Lixeira Pública

zotumo

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 01/08/05Posts: 4

Gente ja achei aki no forum mais nao funfa

meu ot eh darkness e talz e nao tem a actions do bless e nem do knife

 

e tbem preciso do The Sweet Cyclops.. qm tiver pelo amor de deus manda aee!!

 

 

 

 

----------------------------------------------------------------------------

 

XD

 

Cesinha o Foda XD

 

 

 

 

^^

DaNDaNrOxX

oi mosso
avatar
Marquês
Marquês

INFOS

Grupo: MarquêsRegistrado: 18/01/08Posts: 1455Char no Tibia: Saint Claire

~> Movido para a seção correta <~

Abraço

 

 

Entrada na equipe: 23/10/2008 Cargo: Estagiário

Promoção: 25/11/2008 Cargo: Moderador

Promoção: 21/10/2009 Cargo: Coordenador

Remoção: 09/05/2010 Motivo: Estudos

Retorno: 15/11/2010 Cargo: Moderador

Remoção: 20/12/2012.

 

 

MUTAN0

The Beast Boy!
avatar
Barão
Barão

INFOS

Grupo: BarãoRegistrado: 07/10/07Posts: 224

Podia ter dito qual a versão do seu Serv, pois isso muda conforme a versão.

Mas vou lhe mostrar um que tenho aqui para versão 8.31 ou mais, espero que funcione para você.

 

blessed_wooden_stake.LUA:

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

if(itemEx.itemid == FALSE) then

return FALSE

end

 

if(getPlayerLevel(cid) >= 2) then

local found = FALSE

local dust = 0

 

if(isInArray({2956}, itemEx.itemid) == TRUE) then

found = TRUE

if(math.random(1,5) == 1) then

dust = 5905

end

elseif(isInArray({2916}, itemEx.itemid) == TRUE) then

found = TRUE

if(math.random(1,5) == 1) then

dust = 5906

end

end

 

if(found == TRUE) then

if(dust == 0) then

doSendMagicEffect(toPosition, CONST_ME_POFF)

else

doSendMagicEffect(toPosition, CONST_ME_GROUNDSHAKER)

doPlayerAddItem(cid, dust, 1)

doSendAnimatedText(fromPosition, 'Success!', TEXTCOLOR_WHITE_EXP);

end

doTransformItem(itemEx.uid, itemEx.itemid + 1)

else

doPlayerSendCancel(cid, "Sorry, not possible.")

end

else

doPlayerSendCancel(cid, "You have to be at least Level 2 to use this tool.")

end

 

return TRUE

end

<action itemid="5942" script="blessed_wooden_stake.lua"/>

 

obsidian_knife.LUA

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

 

if(itemEx.itemid == FALSE) then

return FALSE

end

 

if(getPlayerLevel(cid) >= 2) then

local found = FALSE

local skin = 0

 

if(isInArray({2830, 2871, 2866, 2876, 3090}, itemEx.itemid) == TRUE) then

found = TRUE

if(math.random(1,5) == 1) then

skin = 5878

end

elseif(isInArray({4259, 4262, 4256}, itemEx.itemid) == TRUE) then

found = TRUE

if(math.random(1,5) == 1) then

skin = 5876

end

elseif(isInArray({3104, 2844}, itemEx.itemid) == TRUE) then

found = TRUE

if(math.random(1,5) == 1) then

skin = 5877

end

elseif(isInArray({2881}, itemEx.itemid) == TRUE) then

found = TRUE

if(math.random(1,5) == 1) then

skin = 5948

end

elseif(isInArray({2931}, itemEx.itemid) == TRUE) then

found = TRUE

local rand = math.random(1,10)

if(rand > 8) then

skin = 5893

elseif(rand == 4) then

skin = 5930

end

elseif(isInArray({3031}, itemEx.itemid) == TRUE) then

found = TRUE

if(math.random(1,5) == 1) then

skin = 5925

end

end

 

if(found == TRUE) then

if(skin == 0) then

doSendMagicEffect(toPosition, CONST_ME_POFF)

else

doSendMagicEffect(toPosition, 28)

doPlayerAddItem(cid, skin, 1)

doSendAnimatedText(fromPosition, 'Success!', TEXTCOLOR_WHITE_EXP);

end

doTransformItem(itemEx.uid, itemEx.itemid + 1)

else

doPlayerSendCancel(cid, "Sorry, not possible.")

end

else

doPlayerSendCancel(cid, "You have to be at least Level 2 to use this tool.")

end

return TRUE

end

<action itemid="5908" script="tools/obsidian_knife.lua"/>

 

Use, e diga se funcionou.

Se funcionar reporte o topico como duvida sanada.

Abraços.

71007671.jpg