• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua Item with own title

Warmix

New Member
Joined
Mar 28, 2010
Messages
18
Solutions
1
Reaction score
2
I'm using TFS 1.2. I don't know why but adding healthGain and healthTicks to ring don't work, so I want to create my own script with regeneration in movements, but this ring should have duration. If i add in movements.xml:
LUA:
<movevent event="Equip" itemid="2166" slot="ring" script="ring.lua" />
so instead of: function="onEquipItem" -> script="ring.lua"
duration doesn't work and e.g. +5 axe skills which I added to this ring in items.xml.

I know how to check time using this ring so duration isn't problem, but how to add description to this specific item like duration?
 
Last edited:
Solution
I'm using TFS 1.2. I don't know why but adding healthGain and healthTicks to ring don't work, so I want to create my own script with regeneration in movements, but this ring should have duration. If i add in movements.xml:
LUA:
<movevent event="Equip" itemid="2166" slot="ring" script="ring.lua" />
so instead of: function="onEquipItem" -> script="ring.lua"
duration doesn't work and e.g. +5 axe skills which I added to this ring in items.xml.

I know how to check time using this ring so duration isn't problem, but how to add description to this specific item like duration?
inside items.xml add this to the item, if you dont already have it
XML:
<attribute key="showduration" value="1"/>
I'm using TFS 1.2. I don't know why but adding healthGain and healthTicks to ring don't work, so I want to create my own script with regeneration in movements, but this ring should have duration. If i add in movements.xml:
LUA:
<movevent event="Equip" itemid="2166" slot="ring" script="ring.lua" />
so instead of: function="onEquipItem" -> script="ring.lua"
duration doesn't work and e.g. +5 axe skills which I added to this ring in items.xml.

I know how to check time using this ring so duration isn't problem, but how to add description to this specific item like duration?
inside items.xml add this to the item, if you dont already have it
XML:
<attribute key="showduration" value="1"/>
 
Solution

Similar threads

Replies
0
Views
183
Back
Top