Postado Abril 23, 2015 10 anos Alguém pode me dizer o que tem com este script? Ele não está descongelando o Frozen Ursagrodon com o Melting Horn. function onUse(cid, item, fromPosition, itemEx, toPosition) if(item.itemid == 22719) then if(itemEx.itemid == 22722) and getPlayerStorageValue(cid, 16410) < 1 then doPlayerSendTextMessage(cid, 19, "You managed to melt about half of the ice blook. Quickly now, it's ice cold here and the ice block could freeze over again.") doTransformItem(getTileItemById(toPosition,22722).uid,22723) setPlayerStorageValue(cid, 16410, 1) elseif (itemEx.itemid == 22722) and getPlayerStorageValue(cid, 16410) == 3 then doPlayerSendCancel(cid, "You already have the Ursagrodon.") end if(itemEx.itemid == 22723) and getPlayerStorageValue(cid, 16410) == 1 then doPlayerSendTextMessage(cid, 19, "You managed to melt almost the whole block, only the feet of the creature are still stuck in the ice. Finish the job!") doTransformItem(getTileItemById(toPosition,22723).uid,22724) setPlayerStorageValue(cid, 16410, 2) end if(itemEx.itemid == 22724) and getPlayerStorageValue(cid, 16410) == 2 then doPlayerSendTextMessage(cid, 19, "The freed Ursagrodon looks at you with glowing, obedient eyes.") doTransformItem(getTileItemById(toPosition,22724).uid,22725) setPlayerStorageValue(cid, 16410, 3) doPlayerAddMount(cid,38) doRemoveItem(item.uid, 1) end end return true end Editado Abril 23, 2015 10 anos por arthur122222 (veja o histórico de edições)
Postado Abril 23, 2015 10 anos Testa ai... function onUse(cid, item, fromPosition, itemEx, toPosition) if(item.itemid == 22719) then elseif(itemEx.itemid == 22722) and getPlayerStorageValue(cid, 16410) < 1 then doPlayerSendTextMessage(cid, 19, "You managed to melt about half of the ice blook. Quickly now, it's ice cold here and the ice block could freeze over again.") doTransformItem(getTileItemById(toPosition,22722).uid,22723) setPlayerStorageValue(cid, 16410, 1) elseif (itemEx.itemid == 22722) and getPlayerStorageValue(cid, 16410) == 3 then doPlayerSendCancel(cid, "You already have the Ursagrodon.") end if(itemEx.itemid == 22723) and getPlayerStorageValue(cid, 16410) == 1 then doPlayerSendTextMessage(cid, 19, "You managed to melt almost the whole block, only the feet of the creature are still stuck in the ice. Finish the job!") doTransformItem(getTileItemById(toPosition,22723).uid,22724) setPlayerStorageValue(cid, 16410, 2) end if(itemEx.itemid == 22724) and getPlayerStorageValue(cid, 16410) == 2 then doPlayerSendTextMessage(cid, 19, "The freed Ursagrodon looks at you with glowing, obedient eyes.") doTransformItem(getTileItemById(toPosition,22724).uid,22725) setPlayerStorageValue(cid, 16410, 3) doPlayerAddMount(cid,38) doRemoveItem(item.uid, 1) end end return true end Ando devagar, porque já tive pressa. E levo esse sorriso, porque já chorei demais... ________________________________________________________________________________ Minhas Sprites: Mega Metagross Mega Abomasnow Pack de Shinys [Posso atualizá-lo com novos shinys a qualquer momento] Tutoriais: [Completo] Criando e adicionando um novo Pokémon [Actions] Criando quest no RME Editores Lua/Xml/Sync Entre outros: Editores Win/Mac/Linux
Postado Abril 23, 2015 10 anos Autor Não funcionou e começou a dar um bug na distro. UP Editado Abril 23, 2015 10 anos por arthur122222 (veja o histórico de edições)
Postado Maio 9, 2015 10 anos http://www.tibiaking.com/forum/topic/56905-descongelando-ursagrodon-montaria/ STYLLER OT 2022
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.