Obsidian Knife

pedroddcunha
em Actions e Talkactions

pedroddcunha

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 16/01/06Posts: 7

Ae

Me baseiei num topic aqui de uma cara que fez 7.6

Adicione isso em actions.xml

 

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

 

Adicione isso na pasta data > actions > scrips com o nome obsidian knife.lua

 

--Action By BrunuxXfunction onUse(cid, item, frompos, item2, topos)if item2.itemid == 0 thenreturn 0endrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 2881 and random == 1 thendoTransformItem(item2.uid,2882)doPlayerAddItem(cid,5948,1)elseif item2.itemid == 2881 and random == 2 thendoTransformItem(item2.uid,2882)elseif item2.itemid == 2881 and random == 3 thendoTransformItem(item2.uid,2882)elseif item2.itemid == 2881 and random == 4 thendoTransformItem(item2.uid,2882)elseif item2.itemid == 2881 and random == 5 thendoTransformItem(item2.uid,2882)elseif item2.itemid == 2881 and random == 6 thendoTransformItem(item2.uid,2882)elseif item2.itemid == 2881 and random == 7 thendoTransformItem(item2.uid,2882)elseif item2.itemid == 2881 and random == 8 thendoTransformItem(item2.uid,2882)elseif item2.itemid == 2881 and random == 9 thendoTransformItem(item2.uid,2882)elseif item2.itemid == 2881 and random == 10 thendoTransformItem(item2.uid,2882)elseif item2.itemid == 2881 and random == 11 thendoTransformItem(item2.uid,2882)elseif item2.itemid == 2881 and random == 12 thendoTransformItem(item2.uid,2882)elseif item2.itemid == 2881 and random == 13 thendoTransformItem(item2.uid,2882)elseif item2.itemid == 2881 and random == 14 thendoTransformItem(item2.uid,2882)elseif item2.itemid == 2881 and random == 15 thendoTransformItem(item2.uid,2882)endendrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 3104 and random == 1 thendoTransformItem(item2.uid,3105)doPlayerAddItem(cid,5877,1)elseif item2.itemid == 3104 and random == 2 thendoTransformItem(item2.uid,3105)elseif item2.itemid == 3104 and random == 3 thendoTransformItem(item2.uid,3105)elseif item2.itemid == 3104 and random == 4 thendoTransformItem(item2.uid,2845)elseif item2.itemid == 3104 and random == 5 thendoTransformItem(item2.uid,3105)elseif item2.itemid == 3104 and random == 6 thendoTransformItem(item2.uid,3105)elseif item2.itemid == 3104 and random == 7 thendoTransformItem(item2.uid,3105)elseif item2.itemid == 3104 and random == 8 thendoTransformItem(item2.uid,3105)elseif item2.itemid == 3104 and random == 9 thendoTransformItem(item2.uid,3105)elseif item2.itemid == 3104 and random == 10 thendoTransformItem(item2.uid,3105)elseif item2.itemid == 3104 and random == 11 thendoTransformItem(item2.uid,3105)elseif item2.itemid == 3104 and random == 12 thendoTransformItem(item2.uid,3105)elseif item2.itemid == 3104 and random == 13 thendoTransformItem(item2.uid,3105)elseif item2.itemid == 3104 and random == 14 thendoTransformItem(item2.uid,3105)elseif item2.itemid == 3104 and random == 15 thendoTransformItem(item2.uid,3105)endendrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 2830 and random == 1 thendoTransformItem(item2.uid,2831)doPlayerAddItem(cid,5878,1)elseif item2.itemid == 2830 and random == 2 thendoTransformItem(item2.uid,2831)elseif item2.itemid == 2830 and random == 3 thendoTransformItem(item2.uid,2831)elseif item2.itemid == 2830 and random == 4 thendoTransformItem(item2.uid,2831)elseif item2.itemid == 2830 and random == 5 thendoTransformItem(item2.uid,2831)elseif item2.itemid == 2830 and random == 6 thendoTransformItem(item2.uid,2831)elseif item2.itemid == 2830 and random == 7 thendoTransformItem(item2.uid,2831)elseif item2.itemid == 2830 and random == 8 thendoTransformItem(item2.uid,2831)elseif item2.itemid == 2830 and random == 9 thendoTransformItem(item2.uid,2831)elseif item2.itemid == 2830 and random == 10 thendoTransformItem(item2.uid,2831)elseif item2.itemid == 2830 and random == 12 thendoTransformItem(item2.uid,2831)elseif item2.itemid == 2830 and random == 13 thendoTransformItem(item2.uid,2831)elseif item2.itemid == 2830 and random == 14 thendoTransformItem(item2.uid,2831)elseif item2.itemid == 2830 and random == 15 thendoTransformItem(item2.uid,2831)endendrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 2876 and random == 1 thendoTransformItem(item2.uid,2877)doPlayerAddItem(cid,5878,1)elseif item2.itemid == 2876 and random == 2 thendoTransformItem(item2.uid,2877)elseif item2.itemid == 2876 and random == 3 thendoTransformItem(item2.uid,2877)elseif item2.itemid == 2876 and random == 4 thendoTransformItem(item2.uid,2877)elseif item2.itemid == 2876 and random == 5 thendoTransformItem(item2.uid,2877)elseif item2.itemid == 2876 and random == 6 thendoTransformItem(item2.uid,2877)elseif item2.itemid == 2876 and random == 7 thendoTransformItem(item2.uid,2877)elseif item2.itemid == 2876 and random == 8 thendoTransformItem(item2.uid,2877)elseif item2.itemid == 2876 and random == 9 thendoTransformItem(item2.uid,2877)elseif item2.itemid == 2876 and random == 10 thendoTransformItem(item2.uid,2877)elseif item2.itemid == 2876 and random == 11 thendoTransformItem(item2.uid,2877)elseif item2.itemid == 2876 and random == 12 thendoTransformItem(item2.uid,2877)elseif item2.itemid == 2876 and random == 13 thendoTransformItem(item2.uid,2877)elseif item2.itemid == 2876 and random == 14 thendoTransformItem(item2.uid,2877)elseif item2.itemid == 2876 and random == 15 thendoTransformItem(item2.uid,2877)endendrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 2871 and random == 1 thendoTransformItem(item2.uid,2872)doPlayerAddItem(cid,5878,1)elseif item2.itemid == 2871 and random == 2 thendoTransformItem(item2.uid,2872)elseif item2.itemid == 2871 and random == 3 thendoTransformItem(item2.uid,2872)elseif item2.itemid == 2871 and random == 4 thendoTransformItem(item2.uid,2872)elseif item2.itemid == 2871 and random == 5 thendoTransformItem(item2.uid,2872)elseif item2.itemid == 2871 and random == 6 thendoTransformItem(item2.uid,2872)elseif item2.itemid == 2871 and random == 7 thendoTransformItem(item2.uid,2872)elseif item2.itemid == 2871 and random == 8 thendoTransformItem(item2.uid,2872)elseif item2.itemid == 2871 and random == 9 thendoTransformItem(item2.uid,2872)elseif item2.itemid == 2871 and random == 10 thendoTransformItem(item2.uid,2872)elseif item2.itemid == 2871 and random == 11 thendoTransformItem(item2.uid,2872)elseif item2.itemid == 2871 and random == 12 thendoTransformItem(item2.uid,2872)elseif item2.itemid == 2871 and random == 13 thendoTransformItem(item2.uid,2872)elseif item2.itemid == 2871 and random == 14 thendoTransformItem(item2.uid,2872)elseif item2.itemid == 2871 and random == 15 thendoTransformItem(item2.uid,2872)endendrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 2866 and random == 1 thendoTransformItem(item2.uid,2867)doPlayerAddItem(cid,5878,1)elseif item2.itemid == 2866 and random == 2 thendoTransformItem(item2.uid,2867)elseif item2.itemid == 2866 and random == 3 thendoTransformItem(item2.uid,2867)elseif item2.itemid == 2866 and random == 4 thendoTransformItem(item2.uid,2867)elseif item2.itemid == 2866 and random == 5 thendoTransformItem(item2.uid,2867)elseif item2.itemid == 2866 and random == 6 thendoTransformItem(item2.uid,2867)elseif item2.itemid == 2866 and random == 7 thendoTransformItem(item2.uid,2867)elseif item2.itemid == 2866 and random == 8 thendoTransformItem(item2.uid,2867)elseif item2.itemid == 2866 and random == 9 thendoTransformItem(item2.uid,2867)elseif item2.itemid == 2866 and random == 10 thendoTransformItem(item2.uid,2867)elseif item2.itemid == 2866 and random == 11 thendoTransformItem(item2.uid,2867)elseif item2.itemid == 2866 and random == 12 thendoTransformItem(item2.uid,2867)elseif item2.itemid == 2866 and random == 13 thendoTransformItem(item2.uid,2867)elseif item2.itemid == 2866 and random == 14 thendoTransformItem(item2.uid,2867)elseif item2.itemid == 2866 and random == 15 thendoTransformItem(item2.uid,2867)endendrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 4256 and random == 1 thendoTransformItem(item2.uid,4257)doPlayerAddItem(cid,5876,1)elseif item2.itemid == 4256 and random == 2 thendoTransformItem(item2.uid,4257)elseif item2.itemid == 4256 and random == 3 thendoTransformItem(item2.uid,4257)elseif item2.itemid == 4256 and random == 4 thendoTransformItem(item2.uid,4257)elseif item2.itemid == 4256 and random == 5 thendoTransformItem(item2.uid,4257)elseif item2.itemid == 4256 and random == 6 thendoTransformItem(item2.uid,4257)elseif item2.itemid == 4256 and random == 7 thendoTransformItem(item2.uid,4257)elseif item2.itemid == 4256 and random == 8 thendoTransformItem(item2.uid,4257)elseif item2.itemid == 4256 and random == 9 thendoTransformItem(item2.uid,4257)elseif item2.itemid == 4256 and random == 10 thendoTransformItem(item2.uid,4257)elseif item2.itemid == 4256 and random == 11 thendoTransformItem(item2.uid,4257)elseif item2.itemid == 4256 and random == 12 thendoTransformItem(item2.uid,4257)elseif item2.itemid == 4256 and random == 13 thendoTransformItem(item2.uid,4257)elseif item2.itemid == 4256 and random == 14 thendoTransformItem(item2.uid,4257)elseif item2.itemid == 4256 and random == 15 thendoTransformItem(item2.uid,4257)endendrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 4259 and random == 1 thendoTransformItem(item2.uid,4260)doPlayerAddItem(cid,5876,1)elseif item2.itemid == 4259 and random == 2 thendoTransformItem(item2.uid,4260)elseif item2.itemid == 4259 and random == 3 thendoTransformItem(item2.uid,4260)elseif item2.itemid == 4259 and random == 4 thendoTransformItem(item2.uid,4260)elseif item2.itemid == 4259 and random == 5 thendoTransformItem(item2.uid,4260)elseif item2.itemid == 4259 and random == 6 thendoTransformItem(item2.uid,4260)elseif item2.itemid == 4259 and random == 7 thendoTransformItem(item2.uid,4260)elseif item2.itemid == 4259 and random == 8 thendoTransformItem(item2.uid,4260)elseif item2.itemid == 4259 and random == 9 thendoTransformItem(item2.uid,4260)elseif item2.itemid == 4259 and random == 10 thendoTransformItem(item2.uid,4260)elseif item2.itemid == 4259 and random == 11 thendoTransformItem(item2.uid,4260)elseif item2.itemid == 4259 and random == 12 thendoTransformItem(item2.uid,4260)elseif item2.itemid == 4259 and random == 13 thendoTransformItem(item2.uid,4260)elseif item2.itemid == 4259 and random == 14 thendoTransformItem(item2.uid,4260)elseif item2.itemid == 4259 and random == 15 thendoTransformItem(item2.uid,4260)endendrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 4262 and random == 1 thendoTransformItem(item2.uid,4263)doPlayerAddItem(cid,5876,1)elseif item2.itemid == 4262 and random == 2 thendoTransformItem(item2.uid,4263)elseif item2.itemid == 4262 and random == 3 thendoTransformItem(item2.uid,4263)elseif item2.itemid == 4262 and random == 4 thendoTransformItem(item2.uid,4263)elseif item2.itemid == 4262 and random == 5 thendoTransformItem(item2.uid,4263)elseif item2.itemid == 4262 and random == 6 thendoTransformItem(item2.uid,4263)elseif item2.itemid == 4262 and random == 7 thendoTransformItem(item2.uid,4263)elseif item2.itemid == 4262 and random == 8 thendoTransformItem(item2.uid,4263)elseif item2.itemid == 4262 and random == 9 thendoTransformItem(item2.uid,4263)elseif item2.itemid == 4262 and random == 10 thendoTransformItem(item2.uid,4263)elseif item2.itemid == 4262 and random == 11 thendoTransformItem(item2.uid,4263)elseif item2.itemid == 4262 and random == 12 thendoTransformItem(item2.uid,4263)elseif item2.itemid == 4262 and random == 13 thendoTransformItem(item2.uid,4263)elseif item2.itemid == 4262 and random == 14 thendoTransformItem(item2.uid,4263)elseif item2.itemid == 4262 and random == 15 thendoTransformItem(item2.uid,4263)endendreturn 1end

 

Quero arruma de todos os bixos que dá para usar a Obsidian Knife

Minotaur.. Lizard..

Funfando, eu mesmo testei

Espero que se divirtam

Fui

Edit ------------

Arrumei, estão todos bixos funcionando

Minotaur's.. Lizard's.. e Dragon's e Dragon Lord's

tibiaa4e

Ex amante de Tibia
avatar
Conde
Conde

INFOS

Grupo: CondeRegistrado: 18/12/05Posts: 912Gênero: MasculinoChar no Tibia: Kohzete

eu percebi q faltava o behemoth e o bone beast

ai editei e tbm essa ta 3 chanches ao inves de 1 pq com uma de vez em quando buga...

--Action By BrunuxX edit by ta4e

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 item2.itemid == 2881 and random == 1 then

doTransformItem(item2.uid,2882)

doPlayerAddItem(cid,5948,1)

elseif item2.itemid == 2881 and random == 2 then

doTransformItem(item2.uid,2882)

elseif item2.itemid == 2881 and random == 3 then

doTransformItem(item2.uid,2882)

elseif item2.itemid == 2881 and random == 4 then

doTransformItem(item2.uid,2882)

elseif item2.itemid == 2881 and random == 5 then

doTransformItem(item2.uid,2882)

elseif item2.itemid == 2881 and random == 6 then

doTransformItem(item2.uid,2882)

elseif item2.itemid == 2881 and random == 7 then

doTransformItem(item2.uid,2882)

elseif item2.itemid == 2881 and random == 8 then

doTransformItem(item2.uid,2882)

doPlayerAddItem(cid,5948,1)

elseif item2.itemid == 2881 and random == 9 then

doTransformItem(item2.uid,2882)

elseif item2.itemid == 2881 and random == 10 then

doTransformItem(item2.uid,2882)

elseif item2.itemid == 2881 and random == 11 then

doTransformItem(item2.uid,2882)

elseif item2.itemid == 2881 and random == 12 then

doTransformItem(item2.uid,2882)

elseif item2.itemid == 2881 and random == 13 then

doTransformItem(item2.uid,2882)

doPlayerAddItem(cid,5948,1)

elseif item2.itemid == 2881 and random == 14 then

doTransformItem(item2.uid,2882)

elseif item2.itemid == 2881 and random == 15 then

doTransformItem(item2.uid,2882)

end

end

random = math.random(1,15)

if getPlayerLevel(cid) >= 8 then

if item2.itemid == 3104 and random == 1 then

doTransformItem(item2.uid,3105)

doPlayerAddItem(cid,5877,1)

elseif item2.itemid == 3104 and random == 2 then

doTransformItem(item2.uid,3105)

elseif item2.itemid == 3104 and random == 3 then

doTransformItem(item2.uid,3105)

elseif item2.itemid == 3104 and random == 4 then

doTransformItem(item2.uid,2845)

elseif item2.itemid == 3104 and random == 5 then

doTransformItem(item2.uid,3105)

elseif item2.itemid == 3104 and random == 6 then

doTransformItem(item2.uid,3105)

elseif item2.itemid == 3104 and random == 7 then

doTransformItem(item2.uid,3105)

elseif item2.itemid == 3104 and random == 8 then

doTransformItem(item2.uid,3105)

doPlayerAddItem(cid,5877,1)

elseif item2.itemid == 3104 and random == 9 then

doTransformItem(item2.uid,3105)

elseif item2.itemid == 3104 and random == 10 then

doTransformItem(item2.uid,3105)

elseif item2.itemid == 3104 and random == 11 then

doTransformItem(item2.uid,3105)

elseif item2.itemid == 3104 and random == 12 then

doTransformItem(item2.uid,3105)

elseif item2.itemid == 3104 and random == 13 then

doTransformItem(item2.uid,3105)

doPlayerAddItem(cid,5877,1)

elseif item2.itemid == 3104 and random == 14 then

doTransformItem(item2.uid,3105)

elseif item2.itemid == 3104 and random == 15 then

doTransformItem(item2.uid,3105)

end

end

random = math.random(1,15)

if getPlayerLevel(cid) >= 8 then

if item2.itemid == 2830 and random == 1 then

doTransformItem(item2.uid,2831)

doPlayerAddItem(cid,5878,1)

elseif item2.itemid == 2830 and random == 2 then

doTransformItem(item2.uid,2831)

elseif item2.itemid == 2830 and random == 3 then

doTransformItem(item2.uid,2831)

elseif item2.itemid == 2830 and random == 4 then

doTransformItem(item2.uid,2831)

elseif item2.itemid == 2830 and random == 5 then

doTransformItem(item2.uid,2831)

elseif item2.itemid == 2830 and random == 6 then

doTransformItem(item2.uid,2831)

elseif item2.itemid == 2830 and random == 7 then

doTransformItem(item2.uid,2831)

elseif item2.itemid == 2830 and random == 8 then

doTransformItem(item2.uid,2831)

doPlayerAddItem(cid,5878,1)

elseif item2.itemid == 2830 and random == 9 then

doTransformItem(item2.uid,2831)

elseif item2.itemid == 2830 and random == 10 then

doTransformItem(item2.uid,2831)

elseif item2.itemid == 2830 and random == 12 then

doTransformItem(item2.uid,2831)

elseif item2.itemid == 2830 and random == 13 then

doTransformItem(item2.uid,2831)

doPlayerAddItem(cid,5878,1)

elseif item2.itemid == 2830 and random == 14 then

doTransformItem(item2.uid,2831)

elseif item2.itemid == 2830 and random == 15 then

doTransformItem(item2.uid,2831)

end

end

random = math.random(1,15)

if getPlayerLevel(cid) >= 8 then

if item2.itemid == 2876 and random == 1 then

doTransformItem(item2.uid,2877)

doPlayerAddItem(cid,5878,1)

elseif item2.itemid == 2876 and random == 2 then

doTransformItem(item2.uid,2877)

elseif item2.itemid == 2876 and random == 3 then

doTransformItem(item2.uid,2877)

elseif item2.itemid == 2876 and random == 4 then

doTransformItem(item2.uid,2877)

elseif item2.itemid == 2876 and random == 5 then

doTransformItem(item2.uid,2877)

elseif item2.itemid == 2876 and random == 6 then

doTransformItem(item2.uid,2877)

elseif item2.itemid == 2876 and random == 7 then

doTransformItem(item2.uid,2877)

elseif item2.itemid == 2876 and random == 8 then

doTransformItem(item2.uid,2877)

doPlayerAddItem(cid,5878,1)

elseif item2.itemid == 2876 and random == 9 then

doTransformItem(item2.uid,2877)

elseif item2.itemid == 2876 and random == 10 then

doTransformItem(item2.uid,2877)

elseif item2.itemid == 2876 and random == 11 then

doTransformItem(item2.uid,2877)

elseif item2.itemid == 2876 and random == 12 then

doTransformItem(item2.uid,2877)

elseif item2.itemid == 2876 and random == 13 then

doTransformItem(item2.uid,2877)

doPlayerAddItem(cid,5878,1)

elseif item2.itemid == 2876 and random == 14 then

doTransformItem(item2.uid,2877)

elseif item2.itemid == 2876 and random == 15 then

doTransformItem(item2.uid,2877)

end

end

random = math.random(1,15)

if getPlayerLevel(cid) >= 8 then

if item2.itemid == 2871 and random == 1 then

doTransformItem(item2.uid,2872)

doPlayerAddItem(cid,5878,1)

elseif item2.itemid == 2871 and random == 2 then

doTransformItem(item2.uid,2872)

elseif item2.itemid == 2871 and random == 3 then

doTransformItem(item2.uid,2872)

elseif item2.itemid == 2871 and random == 4 then

doTransformItem(item2.uid,2872)

elseif item2.itemid == 2871 and random == 5 then

doTransformItem(item2.uid,2872)

elseif item2.itemid == 2871 and random == 6 then

doTransformItem(item2.uid,2872)

elseif item2.itemid == 2871 and random == 7 then

doTransformItem(item2.uid,2872)

elseif item2.itemid == 2871 and random == 8 then

doTransformItem(item2.uid,2872)

doPlayerAddItem(cid,5878,1)

elseif item2.itemid == 2871 and random == 9 then

doTransformItem(item2.uid,2872)

elseif item2.itemid == 2871 and random == 10 then

doTransformItem(item2.uid,2872)

elseif item2.itemid == 2871 and random == 11 then

doTransformItem(item2.uid,2872)

elseif item2.itemid == 2871 and random == 12 then

doTransformItem(item2.uid,2872)

elseif item2.itemid == 2871 and random == 13 then

doTransformItem(item2.uid,2872)

doPlayerAddItem(cid,5878,1)

elseif item2.itemid == 2871 and random == 14 then

doTransformItem(item2.uid,2872)

elseif item2.itemid == 2871 and random == 15 then

doTransformItem(item2.uid,2872)

end

end

random = math.random(1,15)

if getPlayerLevel(cid) >= 8 then

if item2.itemid == 2866 and random == 1 then

doTransformItem(item2.uid,2867)

doPlayerAddItem(cid,5878,1)

elseif item2.itemid == 2866 and random == 2 then

doTransformItem(item2.uid,2867)

elseif item2.itemid == 2866 and random == 3 then

doTransformItem(item2.uid,2867)

elseif item2.itemid == 2866 and random == 4 then

doTransformItem(item2.uid,2867)

elseif item2.itemid == 2866 and random == 5 then

doTransformItem(item2.uid,2867)

elseif item2.itemid == 2866 and random == 6 then

doTransformItem(item2.uid,2867)

elseif item2.itemid == 2866 and random == 7 then

doTransformItem(item2.uid,2867)

elseif item2.itemid == 2866 and random == 8 then

doTransformItem(item2.uid,2867)

doPlayerAddItem(cid,5878,1)

elseif item2.itemid == 2866 and random == 9 then

doTransformItem(item2.uid,2867)

elseif item2.itemid == 2866 and random == 10 then

doTransformItem(item2.uid,2867)

elseif item2.itemid == 2866 and random == 11 then

doTransformItem(item2.uid,2867)

elseif item2.itemid == 2866 and random == 12 then

doTransformItem(item2.uid,2867)

elseif item2.itemid == 2866 and random == 13 then

doTransformItem(item2.uid,2867)

doPlayerAddItem(cid,5878,1)

elseif item2.itemid == 2866 and random == 14 then

doTransformItem(item2.uid,2867)

elseif item2.itemid == 2866 and random == 15 then

doTransformItem(item2.uid,2867)

end

end

random = math.random(1,15)

if getPlayerLevel(cid) >= 8 then

if item2.itemid == 4256 and random == 1 then

doTransformItem(item2.uid,4257)

doPlayerAddItem(cid,5876,1)

elseif item2.itemid == 4256 and random == 2 then

doTransformItem(item2.uid,4257)

elseif item2.itemid == 4256 and random == 3 then

doTransformItem(item2.uid,4257)

elseif item2.itemid == 4256 and random == 4 then

doTransformItem(item2.uid,4257)

elseif item2.itemid == 4256 and random == 5 then

doTransformItem(item2.uid,4257)

elseif item2.itemid == 4256 and random == 6 then

doTransformItem(item2.uid,4257)

elseif item2.itemid == 4256 and random == 7 then

doTransformItem(item2.uid,4257)

elseif item2.itemid == 4256 and random == 8 then

doTransformItem(item2.uid,4257)

doPlayerAddItem(cid,5876,1)

elseif item2.itemid == 4256 and random == 9 then

doTransformItem(item2.uid,4257)

elseif item2.itemid == 4256 and random == 10 then

doTransformItem(item2.uid,4257)

elseif item2.itemid == 4256 and random == 11 then

doTransformItem(item2.uid,4257)

elseif item2.itemid == 4256 and random == 12 then

doTransformItem(item2.uid,4257)

elseif item2.itemid == 4256 and random == 13 then

doTransformItem(item2.uid,4257)

doPlayerAddItem(cid,5876,1)

elseif item2.itemid == 4256 and random == 14 then

doTransformItem(item2.uid,4257)

elseif item2.itemid == 4256 and random == 15 then

doTransformItem(item2.uid,4257)

end

end

random = math.random(1,15)

if getPlayerLevel(cid) >= 8 then

if item2.itemid == 4259 and random == 1 then

doTransformItem(item2.uid,4260)

doPlayerAddItem(cid,5876,1)

elseif item2.itemid == 4259 and random == 2 then

doTransformItem(item2.uid,4260)

elseif item2.itemid == 4259 and random == 3 then

doTransformItem(item2.uid,4260)

elseif item2.itemid == 4259 and random == 4 then

doTransformItem(item2.uid,4260)

elseif item2.itemid == 4259 and random == 5 then

doTransformItem(item2.uid,4260)

elseif item2.itemid == 4259 and random == 6 then

doTransformItem(item2.uid,4260)

elseif item2.itemid == 4259 and random == 7 then

doTransformItem(item2.uid,4260)

elseif item2.itemid == 4259 and random == 8 then

doTransformItem(item2.uid,4260)

doPlayerAddItem(cid,5876,1)

elseif item2.itemid == 4259 and random == 9 then

doTransformItem(item2.uid,4260)

elseif item2.itemid == 4259 and random == 10 then

doTransformItem(item2.uid,4260)

elseif item2.itemid == 4259 and random == 11 then

doTransformItem(item2.uid,4260)

elseif item2.itemid == 4259 and random == 12 then

doTransformItem(item2.uid,4260)

elseif item2.itemid == 4259 and random == 13 then

doTransformItem(item2.uid,4260)

doPlayerAddItem(cid,5876,1)

elseif item2.itemid == 4259 and random == 14 then

doTransformItem(item2.uid,4260)

elseif item2.itemid == 4259 and random == 15 then

doTransformItem(item2.uid,4260)

end

end

random = math.random(1,15)

if getPlayerLevel(cid) >= 8 then

if item2.itemid == 4262 and random == 1 then

doTransformItem(item2.uid,4263)

doPlayerAddItem(cid,5876,1)

elseif item2.itemid == 4262 and random == 2 then

doTransformItem(item2.uid,4263)

elseif item2.itemid == 4262 and random == 3 then

doTransformItem(item2.uid,4263)

elseif item2.itemid == 4262 and random == 4 then

doTransformItem(item2.uid,4263)

elseif item2.itemid == 4262 and random == 5 then

doTransformItem(item2.uid,4263)

elseif item2.itemid == 4262 and random == 6 then

doTransformItem(item2.uid,4263)

elseif item2.itemid == 4262 and random == 7 then

doTransformItem(item2.uid,4263)

elseif item2.itemid == 4262 and random == 8 then

doTransformItem(item2.uid,4263)

doPlayerAddItem(cid,5876,1)

elseif item2.itemid == 4262 and random == 9 then

doTransformItem(item2.uid,4263)

elseif item2.itemid == 4262 and random == 10 then

doTransformItem(item2.uid,4263)

elseif item2.itemid == 4262 and random == 11 then

doTransformItem(item2.uid,4263)

elseif item2.itemid == 4262 and random == 12 then

doTransformItem(item2.uid,4263)

elseif item2.itemid == 4262 and random == 13 then

doTransformItem(item2.uid,4263)

doPlayerAddItem(cid,5876,1)

elseif item2.itemid == 4262 and random == 14 then

doTransformItem(item2.uid,4263)

elseif item2.itemid == 4262 and random == 15 then

doTransformItem(item2.uid,4263)

end

end

random = math.random(1,15)

if getPlayerLevel(cid) >= 8 then

if item2.itemid == 2931 and random == 1 then

doTransformItem(item2.uid,2932)

doPlayerAddItem(cid,5893,1)

elseif item2.itemid == 2931 and random == 2 then

doTransformItem(item2.uid,2932)

elseif item2.itemid == 2931 and random == 3 then

doTransformItem(item2.uid,2932)

elseif item2.itemid == 2931 and random == 4 then

doTransformItem(item2.uid,2932)

elseif item2.itemid == 2931 and random == 5 then

doTransformItem(item2.uid,2932)

elseif item2.itemid == 2931 and random == 6 then

doTransformItem(item2.uid,2932)

elseif item2.itemid == 2931 and random == 7 then

doTransformItem(item2.uid,2932)

elseif item2.itemid == 2931 and random == 8 then

doTransformItem(item2.uid,2932)

doPlayerAddItem(cid,5893,1)

elseif item2.itemid == 2931 and random == 9 then

doTransformItem(item2.uid,2932)

elseif item2.itemid == 2931 and random == 10 then

doTransformItem(item2.uid,2932)

elseif item2.itemid == 2931 and random == 11 then

doTransformItem(item2.uid,2932)

elseif item2.itemid == 2931 and random == 12 then

doTransformItem(item2.uid,2932)

elseif item2.itemid == 2931 and random == 13 then

doTransformItem(item2.uid,2932)

doPlayerAddItem(cid,5893,1)

elseif item2.itemid == 2931 and random == 14 then

doTransformItem(item2.uid,2932)

elseif item2.itemid == 2931 and random == 15 then

doTransformItem(item2.uid,2932)

end

end

random = math.random(1,15)

if getPlayerLevel(cid) >= 8 then

if item2.itemid == 3031 and random == 1 then

doTransformItem(item2.uid,3032)

doPlayerAddItem(cid,5925,1)

elseif item2.itemid == 3031 and random == 2 then

doTransformItem(item2.uid,3032)

elseif item2.itemid == 3031 and random == 3 then

doTransformItem(item2.uid,3032)

elseif item2.itemid == 3031 and random == 4 then

doTransformItem(item2.uid,3032)

elseif item2.itemid == 3031 and random == 5 then

doTransformItem(item2.uid,3032)

elseif item2.itemid == 3031 and random == 6 then

doTransformItem(item2.uid,3032)

elseif item2.itemid == 3031 and random == 7 then

doTransformItem(item2.uid,3032)

elseif item2.itemid == 3031 and random == 8 then

doTransformItem(item2.uid,3032)

doPlayerAddItem(cid,5925,1)

elseif item2.itemid == 3031 and random == 9 then

doTransformItem(item2.uid,3032)

elseif item2.itemid == 3031 and random == 10 then

doTransformItem(item2.uid,3023)

elseif item2.itemid == 3031 and random == 11 then

doTransformItem(item2.uid,3032)

elseif item2.itemid == 3031 and random == 12 then

doTransformItem(item2.uid,3032)

elseif item2.itemid == 3031 and random == 13 then

doTransformItem(item2.uid,3032)

doPlayerAddItem(cid,5925,1)

elseif item2.itemid == 3031 and random == 14 then

doTransformItem(item2.uid,3032)

elseif item2.itemid == 3031 and random == 15 then

doTransformItem(item2.uid,3032)

end

end

return 1

end

Aposentado de OTserver e Tibia

Meus melhores tutoriais
Enciclopédia Pasta Data
Tutorial de quest

Pedokas

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 18/01/06Posts: 2

Melhoramentos =D

obsidian..

 

--Action By BrunuxX modificado por Cunha para 7.8 ( Re-editado/Simplificado por Pedokas )--Não Remover os Creditos!function onUse(cid, item, frompos, item2, topos)if item2.itemid == 0 thenreturn 0endrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 2881 and random == 1 thendoTransformItem(item2.uid,2882)doPlayerAddItem(cid,5948,1)doSendMagicEffect(topos,13)elseif item2.itemid == 2881 and random > 1 thendoTransformItem(item2.uid,2882)doSendMagicEffect(topos,2)endendrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 3104 and random == 1 thendoTransformItem(item2.uid,3105)doPlayerAddItem(cid,5877,1)doSendMagicEffect(topos,13)elseif item2.itemid == 3104 and random > 1 thendoTransformItem(item2.uid,3105)doSendMagicEffect(topos,2)endendrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 2830 and random == 1 thendoTransformItem(item2.uid,2831)doPlayerAddItem(cid,5878,1)doSendMagicEffect(topos,13)elseif item2.itemid == 2830 and random > 1 thendoTransformItem(item2.uid,2831)doSendMagicEffect(topos,2)endendrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 2876 and random == 1 thendoTransformItem(item2.uid,2877)doPlayerAddItem(cid,5878,1)doSendMagicEffect(topos,13)elseif item2.itemid == 2876 and random > 1 thendoTransformItem(item2.uid,2877)doSendMagicEffect(topos,2)endendrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 2871 and random == 1 thendoTransformItem(item2.uid,2872)doPlayerAddItem(cid,5878,1)doSendMagicEffect(topos,13)elseif item2.itemid == 2871 and random > 1 thendoTransformItem(item2.uid,2872)doSendMagicEffect(topos,2)endendrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 2866 and random == 1 thendoTransformItem(item2.uid,2867)doPlayerAddItem(cid,5878,1)doSendMagicEffect(topos,13)elseif item2.itemid == 2866 and random > 1 thendoTransformItem(item2.uid,2867)doSendMagicEffect(topos,2)endendrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 4256 and random == 1 thendoTransformItem(item2.uid,4257)doPlayerAddItem(cid,5876,1)doSendMagicEffect(topos,13)elseif item2.itemid == 4256 and random > 1 thendoTransformItem(item2.uid,4257)doSendMagicEffect(topos,2)endendrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 4259 and random == 1 thendoTransformItem(item2.uid,4260)doPlayerAddItem(cid,5876,1)doSendMagicEffect(topos,13)elseif item2.itemid == 4259 and random > 1 thendoTransformItem(item2.uid,4260)doSendMagicEffect(topos,2)endendrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 4262 and random == 1 thendoTransformItem(item2.uid,4263)doPlayerAddItem(cid,5876,1)doSendMagicEffect(topos,13)elseif item2.itemid == 4262 and random > 1 thendoTransformItem(item2.uid,4263)doSendMagicEffect(topos,2)endendreturn 1end-------------------------------------------------------------------------------------------------------------

 

blessed wooden stake..

 

--Action By BrunuxX modificado por Cunha para 7.8 ( Re-editado/Simplificado por Pedokas )--Não Remover os Creditos!function onUse(cid, item, frompos, item2, topos)if item2.itemid == 0 thenreturn 0endrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 2916 and random == 1 thendoTransformItem(item2.uid,2917)doPlayerAddItem(cid,5906,1)doSendMagicEffect(topos,13)elseif item2.itemid == 2916 and random > 1 thendoTransformItem(item2.uid,2917)doSendMagicEffect(topos,2)endendrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 2956 and random == 1 thendoTransformItem(item2.uid,2957)doPlayerAddItem(cid,5905,1)doSendMagicEffect(topos,13)elseif item2.itemid == 2956 and random > 1 thendoTransformItem(item2.uid,2957)doSendMagicEffect(topos,2)endendreturn 1end--------------------------------------------------------------------------------------------------------

 

espero ter ajudado :p

Kenzo

avatar
Artesão
Artesão

INFOS

Grupo: ArtesãoRegistrado: 08/10/06Posts: 131Char no Tibia: Kenzo Phoenix

LoL.

Bem legal as actions.

//Kenzo

Visite a melhor parte do Fórum XTibia! Basta você apenas clicar aqui e deixar sua opinião sobre qualquer um dos assuntos!

Está com dúvidas no Tibia? Quer dicas de como melhorar seu character? Mande uma PM e lhe responderei a medida do possível.

"Tonight
I'm gonna have myself a real good time
I feel alive
And the world is turning inside out
Yeah!
And floating around in ecstasy

So don't stop me now
Don't stop me
'Cause I'm having a good time
I'm having a good time

I'm a shooting star leaping through the sky
Like a tiger defying the laws of gravity
I'm a racing car passing by like Lady Godiva
I'm gonna go go go
There's no stopping me...
"

Dont Stop me Now - McFly

Di&go

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 05/10/06Posts: 17

Muito Bom realmente funfa 8P:

Flws :bye:

Eu faço oq posso,com o material q eu tenho
user posted image
user posted image
diego_ribeiro157@hotmail.com
Objetivos:
[x]25 Posts
[x]50 Posts
[ ]100 Posts
[ ]150 Posts
[ ]250 Posts
[ ]350 + Posts


Pra quem kisé

Meu Orkut

Sou Fãn:
user posted image

Lord_X

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 01/05/07Posts: 28

Só faltou o dragon, mas beleza!

Kremus

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 21/12/06Posts: 16

Cara, eu tava analisando um monte de action aqui do pessoal, e tipo, tua action tem 500 metros...

Eu sou um "actioner" aposentado, faz tempo que não mexo, mas até onde eu me lembre, daria pra ti fazer assim:

--Action By BrunuxX
function onUse(cid, item, frompos, item2, topos)

if item2.itemid == 0 then
return 0
end


random = math.random(1,15)

if getPlayerLevel(cid) >= 8 and randem == 1 then

if item2.itemid == 2881 then
doTransformItem(item2.uid,2882)
doPlayerAddItem(cid,5948,1)

if item2.itemid == 3104 then
doTransformItem(item2.uid,3105)
doPlayerAddItem(cid,5877,1)

if item2.itemid == 2830 then
doTransformItem(item2.uid,2831)
doPlayerAddItem(cid,5878,1)

if item2.itemid == 2876 then
doTransformItem(item2.uid,2877)
doPlayerAddItem(cid,5878,1)

if item2.itemid == 2871 then
doTransformItem(item2.uid,2872)
doPlayerAddItem(cid,5878,1)

if item2.itemid == 2866 then
doTransformItem(item2.uid,2867)
doPlayerAddItem(cid,5878,1)

if item2.itemid == 4256 then
doTransformItem(item2.uid,4257)
doPlayerAddItem(cid,5876,1)

if item2.itemid == 4259 then
doTransformItem(item2.uid,4260)
doPlayerAddItem(cid,5876,1)

if item2.itemid == 4262 then
doTransformItem(item2.uid,4263)
doPlayerAddItem(cid,5876,1)

elseif item2.itemid == 2881 or item2.itemid == 3104 or item2.itemid == 2830 or item2.itemid == 2876 or item2.itemid == 2871 or item2.itemid == 2866 or item2.itemid == 4256 or item2.itemid == 4259 or item2.itemid == 4262 and random >= 2 then
doTransformItem(item2.uid,item2.uid+1)

end
end

return 1
end

 

Beeeeem mais curto e mais simples. Eu não testei, por isso não posso afirmar se está 100% certo. Se falhar alguma coisa tentem mudar ali no final

 

elseif item2.itemid == 2881 or item2.itemid == 3104 or item2.itemid == 2830 or item2.itemid == 2876 or item2.itemid == 2871 or item2.itemid == 2866 or item2.itemid == 4256 or item2.itemid == 4259 or item2.itemid == 4262 and random >= 2 then
doTransformItem(item2.uid,item2.itemid+1)

 

só recortar e colar isso emcima da parte parecida com esta.

Se mesmo assim o problema persisitir, postem aqui que eu checarei mais tarde.

Minha Fan Bar:

GM Darknight Mago

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 29/10/06Posts: 45

Legal , vo tentar implantar isso no meu OT :)




garep

avatar
Artesão
Artesão

INFOS

Grupo: ArtesãoRegistrado: 08/01/06Posts: 118Char no Tibia: Bahanot

Muito bom....

parabems a todos pela suas scrip's !