• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 0.X ML/DIST rings

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
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?
 
Solution
Just change to:
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="Equip" itemid="7708" 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"...
Just change to:
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="Equip" itemid="7708" 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="Equip" itemid="2123" 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"/>

Thats works;
 
Last edited:
Solution
Back
Top