gmstrikker
Well-Known Member
- Joined
- Jul 30, 2014
- Messages
- 458
- Solutions
- 1
- Reaction score
- 50
I'm trying to create a distance skill and magic level rings, like swords are...
But it's not working, nothing showing, no errors, just no work.
items.xml
movemments.xml
What do i doing wrong?
But it's not working, nothing showing, no errors, just no work.
items.xml
Code:
<item id="7697" article="a" name="magic ring">
<attribute key="weight" value="90" />
<attribute key="slotType" value="ring" />
<attribute key="transformEquipTo" value="7708" />
<attribute key="stopduration" value="1" />
<attribute key="showduration" value="1" />
</item>
<item id="7708" article="a" name="magic ring">
<attribute key="weight" value="90" />
<attribute key="slotType" value="ring" />
<attribute key="decayTo" value="0" />
<attribute key="transformDeEquipTo" value="7697" />
<attribute key="magiclevelpoints" value="4" />
<attribute key="duration" value="1800" />
<attribute key="showduration" value="1" />
</item>
<item id="6093" article="a" name="distance ring">
<attribute key="weight" value="90" />
<attribute key="slotType" value="ring" />
<attribute key="transformEquipTo" value="2123" />
<attribute key="stopduration" value="1" />
<attribute key="showduration" value="1" />
</item>
<item id="2123" article="a" name="distance ring">
<attribute key="weight" value="90" />
<attribute key="slotType" value="ring" />
<attribute key="decayTo" value="0" />
<attribute key="transformDeEquipTo" value="6093" />
<attribute key="skillDist" value="4" />
<attribute key="duration" value="1800" />
<attribute key="showduration" value="1" />
</item>
movemments.xml
Code:
<!-- magic ring -->
<movevent type="Equip" itemid="7697" slot="ring" 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="7708" slot="ring" event="function" value="onDeEquipItem"/>
<!-- distance ring -->
<movevent type="Equip" itemid="6093" slot="ring" event="function" value="onEquipItem">
<vocation id="3"/>
<vocation id="7" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="2123" slot="ring" event="function" value="onDeEquipItem"/>
What do i doing wrong?