..::DeatH RinG::..
Funciona assim:
ao colocar o Death Ring, o dano mágico do player aumentará 10% (você pode alterar essa porcentagem).
e o ring começa a brilhar ao colocar (muda de id.. xP)
Primeiro abra o arquivo items.xml
Aperte CTRL+F e procure por death ring ou pela ID 6300.
Você encontrará algo assim:
<item id="6300" name="death ring"><attribute key="transformEquipTo" value="6301"/>
<attribute key="stopduration" value="1"/>
<attribute key="showduration" value="1"/>
</item>
<item id="6301" name="death ring">
<attribute key="transformDeEquipTo" value="6300"/>
<attribute key="showduration" value="1"/>
</item>
Apague tudo e adicione isso:
<item id="6300" name="death ring"><attribute key="weight" value="80"/>
<attribute key="slotType" value="ring"/>
<attribute key="transformEquipTo" value="6301"/>
<attribute key="stopduration" value="1"/>
<attribute key="showduration" value="1"/>
</item>
<item id="6301" name="death ring">
<attribute key="increaseMagicPercent" value="10"/>
<attribute key="weight" value="80"/>
<attribute key="slotType" value="ring"/>
<attribute key="decayTo" value="0"/>
<attribute key="transformDeEquipTo" value="6300"/>
<attribute key="duration" value="1200"/>
<attribute key="showduration" value="1"/>
</item>
Explicando:
<attribute key="increaseMagicPercent" value="10"/>
~> Coloque em value="10" a porcentagem desejada que irá aumentar o dano magico do player
<attribute key="duration" value="1200"/>
~> A Duração do anel. 1200= 20 minutos. coloque o quanto quiser
Agora em movements.xml
adicione:
<movevent event="Equip" itemid="6300" slot="ring" function="onEquipItem" /> --death ring<movevent event="Equip" itemid="6301" slot="ring" function="onEquipItem" /> --death ring
<movevent event="DeEquip" itemid="6301" slot="ring" function="onDeEquipItem" /> --death ring
Pronto x)
seu ring ta pronto pra usar. agora é só colocar em alguns bixus pra dropar esse ring. normalmente os mosnstros da PoI ja estao configurados pra dropar ;P mas se não tiver coloca ;
testado em evolutions 0.7.8
Creditos: leandro27
//Bye, bye