Muito bom.
- Fórum
- OTServ
- Recursos
- Scripting
- Actions e Talkactions
- Descongelando Ursagrodon (1.0)
XS
6
1.2k
info
Grupo: Conde
Registrado: 07/04/15
Posts: 962
Reputação: +258
Gênero: Masculino

14 de maio de 2015 às 21:46
info
Grupo: Herói
Registrado: 01/05/08
Posts: 2.6k
Reputação: +536
Gênero: Masculino

14 de maio de 2015 às 21:48
Obrigado por compartilhar conosco!
O script é de sua autoria?
info
Grupo: Herói
Registrado: 01/05/08
Posts: 2.6k
Reputação: +536
Gênero: Masculino





info
Grupo: Artesão
Registrado: 27/06/13
Posts: 116
Reputação: +19
Bom eu estava passando por um servidor e verifiquei que quase nenhum tem o sistema de descongelar o ursagrodon para tfs 1.0.
Agora em (actions/scripts/chyllfroest) crie um .lua chamado ou substitua com o seu nome: Ursagrodon
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 endDepois em action.xml
Até mais.