• 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!

Show Duration on Rings?

Exura ATS

New Member
Joined
Feb 5, 2017
Messages
72
Reaction score
4
Hi!

How can I make rings show duration time? It's not showing when I "look" rings in my otserver (tfs 0.3.7).
I'm gonna paste energy ring code as an example:

OnEquip (Equiped):
Lua:
    <item id="2167" article="an" name="energy ring">
       <attribute key="weight" value="80"/>
       <attribute key="slotType" value="ring"/>
       <attribute key="transformEquipTo" value="2204"/>
       <attribute key="stopduration" value="1"/>
   </item>

OnDeEquip (Not Equiped):
Lua:
    <item id="2204" article="an" name="energy ring">
       <attribute key="weight" value="80"/>
       <attribute key="slotType" value="ring"/>
       <attribute key="decayTo" value="0"/>
       <attribute key="transformDeEquipTo" value="2167"/>
       <attribute key="duration" value="1200"/>
       <attribute key="manashield" value="1"/>
       <attribute key="showattributes" value="1"/>
   </item>



When I "look" it in-game:

Equiped:
23:30 You see an energy ring (mana shield).
It weighs 0.80 oz.

Not Equiped:
23:31 You see an energy ring.
It weighs 0.80 oz.
 
Last edited:
Back
Top Bottom