PO

[ Pedido ]

Por Ponintatu, 14 de ago. de 2011 em Scripts

script
6
1k
PonintatuP
14 de agosto de 2011 às 22:19

Bom Pessoal. Preciso Muito De Algum Script Que faça Algum Iten Dar DOuble Experience Por Uma Hora.

POder Ser Um ANel, um potium, Enfim. Algo ke De Double Exp E eu Possa Vender no Site Do OT !!!

 

Agradeço Desde já !

 

PEÇO DISCULPA POR O TITULO N HAVER O CONTEUDO CORRETO !

POIS ESTAVA COM MUITA PREÇA E NEM LI AS REGRAS !

GARANTO KE N IRA REPETIR ! LE,BRANDO KE CRIEI DOIS TOPICOS ASSIM !!!

Editado Agosto 14 por Noreply

netflat14N
15 de agosto de 2011 às 19:57

movements/scripts/exp_ring.lua

 

function onEquip(cid, item, slot)
   doTransformItem(item.uid, 10612, 1)
   doPlayerSendTextMessage(cid, 22, 'Now you have 2x extra experience!')
   doPlayerSetExperienceRate(cid, 2)
   return true
end

function onDeEquip(cid, item, slot)
   doTransformItem(item.uid, 10613, 1)
   doPlayerSendTextMessage(cid, 22, 'Extra experience ended.')
   doPlayerSetExperienceRate(cid, 1) 
   return true
end

 

movements.xml

<movevent type="Equip" itemid="10612" slot="ring" event="script" value="exp_ring.lua"/><!-- EXPERIENCE RING IN USE-->
<movevent type="DeEquip" itemid="10612" slot="ring" event="script" value="exp_ring.lua"/><!-- EXPERIENCE RING IN USE-->
<movevent type="Equip" itemid="10613" slot="ring" event="script" value="exp_ring.lua"/><!-- EXPERIENCE RING OFF USE-->
<movevent type="DeEquip" itemid="10613" slot="ring" event="script" value="exp_ring.lua"/><!-- EXPERIENCE RING OFF USE-->

 

items.xml

<!-- Exp Ring-->

<!-- ON -->
<item id="10612" article="an" name="experience ring">
	<attribute key="weight" value="500"/>
	<attribute key="slotType" value="ring"/>

	<attribute key="duration" value="43200"/>
	<attribute key="decayTo" value="0"/>
	<attribute key="showduration" value="1"/>

	<attribute key="transformDeEquipTo" value="10613"/>
</item>
<!-- OFF -->
<item id="10613" article="an" name="experience ring">
	<attribute key="weight" value="500"/>
	<attribute key="slotType" value="ring"/>

	<attribute key="stopduration" value="1"/>
	<attribute key="showduration" value="1"/>

	<attribute key="transformEquipTo" value="10612"/>
</item>

 

Créditos: dragaoart

SanfS
15 de agosto de 2011 às 20:25

Vai ajudar ;d

PonintatuP
15 de agosto de 2011 às 21:13

Como Esse Script Funciona ? Ele é um akele Jornalzinhu, dai quando colocado no lugar de Ring Ele vira Akele crystalzinhu azul ? e quando acaba some ? E quanto tempo esta para ele durar? caso eu queira mudar o tempo e o anel a ser usado onde eu mudo ?

Editado Agosto 15 por Noreply

grigacuinG
17 de agosto de 2011 às 08:36

Após ler o script, ele faz com que sua experiencia Dobre, Ao Tirar do anel, a experiencia volta ao normal, más esse script, pode conter um erro, se alguem pegar outro anel, e trocar pelo Anel, trocar, ele nao vai retirar o Exp x2

 

Não sei como tirar esse bug.

Pra Muda a duration voce muda ake:

<attribute key="duration" value="43200"/> --Não sei quanto tempo demora pra acabar =\

 

Talvez seja assim, testa ae gente, se nao aparecer a mensagem "Extra experience ended."

Estará com bug, ou seja é melhor que ninguem saiba isso XD

Eu me informei aqui no meu servidor, e o número é em Segundo(60s)!!! vlws XD

Editado Agosto 17 por Viciadorlz

PonintatuP
17 de agosto de 2011 às 23:03

Kara.. Vlw Msm !!!

Só tenhu a Agradeçer !