Ir para conteúdo

Alguem Me Diz Se À Algo De Errado Neste Script Urgente


GODRaphael

Posts Recomendados

Galera Pode me dizer se a algo de errado nestes Script é porque sempre que vou tirar o poke do slot o server da erro e fecha. são os scripts da foto dos pokes: movements.xml,portrait.lua e test.lua

 

Movements.xml:

<?xml version="1.0" encoding="UTF-8"?>

<movements>

 

<movevent type="StepIn" actionid="30001" event="script" value="fly.lua"/>

<movevent type="StepIn" actionid="30002" event="script" value="fly.lua"/>

<movevent type="StepIn" actionid="30003" event="script" value="fly.lua"/>

<movevent type="StepIn" actionid="30004" event="script" value="fly.lua"/>

<movevent type="StepOut" actionid="30005" event="script" value="fly.lua"/>

<movevent type="StepIn" actionid="30006" event="script" value="fly.lua"/>

<movevent type="StepIn" actionid="30007" event="script" value="fly.lua"/>

<movevent type="StepIn" actionid="30008" event="script" value="fly.lua"/>

<movevent type="StepIn" actionid="30009" event="script" value="fly.lua"/>

<movevent type="AddItem" tileitem="1" itemid="460" event="script" value="fly.lua"/>

 

<!-- Decaying tiles -->

<movevent type="StepIn" itemid="293" event="script" value="decay.lua"/>

<movevent type="StepIn" actionid="2020" event="script" value="outfit.lua"/>

<movevent type="StepIn" itemid="461" event="script" value="decay.lua"/>

<!-- Skill -->

 

<movevent type="DeEquip" itemid="2531;2532" slot="feet" event="script" value="skill1.lua"/>

<movevent type="DeEquip" itemid="2653;2557" slot="feet" event="script" value="skill1.lua"/>

<movevent type="DeEquip" itemid="2652;2524" slot="feet" event="script" value="skill1.lua"/>

 

<movevent type="DeEquip" itemid="2195;2523" slot="feet" event="script" value="skill1.lua"/>

 

 

<!-- Underwater drown -->

<movevent type="StepIn" fromid="5405" toid="5410" event="script" value="drown.lua"/>

<movevent type="StepOut" fromid="5405" toid="5410" event="script" value="drown.lua"/>

 

<!-- (Depot & Level) tiles -->

<movevent type="StepIn" itemid="416" event="script" value="tiles.lua"/>

<movevent type="StepOut" itemid="417" event="script" value="tiles.lua"/>

<movevent type="StepIn" itemid="426" event="script" value="tiles.lua"/>

<movevent type="StepOut" itemid="425" event="script" value="tiles.lua"/>

<movevent type="StepIn" itemid="446" event="script" value="tiles.lua"/>

<movevent type="StepOut" itemid="447" event="script" value="tiles.lua"/>

<movevent type="StepIn" itemid="3216" event="script" value="tiles.lua"/>

<movevent type="StepOut" itemid="3217" event="script" value="tiles.lua"/>

<movevent type="StepIn" itemid="3202" event="script" value="tiles.lua"/>

<movevent type="StepOut" itemid="3215" event="script" value="tiles.lua"/>

<movevent type="StepIn" itemid="11059" event="script" value="tiles.lua"/>

<movevent type="StepOut" itemid="11060" event="script" value="tiles.lua"/>

<!-- <movevent type="StepIn" itemid="8714" event="script" value="tiles.lua"/> -->

 

<!-- Traps -->

<movevent type="StepIn" itemid="1510" event="script" value="trap.lua"/>

<movevent type="StepOut" itemid="1511" event="script" value="trap.lua"/>

<movevent type="StepIn" itemid="1512" event="script" value="trap.lua"/>

<movevent type="StepOut" itemid="1513" event="script" value="trap.lua"/>

<movevent type="StepIn" itemid="2579" event="script" value="trap.lua"/>

<movevent type="RemoveItem" itemid="2579" event="script" value="trap.lua"/>

 

<!-- Citizen teleport -->

<movevent type="StepIn" itemid="1387" event="script" value="citizen.lua"/>

 

<!-- Walkback when walking on quest chest -->

<movevent type="StepIn" itemid="1738" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="1740" event="script" value="walkback.lua"/>

<movevent type="StepIn" fromid="1746" toid="1749" event="script" value="walkback.lua"/>

 

<!-- (Level & quest) doors -->

<movevent type="StepOut" itemid="1228" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="1230" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="1246" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="1248" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="1260" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="1262" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="3541" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="3550" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="5104" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="5113" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="5122" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="5131" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="5293" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="5295" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="1224" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="1226" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="1242" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="1244" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="1256" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="1258" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="3543" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="3552" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="5106" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="5115" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="5124" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="5133" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="5289" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="5291" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="5746" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="5749" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="6203" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="6205" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="6207" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="6209" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="6260" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="6262" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="6264" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="6266" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="6897" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="6899" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="6906" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="6908" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="7039" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="7041" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="7048" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="7050" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="8552" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="8554" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="8556" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="8558" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="9176" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="9178" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="9180" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="9182" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="9278" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="9280" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="9282" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="9284" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="10279" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="10281" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="10283" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="10285" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="10474" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="10476" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="10483" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="10485" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="10780" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="10782" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="10789" event="script" value="closingdoor.lua"/>

<movevent type="StepOut" itemid="10791" event="script" value="closingdoor.lua"/>

<movevent type="StepIn" itemid="1228" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="1230" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="1246" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="1248" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="1260" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="1262" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="3541" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="3550" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="5104" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="5113" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="5122" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="5131" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="5293" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="5295" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="1224" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="1226" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="1242" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="1244" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="1256" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="1258" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="3543" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="3552" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="5106" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="5115" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="5124" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="5133" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="5289" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="5291" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="5746" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="5749" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="6203" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="6205" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="6207" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="6209" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="6260" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="6262" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="6264" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="6266" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="6897" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="6899" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="6906" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="6908" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="7039" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="7041" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="7048" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="7050" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="8552" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="8554" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="8556" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="8558" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="9176" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="9178" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="9180" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="9182" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="9278" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="9280" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="9282" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="9284" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="10279" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="10281" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="10283" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="10285" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="10474" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="10476" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="10483" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="10485" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="10780" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="10782" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="10789" event="script" value="walkback.lua"/>

<movevent type="StepIn" itemid="10791" event="script" value="walkback.lua"/>

 

<!-- Snow footprint tiles -->

<movevent type="StepIn" itemid="670" event="script" value="snow.lua"/>

<movevent type="StepIn" itemid="6594" event="script" value="snow.lua"/>

 

<!-- Create bread movements -->

<movevent type="AddItem" tileitem="1" itemid="1786" event="script" value="dough.lua"/>

<movevent type="AddItem" tileitem="1" itemid="1788" event="script" value="dough.lua"/>

<movevent type="AddItem" tileitem="1" itemid="1790" event="script" value="dough.lua"/>

<movevent type="AddItem" tileitem="1" itemid="1792" event="script" value="dough.lua"/>

 

<!-- Campfires -->

<movevent type="StepIn" itemid="1423" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1423" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1424" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1424" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1425" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1425" event="function" value="onAddField"/>

 

<!-- Fields -->

<movevent type="StepIn" itemid="1487" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1487" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1488" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1488" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1489" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1489" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1490" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1490" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1491" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1491" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1492" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1492" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1493" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1493" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1494" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1494" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1495" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1495" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1496" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1496" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1497" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1497" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1498" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1498" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1499" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1499" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1500" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1500" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1501" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1501" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1502" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1502" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1503" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1503" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1504" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1504" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1505" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1505" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1506" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1506" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1507" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1507" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="1508" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="1508" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="7359" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="7359" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="7360" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="7360" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="7465-7473" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="7465-7473" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="11095" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="11095" event="function" value="onAddField"/>

<movevent type="StepIn" itemid="11096" event="function" value="onStepInField"/>

<movevent type="AddItem" itemid="11096" event="function" value="onAddField"/>

 

<!-- Boots -->

<movevent type="Equip" itemid="2640" slot="feet" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2640" slot="feet" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="6132" slot="feet" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="6132" slot="feet" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7457" slot="feet" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="7457" slot="feet" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7886" slot="feet" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7886" slot="feet" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7892" slot="feet" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7892" slot="feet" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7891" slot="feet" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7891" slot="feet" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7893" slot="feet" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7893" slot="feet" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="9932" slot="feet" level="130" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="9932" slot="feet" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="9933" slot="feet" level="130" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="9933" slot="feet" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="11114" slot="feet" level="70" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="4"/>

<vocation id="7" showInDescription="0"/>

<vocation id="8" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="11114" slot="feet" level="70" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="11234" slot="feet" level="70" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="4"/>

<vocation id="7" showInDescription="0"/>

<vocation id="8" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="11234" slot="feet" level="70" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="11297" slot="feet" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="11297" slot="feet" event="function" value="onDeEquipItem"/>

 

<!-- Amulets -->

<movevent type="Equip" itemid="2161" slot="necklace" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2161" slot="necklace" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2170" slot="necklace" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2170" slot="necklace" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2172" slot="necklace" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2172" slot="necklace" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2197" slot="necklace" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2197" slot="necklace" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2198" slot="necklace" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2198" slot="necklace" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2199" slot="necklace" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2199" slot="necklace" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2200" slot="necklace" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2200" slot="necklace" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2201" slot="necklace" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2201" slot="necklace" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2173" slot="necklace" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2173" slot="necklace" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7887" slot="necklace" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7887" slot="necklace" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7888" slot="necklace" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7888" slot="necklace" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7889" slot="necklace" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7889" slot="necklace" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7890" slot="necklace" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7890" slot="necklace" event="function" value="onDeEquipItem"/>

<movevent type="Equip" fromid="10218" toid="10221" slot="necklace" level="80" event="function" value="onEquipItem"/>

<movevent type="DeEquip" fromid="10218" toid="10221" slot="necklace" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="11368" slot="necklace" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="11368" slot="necklace" event="function" value="onDeEquipItem"/>

 

<!-- Rings -->

<movevent type="Equip" itemid="2164" slot="ring" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2164" slot="ring" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2165" slot="ring" event="function" value="onEquipItem"/>

<movevent type="Equip" itemid="2202" slot="ring" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2202" slot="ring" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2166" slot="ring" event="function" value="onEquipItem"/>

<movevent type="Equip" itemid="2203" slot="ring" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2203" slot="ring" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2167" slot="ring" event="function" value="onEquipItem"/>

<movevent type="Equip" itemid="2204" slot="ring" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2204" slot="ring" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2168" slot="ring" event="function" value="onEquipItem"/>

<movevent type="Equip" itemid="2205" slot="ring" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2205" slot="ring" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2169" slot="ring" event="function" value="onEquipItem"/>

<movevent type="Equip" itemid="2206" slot="ring" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2206" slot="ring" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2207" slot="ring" event="function" value="onEquipItem"/>

<movevent type="Equip" itemid="2210" slot="ring" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2210" slot="ring" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2208" slot="ring" event="function" value="onEquipItem"/>

<movevent type="Equip" itemid="2211" slot="ring" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2211" slot="ring" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2209" slot="ring" event="function" value="onEquipItem"/>

<movevent type="Equip" itemid="2212" slot="ring" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2212" slot="ring" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2213" slot="ring" event="function" value="onEquipItem"/>

<movevent type="Equip" itemid="2215" slot="ring" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2215" slot="ring" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2214" slot="ring" event="function" value="onEquipItem"/>

<movevent type="Equip" itemid="2216" slot="ring" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2216" slot="ring" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="6300" slot="ring" event="function" value="onEquipItem"/>

<movevent type="Equip" itemid="6301" slot="ring" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="6301" slot="ring" event="function" value="onDeEquipItem"/>

 

 

 

 

 

 

<!-- Helmets -->

<movevent type="Equip" itemid="2323" slot="head" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="2323" slot="head" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2343" slot="head" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2343" slot="head" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2474" slot="head" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2474" slot="head" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2502" slot="head" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2502" slot="head" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="5461" slot="head" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="5461" slot="head" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7459" slot="head" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="7459" slot="head" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7900" slot="head" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7900" slot="head" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7901" slot="head" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7901" slot="head" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7902" slot="head" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7902" slot="head" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7903" slot="head" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7903" slot="head" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8820" slot="head" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8820" slot="head" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="9778" slot="head" level="80" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="9778" slot="head" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="10016" slot="head" level="50" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="10016" slot="head" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="10569" slot="head" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="2"/>

<vocation id="5" showInDescription="0"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="10569" slot="head" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="11296" slot="head" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="4"/>

<vocation id="7" showInDescription="0"/>

<vocation id="8" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="11296" slot="head" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="11362" slot="head" level="60" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="2"/>

<vocation id="5" showInDescription="0"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="11362" slot="head" event="function" value="onDeEquipItem"/>

 

<!-- Armors -->

<movevent type="Equip" itemid="2472" slot="armor" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="2472" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2487" slot="armor" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="2487" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2492" slot="armor" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="2492" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2466" slot="armor" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="2466" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2476" slot="armor" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="2476" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2500" slot="armor" level="60" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="2500" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2503" slot="armor" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2503" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2660" slot="armor" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="2660" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7884" slot="armor" level="50" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7884" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7897" slot="armor" level="50" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7897" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7898" slot="armor" level="50" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7898" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7899" slot="armor" level="50" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7899" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8819" slot="armor" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8819" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8821" slot="armor" level="50" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="8821" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8865" slot="armor" level="65" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8865" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8866" slot="armor" event="function" value="onEquipItem">

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8866" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8867" slot="armor" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8867" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8868" slot="armor" level="75" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8868" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8869" slot="armor" level="75" event="function" value="onEquipItem">

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8869" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8870" slot="armor" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8870" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8871" slot="armor" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8871" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8872" slot="armor" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8872" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8877" slot="armor" level="60" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8877" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8878" slot="armor" level="60" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8878" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8879" slot="armor" level="60" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8879" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8880" slot="armor" level="60" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8880" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8881" slot="armor" level="90" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8881" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8882" slot="armor" level="90" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8882" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8883" slot="armor" level="90" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8883" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8884" slot="armor" level="90" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8884" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8885" slot="armor" level="75" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8885" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8886" slot="armor" level="75" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8886" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8887" slot="armor" level="75" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8887" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8888" slot="armor" level="100" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8888" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8889" slot="armor" level="100" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8889" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8890" slot="armor" level="100" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8890" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8891" slot="armor" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8891" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8892" slot="armor" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8892" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="9776" slot="armor" level="80" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="9776" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="11295" slot="armor" level="50" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="4"/>

<vocation id="7" showInDescription="0"/>

<vocation id="8" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="11295" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="11349" slot="armor" level="60" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="2"/>

<vocation id="5" showInDescription="0"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="11349" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="11350" slot="armor" level="60" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="2"/>

<vocation id="5" showInDescription="0"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="11350" slot="armor" event="function" value="onDeEquipItem"/>

 

<!-- Legs -->

<movevent type="Equip" itemid="2477" slot="legs" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="2477" slot="legs" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2488" slot="legs" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="2488" slot="legs" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2470" slot="legs" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="2470" slot="legs" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2504" slot="legs" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="2504" slot="legs" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7885" slot="legs" level="40" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7885" slot="legs" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7894" slot="legs" level="40" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7894" slot="legs" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7895" slot="legs" level="40" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7895" slot="legs" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7896" slot="legs" level="40" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7896" slot="legs" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="9777" slot="legs" level="80" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="9777" slot="legs" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="11297" slot="legs" event="function" value="onEquipItem"/>

<movevent type="DeEquip" itemid="11297" slot="legs" event="function" value="onDeEquipItem"/>

 

<!-- Shields -->

<movevent type="Equip" fromid="8905" toid="8909" slot="shield" level="100" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" fromid="8905" toid="8909" slot="shield" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8900" slot="shield" level="30" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8900" slot="shield" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8901" slot="shield" level="40" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8901" slot="shield" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8902" slot="shield" level="50" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8902" slot="shield" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8903" slot="shield" level="60" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8903" slot="shield" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8904" slot="shield" level="70" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8904" slot="shield" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8918" slot="shield" level="80" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8918" slot="shield" event="function" value="onDeEquipItem"/>

 

<!-- Other -->

<movevent type="Equip" itemid="2532;2653;2652;2654;2195" slot="feet" event="script" value="portrait.lua"/>

<movevent type="DeEquip" itemid="2532;2653;2652;2654;2195" slot="feet" event="script" value="test.lua"/>

</movements>

 

 

 

Portrait.lua:

 

local fotos = {

["bulbasaur"] = {fotopoke = 8423},

["ivysaur"] = {fotopoke = 8424},

["venusaur"] = {fotopoke = 8425},

["charmander"] = {fotopoke = 8426},

["charmeleon"] = {fotopoke = 8427},

["charizard"] = {fotopoke = 8428},

["squirtle"] = {fotopoke = 8429},

["wartortle"] = {fotopoke = 8430},

["blastoise"] = {fotopoke = 8431},

["caterpie"] = {fotopoke = 8432},

["metapod"] = {fotopoke = 8433},

["butterfree"] = {fotopoke = 8434},

["weedle"] = {fotopoke = 8435},

["kakuna"] = {fotopoke = 8436},

["beedrill"] = {fotopoke = 8437},

["pidgey"] = {fotopoke = 8438},

["pidgeotto"] = {fotopoke = 8439},

["pidgeot"] = {fotopoke = 8440},

["rattata"] = {fotopoke = 8441},

["raticate"] = {fotopoke = 8442},

["dpearow"] = {fotopoke = 8443},

["fearow"] = {fotopoke = 8444},

["ekans"] = {fotopoke = 8445},

["arbok"] = {fotopoke = 8446},

["pikachu"] = {fotopoke = 8447},

["raichu"] = {fotopoke = 8448},

["sandshrew"] = {fotopoke = 8449},

["sandslash"] = {fotopoke = 8450},

["nidoranf"] = {fotopoke = 8451},

["nidorina"] = {fotopoke = 8452},

["nidoqueen"] = {fotopoke = 8453},

["nidoranm"] = {fotopoke = 8454},

["nidorino"] = {fotopoke = 8455},

["nidoking"] = {fotopoke = 8456},

["clefairy"] = {fotopoke = 8457},

["clefable"] = {fotopoke = 8458},

["vulpix"] = {fotopoke = 8459},

["ninetales"] = {fotopoke = 8460},

["jigglypuff"] = {fotopoke = 8461},

["wigglytuff"] = {fotopoke = 8462},

["zubat"] = {fotopoke = 8463},

["golbat"] = {fotopoke = 8464},

["oddish"] = {fotopoke = 8465},

["gloom"] = {fotopoke = 8466},

["vileplume"] = {fotopoke = 8467},

["paras"] = {fotopoke = 8468},

["parasect"] = {fotopoke = 8469},

["venonat"] = {fotopoke = 84702},

["venomoth"] = {fotopoke = 8471},

["diglett"] = {fotopoke = 8472},

["dugtrio"] = {fotopoke = 8473},

["meowth"] = {fotopoke = 8474},

["persian"] = {fotopoke = 8475},

["psyduck"] = {fotopoke = 8476},

["golduck"] = {fotopoke = 8477},

["mankey"] = {fotopoke = 8478},

["primeape"] = {fotopoke = 8479},

["growlithe"] = {fotopoke = 8480},

["arcanine"] = {fotopoke = 8481},

["poliwag"] = {fotopoke = 8482},

["poliwhirl"] = {fotopoke = 8483},

["poliwrath"] = {fotopoke = 8484},

["abra"] = {fotopoke = 8485},

["kadabra"] = {fotopoke = 8486},

["alakazam"] = {fotopoke = 8487},

["machop"] = {fotopoke = 8488},

["machoke"] = {fotopoke = 8489},

["machamp"] = {fotopoke = 8490},

["bellsprout"] = {fotopoke = 8491},

["weepinbell"] = {fotopoke = 8492},

["victreebel"] = {fotopoke = 8493},

["tentacool"] = {fotopoke = 8494},

["tentacruel"] = {fotopoke = 8495},

["geodude"] = {fotopoke = 8496},

["graveler"] = {fotopoke = 8497},

["golem"] = {fotopoke = 8498},

["ponyta"] = {fotopoke = 8499},

["rapidash"] = {fotopoke = 8500},

["slowpoke"] = {fotopoke = 8501},

["slowbro"] = {fotopoke = 8502},

["magnemite"] = {fotopoke = 8503},

["magneton"] = {fotopoke = 8504},

["farfetch'd"] = {fotopoke = 8505},

["doduo"] = {fotopoke = 8506},

["dodrio"] = {fotopoke = 8507},

["seel"] = {fotopoke = 8508},

["dewgong"] = {fotopoke = 8509},

["grimer"] = {fotopoke = 8510},

["muk"] = {fotopoke = 8511},

["shellder"] = {fotopoke = 8512},

["cloyster"] = {fotopoke = 8513},

["gastly"] = {fotopoke = 8514},

["haunter"] = {fotopoke = 8515},

["gengar"] = {fotopoke = 8516},

["onix"] = {fotopoke = 8517},

["drowzee"] = {fotopoke = 8518},

["hypno"] = {fotopoke = 8519},

["krabby"] = {fotopoke = 8520},

["kingler"] = {fotopoke = 8521},

["voltorb"] = {fotopoke = 8522},

["electrode"] = {fotopoke = 8523},

["exeggcute"] = {fotopoke = 8524},

["exeggutor"] = {fotopoke = 8525},

["cubone"] = {fotopoke = 8526},

["marowak"] = {fotopoke = 8527},

["hitmonlee"] = {fotopoke = 8528},

["hitmonchan"] = {fotopoke = 8529},

["lickitung"] = {fotopoke = 8530},

["koffing"] = {fotopoke = 8531},

["weezing"] = {fotopoke = 8532},

["rhyhorn"] = {fotopoke = 8533},

["rhydon"] = {fotopoke = 8534},

["chansey"] = {fotopoke = 8535},

["tangela"] = {fotopoke = 8536},

["kangaskhan"] = {fotopoke = 8537},

["horsea"] = {fotopoke = 8538},

["seadra"] = {fotopoke = 8539},

["goldeen"] = {fotopoke = 8540},

["seaking"] = {fotopoke = 8541},

["staryu"] = {fotopoke = 8542},

["starmie"] = {fotopoke = 8543},

["mr. mime"] = {fotopoke = 8544},

["scyther"] = {fotopoke = 8545},

["jynx"] = {fotopoke = 8546},

["electabuzz"] = {fotopoke = 8547},

["magmar"] = {fotopoke = 8548},

["pinsir"] = {fotopoke = 8549},

["tauros"] = {fotopoke = 8550},

["magikarp"] = {fotopoke = 8551},

["gyarados"] = {fotopoke = 8552},

["lapras"] = {fotopoke = 8553},

["ditto"] = {fotopoke = 8554},

["eevee"] = {fotopoke = 8555},

["vaporeon"] = {fotopoke = 8556},

["jolteon"] = {fotopoke = 8557},

["flareon"] = {fotopoke = 8558},

["porygon"] = {fotopoke = 8559},

["omanyte"] = {fotopoke = 8560},

["omastar"] = {fotopoke = 8561},

["kabuto"] = {fotopoke = 8562},

["kabutops"] = {fotopoke = 8563},

["aerodactyl"] = {fotopoke = 8564},

["snorlax"] = {fotopoke = 8565},

["articuno"] = {fotopoke = 8566},

["zapdos"] = {fotopoke = 8567},

["moltres"] = {fotopoke = 8568},

["dratini"] = {fotopoke = 8569},

["dragonair"] = {fotopoke = 8570},

["dragonite"] = {fotopoke = 8571},

["mewtwo"] = {fotopoke = 8572},

["mew"] = {fotopoke = 8573},

}

 

local idballs = {

[2532] = "Pokeball",

[2653] = "Superball",

[2652] = "Greatball",

[2654] = "Ultraball",

[2195] = "Masterball",

[2531] = "Pokeball",

[2557] = "Superball",

[2524] = "Greatball",

[2525] = "Ultraball",

[2523] = "Masterball",

}

 

function setItemName(uid,name)

return doItemSetAttribute(uid,'name',name)

end

 

---------------------------------------------------------

function onEquip (cid, item, slot)

local nome = getItemName(item.uid)

local balls = idballs[item.itemid]

local poke_name = nome:match('(.-) '..balls)

local image = getPlayerSlotItem(cid, 7)

local semimage = 2649

 

for i,x in pairs(fotos) do

if i == poke_name then

doTransformItem(image.uid,x.fotopoke)

setItemName(image.uid, "portfoli's")

return true

end

end

end

----------------------------------------------------------

function onDeEquip(cid, item, slot)

local nome = getItemName(item.uid)

local balls = idballs[item.itemid]

local poke_name = nome:match('(.-) '..balls)

local image = getPlayerSlotItem(cid, 7)

local semimage = 2649

 

for i,x in pairs(fotos) do

if i == poke_name then

doTransformItem(image.uid,semimage)

setItemName(image.uid, "portfoli's")

return true

end

end

end

 

 

 

 

Test.lua:

 

function onDeEquip(cid, item, slot)

doTransformItem(getPlayerSlotItem(cid, CONST_SLOT_LEGS).uid, 2529)

end

 

 

 

GALERA AJUDA AI É UM BOM SCRIPT PARA NÓS DO xTibia mas a algum erro que não estou conseguindo saber qual é.

REP+++++++++++++++++++++++++++++++++++++++++++++++. PRA QUEM AJUDAR.

ESPERO RESPOSTA RAPIDÁ É URGENTEEEE MESMO

 

 

 

 

Equipe Pokemon Shiny.

Editado por GodRaphael
Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...