Cassio Silvio 0 Postado Março 11, 2007 Share Postado Março 11, 2007 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 Link para o comentário https://xtibia.com/forum/topic/44980-obsidian-knif-e-blessed-wooden-stake-100-tibiarl/ Compartilhar em outros sites More sharing options...
hugobululu 0 Postado Março 11, 2007 Share Postado Março 11, 2007 pow ta mal organizado mais vlw vai ajuda o pessoal. flw Link para o comentário https://xtibia.com/forum/topic/44980-obsidian-knif-e-blessed-wooden-stake-100-tibiarl/#findComment-266493 Compartilhar em outros sites More sharing options...
Cassio Silvio 0 Postado Março 11, 2007 Autor Share Postado Março 11, 2007 é pq o script é grande mesmo, pois se trata de um monte de monstros... mais valew mesmo assim... Link para o comentário https://xtibia.com/forum/topic/44980-obsidian-knif-e-blessed-wooden-stake-100-tibiarl/#findComment-266515 Compartilhar em outros sites More sharing options...
tibiaa4e 86 Postado Março 11, 2007 Share Postado Março 11, 2007 grande d+ :S o meu primeiro foi assim tbm olha como tah hj : (num 100% meu) --idea of cokey----script by ta4e-- function onUse(cid,item,frompos,item2,topos) number = math.random(1,100) chance = getConfigNumber("blessed_wooden_chance") if chance > 100 or chance == 0 then chance = 100 end --vampire-- if item2.itemid == 2916 then if number <= chance then doSendMagicEffect(topos,14) doPlayerAddItem(cid,5906,1) doTransformItem(item2.uid,item2.itemid+1) else doSendMagicEffect(topos,3) doTransformItem(item2.uid,item2.itemid+1) end return 1 end --demon-- if item2.itemid == 2956 then if number <= chance then doSendMagicEffect(topos,14) doPlayerAddItem(cid,5905,1) doTransformItem(item2.uid,item2.itemid+1) else doSendMagicEffect(topos,3) doTransformItem(item2.uid,item2.itemid+1) end return 1 end --end return 0 end + ta bom flws Link para o comentário https://xtibia.com/forum/topic/44980-obsidian-knif-e-blessed-wooden-stake-100-tibiarl/#findComment-266579 Compartilhar em outros sites More sharing options...
Yosef002 0 Postado Março 11, 2007 Share Postado Março 11, 2007 (editado) Ae o script pode ser pequeno vo posta aki, é que vc fez do modo + dificil mesmo, eu fiz de otro metodo, é muito + rapido e + facil até de modificar. Mas muito bom, eu até mudei o meu pra bota o random em 15 eu tava com ele em 10 mas fui testa em 15 fico mt + real. 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 < 2 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) end end random = math.random(1,15) if getPlayerLevel(cid) >= 8 then if item2.itemid == 2844 and random < 2 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) end end random = math.random(1,15) if getPlayerLevel(cid) >= 8 then if item2.itemid == 2830 and random < 2 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) end end random = math.random(1,15) if getPlayerLevel(cid) >= 8 then if item2.itemid == 2876 and random < 2 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) 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) 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) 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) 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) 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) 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) 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) end end return 1 end @tibiaa4e XD agente post +- ao mesmo tempo. o0 Da pra facilitar e deixar menor o seu codigo: function onUse(cid, item, frompos, item2, topos) if item2.itemid == 0 then return 0 end random = math.random(1,10) 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) end random = math.random(1,10) 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) end return 1 end random >= 2 then é Maior ou Igual a 2, ou seja tudo que for maior que 2 ou 2 irá ser erado, para almentar a chance é só mudar o random(1,15) Editado Março 11, 2007 por Yosef002 Link para o comentário https://xtibia.com/forum/topic/44980-obsidian-knif-e-blessed-wooden-stake-100-tibiarl/#findComment-266585 Compartilhar em outros sites More sharing options...
tibiaa4e 86 Postado Março 11, 2007 Share Postado Março 11, 2007 ta grande pq o random ta no config.lua Eu nem fiz esse tipo copiei de uma obsidia knife e mudei os ids Eu tinha q fazer umas 15 actions em1 5 minutos :S qdo o zorzin ot foi lançado flws Link para o comentário https://xtibia.com/forum/topic/44980-obsidian-knif-e-blessed-wooden-stake-100-tibiarl/#findComment-266602 Compartilhar em outros sites More sharing options...
Slayer Silver 0 Postado Março 11, 2007 Share Postado Março 11, 2007 Mesmo sendo muito grande, é muito útil para quem quer ter um sistema de addon = ao tibia rl... Vlw, trazendo isso :]] Link para o comentário https://xtibia.com/forum/topic/44980-obsidian-knif-e-blessed-wooden-stake-100-tibiarl/#findComment-266636 Compartilhar em outros sites More sharing options...
Arcavier 0 Postado Março 11, 2007 Share Postado Março 11, 2007 Gostei, so q eu uso o do modo do Yosef Link para o comentário https://xtibia.com/forum/topic/44980-obsidian-knif-e-blessed-wooden-stake-100-tibiarl/#findComment-266651 Compartilhar em outros sites More sharing options...
aeralorantrala 0 Postado Março 12, 2007 Share Postado Março 12, 2007 valew ai galera pelos elogios e as criticas, ainda sou novo no "ramo".... Link para o comentário https://xtibia.com/forum/topic/44980-obsidian-knif-e-blessed-wooden-stake-100-tibiarl/#findComment-267205 Compartilhar em outros sites More sharing options...
catito 0 Postado Abril 8, 2007 Share Postado Abril 8, 2007 (editado) como aumento as chances de cair os addons itens qdo se usa a obsiand knife e blessed wooden stake? Editado Abril 8, 2007 por catito Link para o comentário https://xtibia.com/forum/topic/44980-obsidian-knif-e-blessed-wooden-stake-100-tibiarl/#findComment-281371 Compartilhar em outros sites More sharing options...
Gegiskan 0 Postado Abril 10, 2007 Share Postado Abril 10, 2007 Essa script faz oq? Sempre quiz saber a funçao da Obsidian Knif e da Blessed Wooden Stake! Sempre vejo tutorias desses! Pois jah tem uns 2 ou 3 tutorias que eu jah q fala nessa script! Mas nunca descobri a função dessas scripts! Obs : Topico Maul organizado, alem de ja ter essa script em outros topicos ta muito maul organizado! Link para o comentário https://xtibia.com/forum/topic/44980-obsidian-knif-e-blessed-wooden-stake-100-tibiarl/#findComment-282171 Compartilhar em outros sites More sharing options...
GOD Zé 4 Postado Abril 11, 2007 Share Postado Abril 11, 2007 Bom,Bom ^^ veiu mt útil realmente xD~ flws ajudo pra kramba cya! Link para o comentário https://xtibia.com/forum/topic/44980-obsidian-knif-e-blessed-wooden-stake-100-tibiarl/#findComment-282488 Compartilhar em outros sites More sharing options...
Bl4Nk 0 Postado Abril 11, 2007 Share Postado Abril 11, 2007 (editado) Nussa, ta grande mesmo. As scripts funcionam mesmo que eu acabei de testa...tá bem legal, parabéns. Flws Editado Abril 11, 2007 por Bl4Nk Link para o comentário https://xtibia.com/forum/topic/44980-obsidian-knif-e-blessed-wooden-stake-100-tibiarl/#findComment-282667 Compartilhar em outros sites More sharing options...
Daironx 0 Postado Abril 27, 2007 Share Postado Abril 27, 2007 Grandinho mais mto bom =D mto util pra rpg =) Link para o comentário https://xtibia.com/forum/topic/44980-obsidian-knif-e-blessed-wooden-stake-100-tibiarl/#findComment-289916 Compartilhar em outros sites More sharing options...
Posts Recomendados