Obsidian Knife E Blessed Wooden Stake

Zozoo
Por Zozoo
em Actions e Talkactions

Zozoo

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 17/07/07Posts: 51Char no Tibia: Elite'Maligno

Bem eu estava vendo os outros post disso e eu não consigui daquele jeitos, dai eu baixei o aries e vou postar aqui os 2 codes funcionando perfeitamente!

Eu fiz isso pra quem usa outro mapa e necessita disso....

 

Antes me mais nada vá na pasta data/actions/script/ "copia algum arquivo e cola abre e remove tudo que tem dentro e poem esses 2" OBS:1 para cada script...

 

 

OBSIDIAN KNIFE:

 

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

if item2.itemid == 0 then

return 0

end

 

random = math.random(1,15)

if getPlayerLevel(cid) >= 8 then

if random == 1 then

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

doSendMagicEffect(topos,13)

if item2.itemid == 2881 then

doPlayerAddItem(cid,5948,1)

elseif item2.itemid == 2830 then

doPlayerAddItem(cid,5878,1)

elseif item2.itemid == 2866 then

doPlayerAddItem(cid,5878,1)

elseif item2.itemid == 2871 then

doPlayerAddItem(cid,5878,1)

elseif item2.itemid == 2876 then

doPlayerAddItem(cid,5878,1)

elseif item2.itemid == 2931 then

doPlayerAddItem(cid,5893,1)

elseif item2.itemid == 3031 then

doPlayerAddItem(cid,5925,1)

elseif item2.itemid == 3104 then

doPlayerAddItem(cid,5877,1)

elseif item2.itemid == 4256 then

doPlayerAddItem(cid,5876,1)

elseif item2.itemid == 4259 then

doPlayerAddItem(cid,5876,1)

elseif item2.itemid == 4262 then

doPlayerAddItem(cid,5876,1)

end

elseif random > 1 then

if item2.itemid == 2881 or item2.itemid == 2830 or item2.itemid == 2866 or item2.itemid == 2871 or item2.itemid == 2876 or item2.itemid == 2931 or item2.itemid == 3031 or item2.itemid == 3104 or item2.itemid == 4256 or item2.itemid == 4259 or item2.itemid == 4262 then

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

doSendMagicEffect(topos,2)

end

end

end

return 1

end

 

 

 

 

BLESSED WOODEN STAKE:

 

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

if item2.itemid == 0 then

return 0

end

 

random = math.random(1,15)

if getPlayerLevel(cid) >= 8 then

if random == 1 then

if item2.itemid == 2916 then

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

doPlayerAddItem(cid,5906,1)

doSendMagicEffect(topos,13)

elseif item2.itemid == 2956 then

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

doPlayerAddItem(cid,5905,1)

doSendMagicEffect(topos,13)

end

elseif random > 1 then

if item2.itemid == 2916 then

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

doSendMagicEffect(topos,2)

elseif item2.itemid == 2956 then

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

doSendMagicEffect(topos,2)

end

end

end

return 1

end

 

 

Depois de ter feito isso vá data/actions/actions.xml abre como bloco de notas

 

e adiciona esses 2:

 

<action itemid="5942" script="blessed wooden stake.lua"/>

<action itemid="5908" script="obsidian knife.lua"/>

 

 

Feito isso agora abra o ot e teste :D

Assinatura antiga danificando o fórum.
Movida para "Sobre mim"

Att,
Henrique Moura.

panda12milo

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 01/03/08Posts: 39Char no Tibia: Não jogo mais

Gostei, parabens cara :smile_positivo:

black789

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 14/05/08Posts: 6

no meu ot ja vem funcionando os 2 + naum sei para q serv o blessed wooden stake alguem pode me responder?





Zozoo

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 17/07/07Posts: 51Char no Tibia: Elite'Maligno

O blessed wooden stake serve pra tira demon dust e vamp dust

 

obsidian knife serve pra tira coro de dragon,dl,bonebeast,behe e lizardz

 

são os itens de addon

Assinatura antiga danificando o fórum.
Movida para "Sobre mim"

Att,
Henrique Moura.

Guiniudes

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 12/01/08Posts: 60

Ai cara vlw eu tava precisando =)

cya

"Only me and no more."

SmokeRZs

avatar
Artesão
Artesão

INFOS

Grupo: ArtesãoRegistrado: 31/05/08Posts: 129

Muito bom, quem usa servidores com addon por items é muito bom..