Ir para conteúdo
  • Cadastre-se

Posts Recomendados

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
end

Depois em action.xml

<action itemid="IDDOMELTINGHORN" script="chyllfroest/ursagrodon.lua" />

Até mais.

Editado por Ceos (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

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.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo