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):
OnDeEquip (Not Equiped):
When I "look" it in-game:
Equiped:
Not Equiped:
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: