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

TFS 0.X set 2 item attributes at same time?

5lave Ots

Active Member
Joined
Oct 2, 2017
Messages
247
Solutions
1
Reaction score
40
Location
Ankrahmun
hello guys
can I set 2 attributs for one item on create it by LUA

Code:
local mag = doCreateItem(1497, 1, toPosition)

                doItemSetAttribute(mag, 'description', 'it was casted by '..getC
just need to add a duratiion attribute, because: if we reload actions after casting magic wall it will not removed!

also, anyway to respawn monster while player in the respawn range with teleport effect (like rl tibia or tfs 1.2)??
thanks
REP++
 
Code:
doItemSetAttribute(mag, 'description', 'it was casted by '..getCreatureName(cid)..'.')
doItemSetAttribute(mag, 'duration', 30)
doDecayItem(mag.uid)
 
Back
Top