Ae
Depois de ter feito a Obsidian Knife
Fui tentar fazer a Blessed Wooden Stake
Demorei bastante, pois ela é usada em 2 monstro
Coloque isso no actions.xml
<action itemid="5942" script="blessed wooden stake.lua"/>
E coloque na pasta data > actions > scripts um arquivo chamado "blessed wooden stake"
E coloque dentro dele isso
--Action By BrunuxX modificado por Cunha para 7.8function 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)elseif item2.itemid == 2916 and random == 2 thendoTransformItem(item2.uid,2917)elseif item2.itemid == 2916 and random == 3 thendoTransformItem(item2.uid,2917)elseif item2.itemid == 2916 and random == 4 thendoTransformItem(item2.uid,2917)elseif item2.itemid == 2916 and random == 5 thendoTransformItem(item2.uid,2917)elseif item2.itemid == 2916 and random == 6 thendoTransformItem(item2.uid,2917)elseif item2.itemid == 2916 and random == 7 thendoTransformItem(item2.uid,2917)elseif item2.itemid == 2916 and random == 8 thendoTransformItem(item2.uid,2917)elseif item2.itemid == 2916 and random == 9 thendoTransformItem(item2.uid,2917)elseif item2.itemid == 2916 and random == 10 thendoTransformItem(item2.uid,2917)elseif item2.itemid == 2916 and random == 11 thendoTransformItem(item2.uid,2917)elseif item2.itemid == 2916 and random == 12 thendoTransformItem(item2.uid,2917)elseif item2.itemid == 2916 and random == 13 thendoTransformItem(item2.uid,2917)elseif item2.itemid == 2916 and random == 14 thendoTransformItem(item2.uid,2917)elseif item2.itemid == 2916 and random == 15 thendoTransformItem(item2.uid,2917)endendrandom = math.random(1,15)if getPlayerLevel(cid) >= 8 thenif item2.itemid == 2956 and random == 1 thendoTransformItem(item2.uid,2957)doPlayerAddItem(cid,5905,1)elseif item2.itemid == 2956 and random == 2 thendoTransformItem(item2.uid,2957)elseif item2.itemid == 2956 and random == 3 thendoTransformItem(item2.uid,2957)elseif item2.itemid == 2956 and random == 4 thendoTransformItem(item2.uid,2957)elseif item2.itemid == 2956 and random == 5 thendoTransformItem(item2.uid,2957)elseif item2.itemid == 2956 and random == 6 thendoTransformItem(item2.uid,2957)elseif item2.itemid == 2956 and random == 7 thendoTransformItem(item2.uid,2957)elseif item2.itemid == 2956 and random == 8 thendoTransformItem(item2.uid,2957)elseif item2.itemid == 2956 and random == 9 thendoTransformItem(item2.uid,2957)elseif item2.itemid == 2956 and random == 10 thendoTransformItem(item2.uid,2957)elseif item2.itemid == 2956 and random == 11 thendoTransformItem(item2.uid,2957)elseif item2.itemid == 2956 and random == 12 thendoTransformItem(item2.uid,2957)elseif item2.itemid == 2956 and random == 13 thendoTransformItem(item2.uid,2957)elseif item2.itemid == 2956 and random == 14 thendoTransformItem(item2.uid,2957)elseif item2.itemid == 2956 and random == 15 thendoTransformItem(item2.uid,2957)endendreturn 1end
Não tirem meus créditos, demorei muito para fazer
Fui