Ir para conteúdo

Featured Replies

Postado

Eu gostaria de  que auguem fizesse uma script que o item 2390 (magic longsword) quebrasse depois de 8 horas sendo usada.

E quando ele quebrasse eu queria que ele virasse o item 2350.

 

do todos os REPS do dia pra quem fizer. 

 

 

Postado
	<item id="2390" article="a" name="magic longsword">
		<attribute key="description" value="It is the magic Cyclopmania Sword." />
		<attribute key="weight" value="4300" />
		<attribute key="defense" value="40" />
		<attribute key="attack" value="55" />
		<attribute key="weaponType" value="sword" />
		<attribute key="slotType" value="two-handed" />
		<attribute key="decayTo" value="2350" />
		<attribute key="duration" value="28800" />
		<attribute key="showduration" value="1" />
	</item>

 

--

 

MMHUCMQ.png  Esta é uma mensagem automática, este tópico foi movido para a área correta.
  Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680

Este tópico foi movido:
De: Scripting OTServ > OTServ > Actions e TalkActions
Para: Suporte OTServ > OTServ > Suporte de Scripts

Editado por Fir3element (veja o histórico de edições)

Postado
  • Autor
1 hora atrás, Fir3element disse:

	<item id="2390" article="a" name="magic longsword">
		<attribute key="description" value="It is the magic Cyclopmania Sword." />
		<attribute key="weight" value="4300" />
		<attribute key="defense" value="40" />
		<attribute key="attack" value="55" />
		<attribute key="weaponType" value="sword" />
		<attribute key="slotType" value="two-handed" />
		<attribute key="decayTo" value="2350" />
		<attribute key="duration" value="28800" />
		<attribute key="showduration" value="1" />
	</item>

 

--

 

MMHUCMQ.png  Esta é uma mensagem automática, este tópico foi movido para a área correta.
  Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680

Este tópico foi movido:
De: Scripting OTServ > OTServ > Actions e TalkActions
Para: Suporte OTServ > OTServ > Suporte de Scripts

 

 

 

Vlw Manin Reputado, Mls comecei a usar o TK agora, vou testar aqui

2 horas atrás, Fir3element disse:

	<item id="2390" article="a" name="magic longsword">
		<attribute key="description" value="It is the magic Cyclopmania Sword." />
		<attribute key="weight" value="4300" />
		<attribute key="defense" value="40" />
		<attribute key="attack" value="55" />
		<attribute key="weaponType" value="sword" />
		<attribute key="slotType" value="two-handed" />
		<attribute key="decayTo" value="2350" />
		<attribute key="duration" value="28800" />
		<attribute key="showduration" value="1" />
	</item>

 

--

 

MMHUCMQ.png  Esta é uma mensagem automática, este tópico foi movido para a área correta.
  Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680

Este tópico foi movido:
De: Scripting OTServ > OTServ > Actions e TalkActions
Para: Suporte OTServ > OTServ > Suporte de Scripts

 

 

 

Cara aparece que o item dura 8 horas mais o tempo não passa

Eu Esperei uma hora continua do mesmo jeito 

tempo8.PNG

Postado

vai em data/movements e abre o arquivo movements.xml e adiciona isso:

 

    <movevent type="DeEquip" itemid="2390" slot="hand" event="function" value="onDeEquipItem"/>
    <movevent type="Equip" itemid="2390" slot="hand" level="10" event="function" value="onEquipItem">
    </movevent>

Postado
  • Autor
Em 17/01/2016 20:11:25, roriscrave disse:

vai em data/movements e abre o arquivo movements.xml e adiciona isso:

 

    <movevent type="DeEquip" itemid="2390" slot="hand" event="function" value="onDeEquipItem"/>
    <movevent type="Equip" itemid="2390" slot="hand" level="10" event="function" value="onEquipItem">
    </movevent>

Vlw mano deu certo. +REP

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

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo