Ir para conteúdo
  • Cadastre-se

Scripting RESTRINGIR KNIGHT DE USAR CERTO RING


Posts Recomendados

Salve TK

 

 

Preciso restringir a vocação knight e suas segundas vocações(EK) de usar um certo RING. 

 

O RING que ele não pode usar é um ring de Mana Shield, como faço isso?

Link para o post
Compartilhar em outros sites

@Sotten 
Poem essa tag em moveevents.xml:

    <movevent type="Equip" itemid="ID DO ITEM" slot="ring" level ="LVL PRA USAR" event="function" value="onEquipItem">
        <vocation id="9"/> --poem a id das vocações que poderão usar
        <vocation id="10"/>
        <vocation id="11" showInDescription="1"/> --isso é pra mostrar o nome da vocação quando der look no item (
        <vocation id="12" showInDescription="1"/>
    </movevent>

    <movevent type="DeEquip" itemid="ID DO ITEM" slot="ring" event="function" value="onDeEquipItem"/>

Link para o post
Compartilhar em outros sites
2 horas atrás, gabriel28 disse:

@Sotten 
Poem essa tag em moveevents.xml:

    <movevent type="Equip" itemid="ID DO ITEM" slot="ring" level ="LVL PRA USAR" event="function" value="onEquipItem">
        <vocation id="9"/> --poem a id das vocações que poderão usar
        <vocation id="10"/>
        <vocation id="11" showInDescription="1"/> --isso é pra mostrar o nome da vocação quando der look no item (
        <vocation id="12" showInDescription="1"/>
    </movevent>

    <movevent type="DeEquip" itemid="ID DO ITEM" slot="ring" event="function" value="onDeEquipItem"/>

Deu não chefe, 

 

 

Fiz certo?

 

 

image.thumb.png.f6845bd1fe35eba0e2f0f132ba636baa.png

Link para o post
Compartilhar em outros sites
1 minuto atrás, julhinhuu disse:

Qual erro que aparece?

nenhum erro, eu simplesmente consigo usar o ring sendo knight

Link para o post
Compartilhar em outros sites
 

tenta assim

 

 

<movevent event="Equip" itemid="2216" level="20" slot="ring" function="onEquipItem" >
<vocation name="Druid" />
<vocation name='Elder Druid" showInDescription="0" />
</movevent>
<movevent event="DeEquip" itemid="6300" level="20" slot="ring" function="onDeEquipItem" />

 

Editado por typer (veja o histórico de edições)
Link para o post
Compartilhar em outros sites
7 minutos atrás, typer disse:
 

tenta assim

 

 


<movevent event="Equip" itemid="2216" level="20" slot="ring" function="onEquipItem" >
<vocation name="Druid" />
<vocation name='Elder Druid" showInDescription="0" />
</movevent>
<movevent event="DeEquip" itemid="2216" level="20" slot="ring" function="onDeEquipItem" />

 

knight continua usando cara..

8 minutos atrás, julhinhuu disse:

<movevent event="DeEquip" itemid="6300" slot="ring" function="onDeEquipItem"/>
<movevent event="Equip" itemid="6300" slot="ring" function="onEquipItem">
<vocation name="Sorcerer"/>
<vocation name="Master Sorcerer" showInDescription="0"/>
<vocation name="Druid"/>
<vocation name="Elder Druid" showInDescription="0"/>

<vocation name="Paladin"/>
<vocation name="Royal Paladin" showInDescription="0"/>

Testa!!

nada !

Link para o post
Compartilhar em outros sites
11 minutos atrás, julhinhuu disse:

Erro?

pelo xml não da erro, faço reload e vai normal

 

só que kina ainda usa o ring

Link para o post
Compartilhar em outros sites

Posta seu movements.xml completo.

 

 

 

Nós somos aquilo que fazemos repetidamente. Excelência, não é um modo de agir, mas um hábito.

                                                                                                                                                                                                                                        Aristóteles 

Link para o post
Compartilhar em outros sites
10 minutos atrás, Way20 disse:

Posta seu movements.xml completo.

<?xml version="1.0" encoding="UTF-8"?>
<movements>
<!-- Telec -->
<movevent event="StepIn" uniqueid="6666" script="piso_doidao.lua" />
<movevent event="StepIn" uniqueid="9999" script="piso_doidao3.lua" />
<movevent event="StepIn" uniqueid="7777" script="piso_doidao2.lua" />
<movevent event="StepIn" uniqueid="8888" script="pisodoslayer.lua" />
<movevent event="StepIn" uniqueid="17203" script="city.lua" />
<movevent event="StepIn" uniqueid="17301" script="cidadevip.lua" />
<movevent event="StepIn" uniqueid="17202" script="nonpvp.lua" />
<movevent event="StepIn" uniqueid="17208" script="firefortress.lua" />
<movevent event="StepIn" actionid="13540" script="vip.lua" />
<movevent event="StepIn" actionid="13539" script="vip2.lua" />

<movevent event="Equip" itemid="6579" slot="ring" level="8" function="onEquipItem" script="legod2.lua" />
<movevent event="DeEquip" itemid="6579" slot="ring" function="onDeEquipItem" script="legod2.lua" />

<movevent event="Equip" itemid="8982" slot="ring" level="8" function="onEquipItem" script="legod3.lua" />
<movevent event="DeEquip" itemid="8982" slot="ring" function="onDeEquipItem" script="legod3.lua" />

<movevent event="Equip" itemid="6512" slot="ring" level="8" function="onEquipItem" script="legod4.lua" />
<movevent event="DeEquip" itemid="6512" slot="ring" function="onDeEquipItem" script="legod4.lua" />

<movevent event="Equip" itemid="6492" slot="ring" level="8" function="onEquipItem" script="legod5.lua" />
<movevent event="DeEquip" itemid="6492" slot="ring" function="onDeEquipItem" script="legod5.lua" />

 <!-- Decaying tiles -->
 <movevent event="StepIn" itemid="293" script="decay.lua"/>
 <movevent event="StepIn" itemid="461" script="decay.lua"/>

 <!-- (Depot & Level) tiles -->
 <movevent event="StepIn" itemid="416" script="tiles.lua"/>
 <movevent event="StepOut" itemid="417" script="tiles.lua"/>
 <movevent event="StepIn" itemid="426" script="tiles.lua"/>
 <movevent event="StepOut" itemid="425" script="tiles.lua"/>
 <movevent event="StepIn" itemid="446" script="tiles.lua"/>
 <movevent event="StepOut" itemid="447" script="tiles.lua"/>
 <movevent event="StepIn" itemid="3216" script="tiles.lua"/>
 <movevent event="StepOut" itemid="3217" script="tiles.lua"/>

 <!-- Traps -->
 <movevent event="StepIn" itemid="1510" script="trap.lua"/>
 <movevent event="StepOut" itemid="1511" script="trap.lua"/>
 <movevent event="StepIn" itemid="1512" script="trap.lua"/>
 <movevent event="StepOut" itemid="1513" script="trap.lua"/>
 <movevent event="StepIn" itemid="2579" script="trap.lua"/>
 <movevent event="RemoveItem" itemid="2579" script="trap.lua"/>

 <!-- Citizen teleport -->
 <movevent event="StepIn" itemid="1387" script="citizen.lua"/>

 <!-- Walkback when walking on quest chest -->
 <movevent event="StepIn" itemid="1738" script="walkback.lua"/>
 <movevent event="StepIn" itemid="1740" script="walkback.lua"/>
 <movevent event="StepIn" fromid="1746" toid="1749" script="walkback.lua"/>

 <!-- (Level & quest) doors -->
 <movevent event="StepOut" itemid="1228" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="1230" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="1246" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="1248" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="1260" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="1262" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="3541" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="3550" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="5104" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="5113" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="5122" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="5131" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="5293" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="5295" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="1224" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="1226" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="1242" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="1244" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="1256" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="1258" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="3543" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="3552" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="5106" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="5115" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="5124" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="5133" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="5289" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="5291" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="5746" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="5749" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="6203" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="6205" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="6207" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="6209" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="6260" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="6262" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="6264" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="6266" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="6897" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="6899" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="6906" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="6908" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="7039" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="7041" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="7048" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="7050" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="8552" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="8554" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="8556" script="closingdoor.lua"/>
 <movevent event="StepOut" itemid="8558" script="closingdoor.lua"/>

 <!-- Snow footprint tiles -->
 <movevent event="StepOut" itemid="670" script="snow.lua"/>
 <movevent event="StepOut" fromid="6580" toid="6593" script="snow.lua"/>

 <!-- Create bread movements -->
 <movevent event="AddItem" tileitem="1" itemid="1786" script="dough.lua"/>
 <movevent event="AddItem" tileitem="1" itemid="1788" script="dough.lua"/>
 <movevent event="AddItem" tileitem="1" itemid="1790" script="dough.lua"/>
 <movevent event="AddItem" tileitem="1" itemid="1792" script="dough.lua"/>

 <!-- Campfires -->
 <movevent event="StepIn" itemid="1423" function="onStepInField"/>
 <movevent event="AddItem" itemid="1423" function="onAddField"/>
 <movevent event="StepIn" itemid="1424" function="onStepInField"/>
 <movevent event="AddItem" itemid="1424" function="onAddField"/>
 <movevent event="StepIn" itemid="1425" function="onStepInField"/>
 <movevent event="AddItem" itemid="1425" function="onAddField"/>

 <!-- Fields -->
 <movevent event="StepIn" itemid="1487" function="onStepInField"/>
 <movevent event="AddItem" itemid="1487" function="onAddField"/>
 <movevent event="StepIn" itemid="1488" function="onStepInField"/>
 <movevent event="AddItem" itemid="1488" function="onAddField"/>
 <movevent event="StepIn" itemid="1489" function="onStepInField"/>
 <movevent event="AddItem" itemid="1489" function="onAddField"/>
 <movevent event="StepIn" itemid="1490" function="onStepInField"/>
 <movevent event="AddItem" itemid="1490" function="onAddField"/>
 <movevent event="StepIn" itemid="1491" function="onStepInField"/>
 <movevent event="AddItem" itemid="1491" function="onAddField"/>
 <movevent event="StepIn" itemid="1492" function="onStepInField"/>
 <movevent event="AddItem" itemid="1492" function="onAddField"/>
 <movevent event="StepIn" itemid="1493" function="onStepInField"/>
 <movevent event="AddItem" itemid="1493" function="onAddField"/>
 <movevent event="StepIn" itemid="1494" function="onStepInField"/>
 <movevent event="AddItem" itemid="1494" function="onAddField"/>
 <movevent event="StepIn" itemid="1495" function="onStepInField"/>
 <movevent event="AddItem" itemid="1495" function="onAddField"/>
 <movevent event="StepIn" itemid="1496" function="onStepInField"/>
 <movevent event="AddItem" itemid="1496" function="onAddField"/>
 <movevent event="StepIn" itemid="1497" function="onStepInField"/>
 <movevent event="AddItem" itemid="1497" function="onAddField"/>
 <movevent event="StepIn" itemid="1498" function="onStepInField"/>
 <movevent event="AddItem" itemid="1498" function="onAddField"/>
 <movevent event="StepIn" itemid="1499" function="onStepInField"/>
 <movevent event="AddItem" itemid="1499" function="onAddField"/>
 <movevent event="StepIn" itemid="1500" function="onStepInField"/>
 <movevent event="AddItem" itemid="1500" function="onAddField"/>
 <movevent event="StepIn" itemid="1501" function="onStepInField"/>
 <movevent event="AddItem" itemid="1501" function="onAddField"/>
 <movevent event="StepIn" itemid="1502" function="onStepInField"/>
 <movevent event="AddItem" itemid="1502" function="onAddField"/>
 <movevent event="StepIn" itemid="1503" function="onStepInField"/>
 <movevent event="AddItem" itemid="1503" function="onAddField"/>
 <movevent event="StepIn" itemid="1504" function="onStepInField"/>
 <movevent event="AddItem" itemid="1504" function="onAddField"/>
 <movevent event="StepIn" itemid="1505" function="onStepInField"/>
 <movevent event="AddItem" itemid="1505" function="onAddField"/>
 <movevent event="StepIn" itemid="1506" function="onStepInField"/>
 <movevent event="AddItem" itemid="1506" function="onAddField"/>
 <movevent event="StepIn" itemid="1507" function="onStepInField"/>
 <movevent event="AddItem" itemid="1507" function="onAddField"/>
 <movevent event="StepIn" itemid="7359" function="onStepInField"/>
 <movevent event="AddItem" itemid="7360" function="onAddField"/>
 

<movevent event="Equip" itemid="2474" slot="head" level="130" function="onEquipItem">
  <vocation name="Knight"/>
  <vocation name="Slayer Knight"/>
  <vocation name="Elite Knight" showInDescription="0"/>
  <vocation name="Paladin"/>
  <vocation name="Slayer Paladin"/>
  <vocation name="Royal Paladin" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="2474" slot="head" function="onDeEquipItem"/>
<movevent event="Equip" itemid="9778" slot="head" level="130" function="onEquipItem">
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="9778" slot="head" function="onDeEquipItem"/>
<movevent event="Equip" itemid="9978" slot="head" level="130" function="onEquipItem">
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="7697" slot="ring" function="onDeEquipItem"/>
<movevent event="Equip" itemid="7708" slot="ring" level="10" function="onEquipItem">
  <vocation name="Druid"/>
  <vocation name="Tree Hugger"/>
  <vocation name="Elder Druid" showInDescription="0"/>
  <vocation name="Sorcerer"/>
  <vocation name="Diabolic Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="9978" slot="head" function="onDeEquipItem"/>
<movevent event="Equip" itemid="2503" slot="armor" level="130" function="onEquipItem">
  <vocation name="Knight"/>
  <vocation name="Slayer Knight"/>
  <vocation name="Elite Knight" showInDescription="0"/>
  <vocation name="Paladin"/>
  <vocation name="Slayer Paladin"/>
  <vocation name="Royal Paladin" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="2503" slot="armor" function="onDeEquipItem"/>
<movevent event="Equip" itemid="9776" slot="armor" level="10" function="onEquipItem">
 </movevent>
 <movevent event="DeEquip" itemid="9776" slot="armor" function="onDeEquipItem"/>
<movevent event="Equip" itemid="9976" slot="armor" level="10" function="onEquipItem">
 </movevent>
 <movevent event="DeEquip" itemid="9976" slot="armor" function="onDeEquipItem"/>
<movevent event="Equip" itemid="2504" slot="legs" level="130" function="onEquipItem">
  <vocation name="Knight"/>
  <vocation name="Slayer Knight"/>
  <vocation name="Elite Knight" showInDescription="0"/>
  <vocation name="Paladin"/>
  <vocation name="Slayer Paladin"/>
  <vocation name="Royal Paladin" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="2504" slot="legs" function="onDeEquipItem"/>
<movevent event="Equip" itemid="9777" slot="legs" level="10" function="onEquipItem">
 </movevent>
 <movevent event="DeEquip" itemid="9777" slot="legs" function="onDeEquipItem"/>
<movevent event="Equip" itemid="9978" slot="legs" level="10" function="onEquipItem">
 </movevent>
 <movevent event="DeEquip" itemid="9975" slot="legs" function="onDeEquipItem"/>
<movevent event="Equip" itemid="8979" slot="ring" level="130" function="onEquipItem">
  <vocation name="Knight"/>
  <vocation name="Slayer Knight"/>
  <vocation name="Elite Knight" showInDescription="0"/>
 </movevent>
        <movevent event="DeEquip" itemid="9976" slot="legs" function="onDeEquipItem"/>
<movevent event="Equip" itemid="7967" slot="ring" level="10" function="onEquipItem">
  <vocation name="knight"/>
  <vocation name="paladin"/>
  <vocation name="ascended warrior"/>
  <vocation name="highborn archer" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8979" slot="ring" function="onDeEquipItem"/>
<movevent event="Equip" itemid="5785" slot="ring" level="8" function="onEquipItem">
  <vocation name="Knight"/>
  <vocation name="Slayer Knight"/>
  <vocation name="Elite Knight" showInDescription="0"/>
  <vocation name="Paladin"/>
  <vocation name="Slayer Paladin"/>
  <vocation name="Royal Paladin" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="5785" slot="ring" function="onDeEquipItem"/>

<movevent event="Equip" itemid="2471" slot="head" level="130" function="onEquipItem">
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="2471" slot="head" function="onDeEquipItem"/>
<movevent event="Equip" itemid="8900" slot="ammo" level="1" function="onEquipItem">
  <vocation name="Druid"/>
  <vocation name="Tree Hugger"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8900" slot="ammo" function="onDeEquipItem"/>
<movevent event="Equip" itemid="8901" slot="ammo" level="1" function="onEquipItem">
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8901" slot="ammo" function="onDeEquipItem"/>
<movevent event="Equip" itemid="8902" slot="ammo" level="1" function="onEquipItem">
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8902" slot="ammo" function="onDeEquipItem"/>
<movevent event="Equip" itemid="8903" slot="ammo" level="1" function="onEquipItem">
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8903" slot="ammo" function="onDeEquipItem"/>
<movevent event="Equip" itemid="8904" slot="ammo" level="1" function="onEquipItem">
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8904" slot="ammo" function="onDeEquipItem"/>
<movevent event="Equip" itemid="8918" slot="ammo" level="1" function="onEquipItem">
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8918" slot="ammo" function="onDeEquipItem"/>

<movevent event="Equip" itemid="9690" slot="feet" function="onEquipItem" />
<movevent event="Equip" itemid="5929" slot="feet" function="onEquipItem" />
<movevent event="DeEquip" itemid="5929" slot="feet" function="onDeEquipItem" />

<movevent event="Equip" itemid="9933" slot="feet" function="onEquipItem" />
<movevent event="Equip" itemid="9932" slot="feet" function="onEquipItem" />
<movevent event="DeEquip" itemid="9932" slot="feet" function="onDeEquipItem" />

<movevent event="Equip" itemid="7730" slot="legs" function="onEquipItem" />
<movevent event="DeEquip" itemid="7730" slot="legs" function="onDeEquipItem" />

<movevent event="Equip" itemid="2358" slot="feet" function="onEquipItem" />
<movevent event="DeEquip" itemid="2358" slot="feet" function="onDeEquipItem" />

<!-- Boots -->
 <movevent event="Equip" itemid="2195" slot="feet" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2195" slot="feet" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="7886" slot="feet" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="7886" slot="feet" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="7892" slot="feet" level="10" function="onEquipItem">
 </movevent>
 <movevent event="DeEquip" itemid="7892" slot="feet" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="7891" slot="feet" level="10" function="onEquipItem">
 </movevent>
 <movevent event="DeEquip" itemid="7891" slot="feet" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="7893" slot="feet" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="7893" slot="feet" function="onDeEquipItem"/>

 <!-- Amulets -->
 <movevent event="Equip" itemid="2161" slot="necklace" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2161" slot="necklace" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="2170" slot="necklace" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2170" slot="necklace" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="2172" slot="necklace" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2172" slot="necklace" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="2197" slot="necklace" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2197" slot="necklace" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="2198" slot="necklace" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2198" slot="necklace" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="2199" slot="necklace" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2199" slot="necklace" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="2200" slot="necklace" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2200" slot="necklace" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="2201" slot="necklace" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2201" slot="necklace" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="2173" slot="necklace" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2173" slot="necklace" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="7887" slot="necklace" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="7887" slot="necklace" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="7888" slot="necklace" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="7888" slot="necklace" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="7889" slot="necklace" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="7889" slot="necklace" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="7890" slot="necklace" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="7890" slot="necklace" function="onDeEquipItem"/>

 <!-- Rings -->
 <movevent event="Equip" itemid="2164" slot="ring" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2164" slot="ring" function="onDeEquipItem"/>
        <movevent type="Equip" itemid="9776" slot="ring" event="script" value="extra.lua"/>
        <movevent type="DeEquip" itemid="9776" slot="ring" event="script" value="extra.lua"/>
 <movevent event="Equip" itemid="2165" slot="ring" function="onEquipItem"/>
 <movevent event="Equip" itemid="2202" slot="ring" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2202" slot="ring" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="2166" slot="ring" function="onEquipItem"/>
 <movevent event="Equip" itemid="2203" slot="ring" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2203" slot="ring" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="2167" slot="ring" function="onEquipItem"/>
 <movevent event="Equip" itemid="2204" slot="ring" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2204" slot="ring" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="2168" slot="ring" function="onEquipItem"/>
 <movevent event="Equip" itemid="2205" slot="ring" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2205" slot="ring" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="2169" slot="ring" function="onEquipItem"/>
 <movevent event="Equip" itemid="2206" slot="ring" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2206" slot="ring" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="2207" slot="ring" function="onEquipItem"/>
 <movevent event="Equip" itemid="2210" slot="ring" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2210" slot="ring" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="2208" slot="ring" function="onEquipItem"/>
 <movevent event="Equip" itemid="2211" slot="ring" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2211" slot="ring" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="2209" slot="ring" function="onEquipItem"/>
 <movevent event="Equip" itemid="2212" slot="ring" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2212" slot="ring" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="2213" slot="ring" function="onEquipItem"/>
 <movevent event="Equip" itemid="2215" slot="ring" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2215" slot="ring" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="2214" slot="ring" function="onEquipItem"/>
 <movevent event="Equip" itemid="2216" slot="ring" function="onEquipItem"/>
 <movevent event="Equip" itemid="6300" slot="ring" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2216" slot="ring" function="onDeEquipItem"/>
        <movevent event="DeEquip" itemid="6300" slot="ring" function="onDeEquipItem"/>
        <movevent event="DeEquip" itemid="6300" level="20" slot="ring" function="onDeEquipItem" />
 <movevent event="Equip" itemid="6301" slot="ring" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="6301" slot="ring" function="onDeEquipItem"/>

 <!-- Helmets -->
 <movevent event="Equip" itemid="5461" slot="head" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="5461" slot="head" function="onDeEquipItem"/>
  <movevent event="Equip" itemid="2343" slot="head" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2343" slot="head" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="7900" slot="head" function="onEquipItem">
 </movevent>
 <movevent event="DeEquip" itemid="7900" slot="head" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="7901" slot="head" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="7901" slot="head" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="7902" slot="head" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="7902" slot="head" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="7903" slot="head" level="10" function="onEquipItem">
 </movevent>
 <movevent event="DeEquip" itemid="7903" slot="head" level="10" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8820" slot="head" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8820" slot="head" function="onDeEquipItem"/>

 <!-- Armors -->
 <movevent event="Equip" itemid="7884" slot="armor" level="10" function="onEquipItem">
 </movevent>
 <movevent event="DeEquip" itemid="7884" slot="armor" level="10" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="7897" slot="armor" level="50" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="7897" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="7898" slot="armor" level="50" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="7898" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="7899" slot="armor" level="50" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="7899" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8819" slot="armor" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Master Sorcerer"/>
  <vocation name="Diabolic Sorcerer" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8819" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8821" slot="armor" level="50" function="onEquipItem">
 </movevent>
 <movevent event="DeEquip" itemid="8821" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8865" slot="armor" level="65" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8865" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8866" slot="armor" function="onEquipItem">
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
        <movevent event="DeEquip" itemid="8885" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8885" slot="armor" function="onEquipItem">
 </movevent>
 <movevent event="DeEquip" itemid="8866" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8867" slot="armor" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8867" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8869" slot="armor" level="75" function="onEquipItem">
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8869" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8870" slot="armor" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8870" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8871" slot="armor" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8871" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8872" slot="armor" function="onEquipItem">
  <vocation name="Paladin"/>
  <vocation name="Slayer Paladin"/>
  <vocation name="Royal Paladin" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8872" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8877" slot="armor" level="60" function="onEquipItem">
  <vocation name="Knight"/>
  <vocation name="Slayer Knight"/>
  <vocation name="Elite Knight" showInDescription="0"/>
  <vocation name="Paladin"/>
  <vocation name="Slayer Paladin"/>
  <vocation name="Royal Paladin" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8877" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8878" slot="armor" level="60" function="onEquipItem">
  <vocation name="Knight"/>
  <vocation name="Slayer Knight"/>
  <vocation name="Elite Knight" showInDescription="0"/>
  <vocation name="Paladin"/>
  <vocation name="Slayer Paladin"/>
  <vocation name="Royal Paladin" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8878" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8879" slot="armor" level="60" function="onEquipItem">
  <vocation name="Knight"/>
  <vocation name="Slayer Knight"/>
  <vocation name="Elite Knight" showInDescription="0"/>
  <vocation name="Paladin"/>
  <vocation name="Slayer Paladin"/>
  <vocation name="Royal Paladin" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8879" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8881" slot="armor" level="90" function="onEquipItem">
  <vocation name="Knight"/>
  <vocation name="Slayer Knight"/>
  <vocation name="Elite Knight" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8881" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8882" slot="armor" level="90" function="onEquipItem">
  <vocation name="Knight"/>
  <vocation name="Slayer Knight"/>
  <vocation name="Elite Knight" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8882" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8883" slot="armor" level="90" function="onEquipItem">
  <vocation name="Knight"/>
  <vocation name="Slayer Knight"/>
  <vocation name="Elite Knight" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8883" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8884" slot="armor" level="90" function="onEquipItem">
  <vocation name="Knight"/>
  <vocation name="Slayer Knight"/>
  <vocation name="Elite Knight" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8884" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8887" slot="armor" level="75" function="onEquipItem">
  <vocation name="Paladin"/>
  <vocation name="Slayer Paladin"/>
  <vocation name="Royal Paladin" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8887" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8888" slot="armor" level="100" function="onEquipItem">
  <vocation name="Paladin"/>
  <vocation name="Slayer Paladin"/>
  <vocation name="Royal Paladin" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8888" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8889" slot="armor" level="100" function="onEquipItem">
  <vocation name="Knight"/>
  <vocation name="Slayer Knight"/>
  <vocation name="Elite Knight" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8889" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8890" slot="armor" level="100" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8890" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8891" slot="armor" function="onEquipItem">
  <vocation name="Paladin"/>
  <vocation name="Slayer Paladin"/>
  <vocation name="Royal Paladin" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8891" slot="armor" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="8892" slot="armor" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="8892" slot="armor" function="onDeEquipItem"/>

 <!-- Legs -->
 <movevent event="Equip" itemid="7885" slot="legs" level="10" function="onEquipItem">
 </movevent>
 <movevent event="DeEquip" itemid="7885" slot="legs" level="10" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="7894" slot="legs" level="10" function="onEquipItem">
 </movevent>
 <movevent event="DeEquip" itemid="7894" slot="legs" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="7895" slot="legs" level="40" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="7895" slot="legs" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="7896" slot="legs" level="40" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
 </movevent>
 <movevent event="DeEquip" itemid="7896" slot="legs" function="onDeEquipItem"/>

 <!-- Shields -->
 <movevent event="Equip" fromid="8905" toid="8909" slot="left-hand" level="10" function="onEquipItem">
 </movevent>
 <movevent event="DeEquip" fromid="8905" toid="8909" slot="left-hand" function="onDeEquipItem"/>
 <movevent event="Equip" fromid="8905" toid="8909" slot="right-hand" level="10" function="onEquipItem">
 </movevent>
        <movevent event="DeEquip" itemid="8906" slot="ring" function="onDeEquipItem"/>
<movevent event="Equip" itemid="8906" slot="ring" function="onEquipItem">
 </movevent>
 <movevent event="DeEquip" fromid="8905" toid="8909" slot="right-hand" function="onDeEquipItem"/>
 <movevent event="Equip" itemid="6391" slot="shield" level="8" function="onEquipItem">
  <vocation name="Sorcerer"/>
  <vocation name="Slayer Sorcerer"/>
  <vocation name="Master Sorcerer" showInDescription="0"/>
  <vocation name="Druid"/>
  <vocation name="Slayer Druid"/>
  <vocation name="Elder Druid" showInDescription="0"/>
  <vocation name="Knight"/>
  <vocation name="Slayer Knight"/>
  <vocation name="Elite Knight" showInDescription="0"/>
  <vocation name="Paladin"/>
  <vocation name="Slayer Paladin"/>
  <vocation name="Royal Paladin" showInDescription="0"/>
 </movevent>
        <movevent event="DeEquip" itemid="6300" slot="ring" function="onDeEquipItem"/>
        <movevent event="Equip" itemid="6300" slot="ring" function="onEquipItem">
                <vocation name="Sorcerer"/>
                <vocation name="Master Sorcerer" showInDescription="0"/>
                <vocation name="Druid"/>
                <vocation name="Elder Druid" showInDescription="0"/>
                <vocation name="Paladin"/>
                <vocation name="Royal Paladin" showInDescription="0"/>
        </movevent>
 <movevent event="DeEquip" itemid="6391" slot="shield" function="onDeEquipItem"/>

 <!-- Swimming -->
 <movevent event="StepIn" itemid="4828" script="swimming/north.lua"/>
 <movevent event="StepIn" itemid="4829" script="swimming/east.lua"/>
 <movevent event="StepIn" itemid="4830" script="swimming/south.lua"/>
 <movevent event="StepIn" itemid="4831" script="swimming/west.lua"/>

 <movevent event="StepIn" itemid="7943" script="swimming/north.lua"/>
 <movevent event="StepIn" itemid="7944" script="swimming/west.lua"/>
 <movevent event="StepIn" itemid="7945" script="swimming/south.lua"/>
 <movevent event="StepIn" itemid="7946" script="swimming/east.lua"/>
 <movevent event="StepIn" itemid="7947" script="swimming/south.lua"/>
 <movevent event="StepIn" itemid="7948" script="swimming/south.lua"/>
 <movevent event="StepIn" itemid="7949" script="swimming/north.lua"/>
 <movevent event="StepIn" itemid="7950" script="swimming/north.lua"/>
 <movevent event="StepIn" itemid="7951" script="swimming/south.lua"/>
 <movevent event="StepIn" itemid="7952" script="swimming/south.lua"/>
 <movevent event="StepIn" itemid="7953" script="swimming/north.lua"/>
 <movevent event="StepIn" itemid="7954" script="swimming/north.lua"/>
        <movevent type="StepIn" actionid="10210" event="script" value="minhaquest.lua"/>
</movements>

Link para o post
Compartilhar em outros sites
 <movevent event="Equip" itemid="2164" slot="ring" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2164" slot="ring" function="onDeEquipItem"/>
  <vocation name="Knight"/>
  <vocation name="Slayer Knight"/>
  <vocation name="Elite Knight" showInDescription="0"/>
 </movevent>

 

Link para o post
Compartilhar em outros sites
24 minutos atrás, Sttorm disse:

 <movevent event="Equip" itemid="2164" slot="ring" function="onEquipItem"/>
 <movevent event="DeEquip" itemid="2164" slot="ring" function="onDeEquipItem"/>
  <vocation name="Knight"/>
  <vocation name="Slayer Knight"/>
  <vocation name="Elite Knight" showInDescription="0"/>
 </movevent>

 

[12/03/2018 19:02:30] [Warning - BaseEvents::loadFromXml] Can not open movements.xml
[12/03/2018 19:02:30] [Error - Game::reloadInfo] Failed to reload move events.

28 minutos atrás, julhinhuu disse:

Não dê reload em movements, feche o servidor e abra-o novamente.

ja fiz e não deu tb

Link para o post
Compartilhar em outros sites

Perdão , erro meu

 

 </movevent>
 
  <movevent event="Equip" itemid="2164" slot="ring" function="onEquipItem"/>
  <movevent event="DeEquip" itemid="2164" slot="ring" function="onDeEquipItem"/>
  <vocation name="Knight"/>
  <vocation name="Slayer Knight"/>
  <vocation name="Elite Knight" showInDescription="0"/>
 
 </movevent>

 

 

Link para o post
Compartilhar em outros sites

    </movevent>
    <movevent type="DeEquip" itemid="2164" slot="head" event="function" value="onDeEquipItem"/>
    <movevent type="Equip" itemid="2164" slot="head" event="function" value="onEquipItem">
        <vocation id="1"/>
        <vocation id="2"/>

        <vocation id="3"/>

        <vocation id="5"/>

        <vocation id="6"/>

        <vocation id="7"/>
    </movevent>

       112674.gif

 

 

 

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.

  • Conteúdo Similar

    • Por cloudrun2023
      CloudRun - Sua Melhor Escolha para Hospedagem de OTServer!
      Você está procurando a solução definitiva para hospedar seu OTServer com desempenho imbatível e segurança inigualável? Não procure mais! Apresentamos a CloudRun, sua parceira confiável em serviços de hospedagem na nuvem.
       
      Recursos Exclusivos - Proteção DDoS Avançada:
      Mantenha seu OTServer online e seguro com nossa robusta proteção DDoS, garantindo uma experiência de jogo ininterrupta para seus jogadores.
       
      Servidores Ryzen 7 Poderosos: Desfrute do poder de processamento superior dos servidores Ryzen 7 para garantir um desempenho excepcional do seu OTServer. Velocidade e estabilidade garantidas!
       
      Armazenamento NVMe de Alta Velocidade:
      Reduza o tempo de carregamento do jogo com nosso armazenamento NVMe ultrarrápido. Seus jogadores vão adorar a rapidez com que podem explorar o mundo do seu OTServer.
       
      Uplink de até 1GB:
      Oferecemos uma conexão de alta velocidade com até 1GB de largura de banda, garantindo uma experiência de jogo suave e livre de lag para todos os seus jogadores, mesmo nos momentos de pico.
       
      Suporte 24 Horas:
      Estamos sempre aqui para você! Nossa equipe de suporte está disponível 24 horas por dia, 7 dias por semana, para resolver qualquer problema ou responder a qualquer pergunta que você possa ter. Sua satisfação é a nossa prioridade.
       
      Fácil e Rápido de Começar:
      Configurar seu OTServer na CloudRun é simples e rápido. Concentre-se no desenvolvimento do seu jogo enquanto cuidamos da hospedagem.
       
      Entre em Contato Agora!
      Website: https://central.cloudrun.com.br/index.php?rp=/store/cloud-ryzen-brasil
      Email: [email protected]
      Telefone: (47) 99902-5147

      Não comprometa a qualidade da hospedagem do seu OTServer. Escolha a CloudRun e ofereça aos seus jogadores a melhor experiência de jogo possível. Visite nosso site hoje mesmo para conhecer nossos planos e começar!
       
      https://central.cloudrun.com.br/index.php?rp=/store/cloud-ryzen-brasil
       
      CloudRun - Onde a Velocidade Encontra a Confiabilidade!
       

    • Por FeeTads
      SALVE rapaziada do TK, esses dias vim pensando em novos scripts pro meu OT, e em um deles eu precisava que determinada area não contasse frag pro player que matasse outros, PORÉM eu precisava que os players que morressem nessa area ainda assim tivessem as penalidades da sua morte, procurei por ai, achei alguns scripts que apenas tiravam o SKULL e não realmente o FRAG do player.

      **script atualizado 22/10/2023** - melhorado e otimizado, levei o script pra puxar as infos por .lua / creatureScripts

      vou disponibilizar o code aqui, e o que fazer pra determinada area não contar frag.

      SOURCE OTX 2 / TFS 0.x, Funciona em TFS 1.x mudando as tags e ajeitando as sintaxes.

      vá em creatureevent.cpp

      procure por:
      else if(type == "preparedeath") _type = CREATURE_EVENT_PREPAREDEATH;
      Adiciona abaixo:
      else if(type == "nocountfrag") _type = CREATURE_EVENT_NOCOUNTFRAG;

      procure por:
      case CREATURE_EVENT_PREPAREDEATH: return "onPrepareDeath";  
      Adicione abaixo: 
      case CREATURE_EVENT_NOCOUNTFRAG: return "noCountFragArea";

      procure por:
      case CREATURE_EVENT_PREPAREDEATH: return "cid, deathList";
      Adicione abaixo:
      case CREATURE_EVENT_NOCOUNTFRAG: return "cid, target";

      agora no mesmo arquivo, vá até o final do arquivo e adicione essa função:
      uint32_t CreatureEvent::executeNoCountFragArea(Creature* creature, Creature* target) { //noCountFragArea(cid, target) if(m_interface->reserveEnv()) { ScriptEnviroment* env = m_interface->getEnv(); if(m_scripted == EVENT_SCRIPT_BUFFER) { env->setRealPos(creature->getPosition()); std::ostringstream scriptstream; scriptstream << "local cid = " << env->addThing(creature) << std::endl; scriptstream << "local target = " << env->addThing(target) << std::endl; if(m_scriptData) scriptstream << *m_scriptData; bool result = true; if(m_interface->loadBuffer(scriptstream.str())) { lua_State* L = m_interface->getState(); result = m_interface->getGlobalBool(L, "_result", true); } m_interface->releaseEnv(); return result; } else { #ifdef __DEBUG_LUASCRIPTS__ std::ostringstream desc; desc << creature->getName(); env->setEvent(desc.str()); #endif env->setScriptId(m_scriptId, m_interface); env->setRealPos(creature->getPosition()); lua_State* L = m_interface->getState(); m_interface->pushFunction(m_scriptId); lua_pushnumber(L, env->addThing(creature)); lua_pushnumber(L, env->addThing(target)); bool result = m_interface->callFunction(2); m_interface->releaseEnv(); return result; } } else { std::clog << "[Error - CreatureEvent::noCountFragArea] Call stack overflow." << std::endl; return 0; } }

      agora vá em creatureevent.h

      procure por:
      CREATURE_EVENT_PREPAREDEATH
      adicione abaixo:
      CREATURE_EVENT_NOCOUNTFRAG

      procure por:
      uint32_t executePrepareDeath(Creature* creature, DeathList deathList);
      Adicione abaixo:
      uint32_t executeNoCountFragArea(Creature* creature, Creature* target);

      agora vá em player.cpp

      procure por:
      bool Player::onKilledCreature(Creature* target, DeathEntry& entry)
      abaixo de:
      War_t enemy; if(targetPlayer->getEnemy(this, enemy)) { if(entry.isLast()) IOGuild::getInstance()->updateWar(enemy); entry.setWar(enemy); }
      Adicione o seguinte código:
      if (targetPlayer){ CreatureEventList killEvents = getCreatureEvents(CREATURE_EVENT_NOCOUNTFRAG); for (const auto &event : killEvents) { if (!event->executeNoCountFragArea(this, target)) { return true; } } }

      //

      Feito isso, tudo completo na sua source, agora é necessário adicionar o creaturescript dentro do servidor

      vá até creaturescripts/scripts
      crie um arquivo chamado, "noCountFragInArea.lua"
      e dentro dele cole o código:
       
      --[[ script feito por feetads / TibiaKing ]]-- --[[ discord: feetads / FeeTads#0246 ]]-- -- Add positions here for which you do not want to count frags local areas = { [1] = {from = {x = 91, y = 122, z = 7}, to = {x = 98, y = 127, z = 7}}, -- from = area superior esquerda / to = area inferior direita (formando um quadrado) } local onlyKillerInArea = false -- only killer need to be in area? function noCountFragArea(cid, target) if not isCreature(cid) or not isCreature(target) then return true end local posKiller = getPlayerPosition(cid) local posTarget = getPlayerPosition(target) for i = 1, #areas do local area = areas[i] if isInArea(posKiller, area.from, area.to) then if onlyKillerInArea then return false elseif isInArea(posTarget, area.from, area.to) then return false end end end return true end
      agora em creaturescripts.xml
      <event type="nocountfrag" name="fragarea" event="script" value="noCountFragInArea.lua"/>
      agora em creaturescripts/scripts/login.lua
       procure por OU semelhante a esse:
      registerCreatureEvent(cid, "AdvanceSave")
      e abaixo adicione:
      registerCreatureEvent(cid, "fragarea")

      //


      Agora tudo certo, quando quiser adiciona uma area que não pega frag, vá até o script e apenas coloque a area, igual o demonstrado no script

      Exemplo:
      local areas = { [1] = {from = {x = 91, y = 122, z = 7}, to = {x = 98, y = 127, z = 7}}, [2] = {from = {x = 1000, y = 1000, z = 7}, to = {x = 1100, y = 1100, z = 7}}, }
      assim somente colocando a area no script e abrindo o server ou dando /reload, já funcionará a area como não pegar frag.
      Esse sistema pode ser bom pra areas de pvp ativo, onde você ainda quer que o player que morrer perca os atributos, como se fosse uma morte normal, porém não conta frag pra quem matar.
      Bom pra sistemas tipo castle 48h (guild war), onde há diversas mortes e risco de pegar red, atrapalhando a war.

      Façam bom proveito dos scripts, e deixem os créditos no script rsrs

      **Eu fiz as alterações e o simples código por isso vim disponibilizar, créditos meus**
    • Por Muvuka
      Abri canal a força creaturescript acho que funcione no creaturescript cria script creaturescript
       
      <channel id="9" name="HELP" logged="yes"/>
      <channel id="12" name="Report Bugs" logged="yes"/>
      <channel id="13" name="Loot" logged="yes"/>
      <channel id="14" name="Report Character Rules Tibia Rules" logged="yes"/>
      <channel id="15" name="Death Channel"/>
      <channel id="6548" name="DexSoft" level="1"/>
      <channel id="7" name="Reports" logged="yes"/>
       
      antes de 
              if(lastLogin > 0) then adicione isso:
                      doPlayerOpenChannel(cid, CHANNEL_HELP) doPlayerOpenChannel(cid, 1,  2, 3) = 1,2 ,3 Channels, entendeu? NÃO FUNCIONA EU QUERO UM MEIO DE ABRI SEM USA A SOURCE
       
      EU NÃO CONSEGUI ABRI EU NÃO TENHO SOURCE
       
       
    • Por bolachapancao
      Rapaziada seguinte preciso de um script que ao utilizar uma alavanca para até 4 jogadores.
      Os jogadores serão teleportados para hunt durante uma hora e depois de uma hora os jogadores serão teleportados de volta para o templo.
       
      Observação: caso o jogador morra ou saia da hunt o evento hunt é cancelado.

      Estou a base canary
      GitHub - opentibiabr/canary: Canary Server 13.x for OpenTibia community.
       
    • Por RAJADAO
      .Qual servidor ou website você utiliza como base? 
      Sabrehaven 8.0
      Qual o motivo deste tópico? 
      Ajuda com novos efeitos
       
      Olá amigos, gostaria de ajuda para introduzir os seguintes efeitos no meu servidor (usando o Sabrehaven 8.0 como base), adicionei algumas runas novas (avalanche, icicle, míssil sagrado, stoneshower & Thunderstorm) e alguns novos feitiços (exevo mas san, exori san, exori tera, exori frigo, exevo gran mas frigo, exevo gran mas tera, exevo tera hur, exevo frigo hur) mas nenhum dos efeitos dessas magias parece existir no servidor, alguém tem um link para um tutorial ou algo assim para que eu possa fazer isso funcionar?
      Desculpe pelo mau inglês, sou brasileiro.

      Obrigado!


      AVALANCHE RUNE id:3161 \/
      (COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_ICEAREA)
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ICE)

      STONESHOWER RUNE id:3175 \/
      (COMBAT_PARAM_TYPE, COMBAT_EARTHDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_STONES)
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_EARTH)

      THUNDERSTORM RUNE id:3202 \/
      (COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_E NERGYHIT)
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGYBALL)

      ICICLE RUNE id:3158 \/
      COMBAT_ICEDAMAGE
      CONST_ME_ICEAREA
      CONST_ANI_ICE

      SANTO MÍSSIL RUNA id:3182 \/
      (COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_HOLYDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_HOLYAREA)
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_HOLY)

      CONST_ME_PLANTATTACK (exevo gran mas tera)
      CONST_ME_ICETORNADO (exevo gran mas frigo)
      CONST_ME_SMALLPLANTS (exevo tera hur)
      CONST_ME_ICEAREA (exevo frigo hur)
      CONST_ME_ICEATTACK (exori frigo)
      CONST_ME_CARNIPHILA (exori tera)

      EXORI SAN \/
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SMALLHOLY)
      CONST_ME_HOLYDAM IDADE

      EXEVO MAS SAN \/
      CONST_ME_HOLYAREA
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo