Resolvi fazer mesmo pra nada...
1° ObsidianKnife.
Faça um arquivo chamado obsidian knife.lua em data/actions/scripts/
e coloque isso:
--Action By lucas_sempreloko@hotmail.com
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)
doSendMagicEffect(topos,14)
elseif item2.itemid == 2881 and random == 2 then
doTransformItem(item2.uid,2882)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2881 and random == 3 then
doTransformItem(item2.uid,2882)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2881 and random == 4 then
doTransformItem(item2.uid,2882)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2881 and random == 5 then
doTransformItem(item2.uid,2882)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2881 and random == 6 then
doTransformItem(item2.uid,2882)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2881 and random == 7 then
doTransformItem(item2.uid,2882)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2881 and random == 8 then
doTransformItem(item2.uid,2882)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2881 and random == 9 then
doTransformItem(item2.uid,2882)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2881 and random == 10 then
doTransformItem(item2.uid,2882)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2881 and random == 11 then
doTransformItem(item2.uid,2882)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2881 and random == 12 then
doTransformItem(item2.uid,2882)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2881 and random == 13 then
doTransformItem(item2.uid,2882)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2881 and random == 14 then
doTransformItem(item2.uid,2882)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2881 and random == 15 then
doTransformItem(item2.uid,2882)
doSendMagicEffect(topos,3)
end
end
random = math.random(1,15)
if getPlayerLevel(cid) >= 8 then
if item2.itemid == 2844 and random == 1 then
doTransformItem(item2.uid,2845)
doPlayerAddItem(cid,5877,1)
doSendMagicEffect(topos,14)
elseif item2.itemid == 2844 and random == 2 then
doTransformItem(item2.uid,2845)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2844 and random == 3 then
doTransformItem(item2.uid,2845)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2844 and random == 4 then
doTransformItem(item2.uid,2845)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2844 and random == 5 then
doTransformItem(item2.uid,2845)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2844 and random == 6 then
doTransformItem(item2.uid,2845)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2844 and random == 7 then
doTransformItem(item2.uid,2845)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2844 and random == 8 then
doTransformItem(item2.uid,2845)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2844 and random == 9 then
doTransformItem(item2.uid,2845)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2844 and random == 10 then
doTransformItem(item2.uid,2845)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2844 and random == 11 then
doTransformItem(item2.uid,2845)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2844 and random == 12 then
doTransformItem(item2.uid,2845)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2844 and random == 13 then
doTransformItem(item2.uid,2845)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2844 and random == 14 then
doTransformItem(item2.uid,2845)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2844 and random == 15 then
doTransformItem(item2.uid,2845)
doSendMagicEffect(topos,3)
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)
doSendMagicEffect(topos,14)
elseif item2.itemid == 2830 and random == 2 then
doTransformItem(item2.uid,2831)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2830 and random == 3 then
doTransformItem(item2.uid,2831)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2830 and random == 4 then
doTransformItem(item2.uid,2831)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2830 and random == 5 then
doTransformItem(item2.uid,2831)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2830 and random == 6 then
doTransformItem(item2.uid,2831)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2830 and random == 7 then
doTransformItem(item2.uid,2831)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2830 and random == 8 then
doTransformItem(item2.uid,2831)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2830 and random == 9 then
doTransformItem(item2.uid,2831)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2830 and random == 10 then
doTransformItem(item2.uid,2831)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2830 and random == 12 then
doTransformItem(item2.uid,2831)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2830 and random == 13 then
doTransformItem(item2.uid,2831)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2830 and random == 14 then
doTransformItem(item2.uid,2831)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2830 and random == 15 then
doTransformItem(item2.uid,2831)
doSendMagicEffect(topos,3)
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)
doSendMagicEffect(topos,14)
elseif item2.itemid == 2876 and random == 2 then
doTransformItem(item2.uid,2877)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2876 and random == 3 then
doTransformItem(item2.uid,2877)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2876 and random == 4 then
doTransformItem(item2.uid,2877)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2876 and random == 5 then
doTransformItem(item2.uid,2877)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2876 and random == 6 then
doTransformItem(item2.uid,2877)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2876 and random == 7 then
doTransformItem(item2.uid,2877)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2876 and random == 8 then
doTransformItem(item2.uid,2877)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2876 and random == 9 then
doTransformItem(item2.uid,2877)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2876 and random == 10 then
doTransformItem(item2.uid,2877)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2876 and random == 11 then
doTransformItem(item2.uid,2877)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2876 and random == 12 then
doTransformItem(item2.uid,2877)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2876 and random == 13 then
doTransformItem(item2.uid,2877)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2876 and random == 14 then
doTransformItem(item2.uid,2877)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2876 and random == 15 then
doTransformItem(item2.uid,2877)
doSendMagicEffect(topos,3)
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)
doSendMagicEffect(topos,14)
elseif item2.itemid == 2871 and random == 2 then
doTransformItem(item2.uid,2872)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2871 and random == 3 then
doTransformItem(item2.uid,2872)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2871 and random == 4 then
doTransformItem(item2.uid,2872)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2871 and random == 5 then
doTransformItem(item2.uid,2872)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2871 and random == 6 then
doTransformItem(item2.uid,2872)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2871 and random == 7 then
doTransformItem(item2.uid,2872)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2871 and random == 8 then
doTransformItem(item2.uid,2872)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2871 and random == 9 then
doTransformItem(item2.uid,2872)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2871 and random == 10 then
doTransformItem(item2.uid,2872)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2871 and random == 11 then
doTransformItem(item2.uid,2872)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2871 and random == 12 then
doTransformItem(item2.uid,2872)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2871 and random == 13 then
doTransformItem(item2.uid,2872)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2871 and random == 14 then
doTransformItem(item2.uid,2872)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2871 and random == 15 then
doTransformItem(item2.uid,2872)
doSendMagicEffect(topos,3)
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)
doSendMagicEffect(topos,14)
elseif item2.itemid == 2866 and random == 2 then
doTransformItem(item2.uid,2867)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2866 and random == 3 then
doTransformItem(item2.uid,2867)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2866 and random == 4 then
doTransformItem(item2.uid,2867)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2866 and random == 5 then
doTransformItem(item2.uid,2867)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2866 and random == 6 then
doTransformItem(item2.uid,2867)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2866 and random == 7 then
doTransformItem(item2.uid,2867)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2866 and random == 8 then
doTransformItem(item2.uid,2867)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2866 and random == 9 then
doTransformItem(item2.uid,2867)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2866 and random == 10 then
doTransformItem(item2.uid,2867)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2866 and random == 11 then
doTransformItem(item2.uid,2867)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2866 and random == 12 then
doTransformItem(item2.uid,2867)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2866 and random == 13 then
doTransformItem(item2.uid,2867)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2866 and random == 14 then
doTransformItem(item2.uid,2867)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2866 and random == 15 then
doTransformItem(item2.uid,2867)
doSendMagicEffect(topos,3)
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)
doSendMagicEffect(topos,14)
elseif item2.itemid == 4256 and random == 2 then
doTransformItem(item2.uid,4257)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4256 and random == 3 then
doTransformItem(item2.uid,4257)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4256 and random == 4 then
doTransformItem(item2.uid,4257)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4256 and random == 5 then
doTransformItem(item2.uid,4257)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4256 and random == 6 then
doTransformItem(item2.uid,4257)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4256 and random == 7 then
doTransformItem(item2.uid,4257)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4256 and random == 8 then
doTransformItem(item2.uid,4257)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4256 and random == 9 then
doTransformItem(item2.uid,4257)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4256 and random == 10 then
doTransformItem(item2.uid,4257)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4256 and random == 11 then
doTransformItem(item2.uid,4257)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4256 and random == 12 then
doTransformItem(item2.uid,4257)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4256 and random == 13 then
doTransformItem(item2.uid,4257)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4256 and random == 14 then
doTransformItem(item2.uid,4257)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4256 and random == 15 then
doTransformItem(item2.uid,4257)
doSendMagicEffect(topos,3)
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)
doSendMagicEffect(topos,14)
elseif item2.itemid == 4259 and random == 2 then
doTransformItem(item2.uid,4260)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4259 and random == 3 then
doTransformItem(item2.uid,4260)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4259 and random == 4 then
doTransformItem(item2.uid,4260)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4259 and random == 5 then
doTransformItem(item2.uid,4260)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4259 and random == 6 then
doTransformItem(item2.uid,4260)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4259 and random == 7 then
doTransformItem(item2.uid,4260)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4259 and random == 8 then
doTransformItem(item2.uid,4260)
elseif item2.itemid == 4259 and random == 9 then
doTransformItem(item2.uid,4260)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4259 and random == 10 then
doTransformItem(item2.uid,4260)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4259 and random == 11 then
doTransformItem(item2.uid,4260)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4259 and random == 12 then
doTransformItem(item2.uid,4260)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4259 and random == 13 then
doTransformItem(item2.uid,4260)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4259 and random == 14 then
doTransformItem(item2.uid,4260)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4259 and random == 15 then
doTransformItem(item2.uid,4260)
doSendMagicEffect(topos,3)
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)
doSendMagicEffect(topos,14)
elseif item2.itemid == 4262 and random == 2 then
doTransformItem(item2.uid,4263)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4262 and random == 3 then
doTransformItem(item2.uid,4263)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4262 and random == 4 then
doTransformItem(item2.uid,4263)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4262 and random == 5 then
doTransformItem(item2.uid,4263)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4262 and random == 6 then
doTransformItem(item2.uid,4263)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4262 and random == 7 then
doTransformItem(item2.uid,4263)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4262 and random == 8 then
doTransformItem(item2.uid,4263)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4262 and random == 9 then
doTransformItem(item2.uid,4263)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4262 and random == 10 then
doTransformItem(item2.uid,4263)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4262 and random == 11 then
doTransformItem(item2.uid,4263)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4262 and random == 12 then
doTransformItem(item2.uid,4263)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4262 and random == 13 then
doTransformItem(item2.uid,4263)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4262 and random == 14 then
doTransformItem(item2.uid,4263)
doSendMagicEffect(topos,3)
elseif item2.itemid == 4262 and random == 15 then
doTransformItem(item2.uid,4263)
doSendMagicEffect(topos,3)
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)
doSendMagicEffect(topos,14)
elseif item2.itemid == 2931 and random == 2 then
doTransformItem(item2.uid,2932)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2931 and random == 3 then
doTransformItem(item2.uid,2932)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2931 and random == 4 then
doTransformItem(item2.uid,2932)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2931 and random == 5 then
doTransformItem(item2.uid,2932)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2931 and random == 6 then
doTransformItem(item2.uid,2932)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2931 and random == 7 then
doTransformItem(item2.uid,2932)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2931 and random == 8 then
doTransformItem(item2.uid,2932)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2931 and random == 9 then
doTransformItem(item2.uid,2932)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2931 and random == 10 then
doTransformItem(item2.uid,2932)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2931 and random == 11 then
doTransformItem(item2.uid,2932)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2931 and random == 12 then
doTransformItem(item2.uid,2932)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2931 and random == 13 then
doTransformItem(item2.uid,2932)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2931 and random == 14 then
doTransformItem(item2.uid,2932)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2931 and random == 15 then
doTransformItem(item2.uid,2932)
doSendMagicEffect(topos,3)
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)
doSendMagicEffect(topos,14)
elseif item2.itemid == 3031 and random == 2 then
doTransformItem(item2.uid,3032)
doSendMagicEffect(topos,3)
elseif item2.itemid == 3031 and random == 3 then
doTransformItem(item2.uid,3032)
doSendMagicEffect(topos,3)
elseif item2.itemid == 3031 and random == 4 then
doTransformItem(item2.uid,3032)
doSendMagicEffect(topos,3)
elseif item2.itemid == 3031 and random == 5 then
doTransformItem(item2.uid,3032)
doSendMagicEffect(topos,3)
elseif item2.itemid == 3031 and random == 6 then
doTransformItem(item2.uid,3032)
doSendMagicEffect(topos,3)
elseif item2.itemid == 3031 and random == 7 then
doTransformItem(item2.uid,3032)
doSendMagicEffect(topos,3)
elseif item2.itemid == 3031 and random == 8 then
doTransformItem(item2.uid,3032)
doSendMagicEffect(topos,3)
elseif item2.itemid == 3031 and random == 9 then
doTransformItem(item2.uid,3032)
doSendMagicEffect(topos,3)
elseif item2.itemid == 3031 and random == 10 then
doTransformItem(item2.uid,3032)
doSendMagicEffect(topos,3)
elseif item2.itemid == 3031 and random == 11 then
doTransformItem(item2.uid,3032)
doSendMagicEffect(topos,3)
elseif item2.itemid == 3031 and random == 12 then
doTransformItem(item2.uid,3032)
doSendMagicEffect(topos,3)
elseif item2.itemid == 3031 and random == 13 then
doTransformItem(item2.uid,3032)
doSendMagicEffect(topos,3)
elseif item2.itemid == 3031 and random == 14 then
doTransformItem(item2.uid,3032)
doSendMagicEffect(topos,3)
elseif item2.itemid == 3031 and random == 15 then
doTransformItem(item2.uid,3032)
doSendMagicEffect(topos,3)
end
end
return 1
end
agora em data/actions/actions.xml
<action itemid="5908" script="obsidian knife.lua"/>
Agora blessed wooden stake.
Faça um arquivo chamado blessed wooden stake.lua em data/actions/scripts/
e coloque isso:
--Action By lucas_sempreloko@hotmail.com
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 == 2916 and random == 1 then
doTransformItem(item2.uid,2917)
doPlayerAddItem(cid,5906,1)
doSendMagicEffect(topos,14)
elseif item2.itemid == 2916 and random == 2 then
doTransformItem(item2.uid,2917)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2916 and random == 3 then
doTransformItem(item2.uid,2917)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2916 and random == 4 then
doTransformItem(item2.uid,2917)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2916 and random == 5 then
doTransformItem(item2.uid,2917)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2916 and random == 6 then
doTransformItem(item2.uid,2917)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2916 and random == 7 then
doTransformItem(item2.uid,2917)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2916 and random == 8 then
doTransformItem(item2.uid,2917)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2916 and random == 9 then
doTransformItem(item2.uid,2917)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2916 and random == 10 then
doTransformItem(item2.uid,2917)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2916 and random == 11 then
doTransformItem(item2.uid,2917)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2916 and random == 12 then
doTransformItem(item2.uid,2917)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2916 and random == 13 then
doTransformItem(item2.uid,2917)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2916 and random == 14 then
doTransformItem(item2.uid,2917)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2916 and random == 15 then
doTransformItem(item2.uid,2917)
doSendMagicEffect(topos,3)
end
end
random = math.random(1,15)
if getPlayerLevel(cid) >= 8 then
if item2.itemid == 2956 and random == 1 then
doTransformItem(item2.uid,2957)
doPlayerAddItem(cid,5905,1)
doSendMagicEffect(topos,14)
elseif item2.itemid == 2956 and random == 2 then
doTransformItem(item2.uid,2957)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2956 and random == 3 then
doTransformItem(item2.uid,2957)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2956 and random == 4 then
doTransformItem(item2.uid,2957)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2956 and random == 5 then
doTransformItem(item2.uid,2957)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2956 and random == 6 then
doTransformItem(item2.uid,2957)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2956 and random == 7 then
doTransformItem(item2.uid,2957)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2956 and random == 8 then
doTransformItem(item2.uid,2957)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2956 and random == 9 then
doTransformItem(item2.uid,2957)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2956 and random == 10 then
doTransformItem(item2.uid,2957)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2956 and random == 11 then
doTransformItem(item2.uid,2957)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2956 and random == 12 then
doTransformItem(item2.uid,2957)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2956 and random == 13 then
doTransformItem(item2.uid,2957)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2956 and random == 14 then
doTransformItem(item2.uid,2957)
doSendMagicEffect(topos,3)
elseif item2.itemid == 2956 and random == 15 then
doTransformItem(item2.uid,2957)
doSendMagicEffect(topos,3)
end
end
return 1
end
agora em data/actions/actions.xml
<action itemid="5942" script="blessed wooden stake.lua"/>
ele foi testado no Evolutions 0.7.6, o corpo dos bixos podem variar de acordo com o ot, ai vc troca os corpos ai.
Só isso...
falow...
qualquer coisa add ai o msn... lucas_sempreloko@hotmail.com