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

Items updating

Fare

Advanced OT User
Joined
Apr 3, 2008
Messages
2,387
Reaction score
151
Location
Ukraine
as we know, we can add attribute keys in items.xml to add max hitpoints, mana, speed, attack speed(soon in tfs), so i got new idea(maybe not new, but i didn't see this). For example there are an special items(maybe unuseful stones, gems, etc), and if we use that item on (example) armor, then that item changes attribute kay for this item, and add +100 hp. Also ofcourse must be a chance to destroy item. As I see there are no lua function to add this, but maybe it will be in actions? So,
Function onUse.......doSetItemActionId(uid, actionid).....and we makes item action id, but i don't know, it is possible to make in actions, like when you wear this armor, it will be +100 hp...(it is movements? :>) anybody understand what i mean? got any ideas? :D
 
I've thought about that one!

Example:
doSetItemAttribute(uid, key, value)

Go request that in TFS board?


And making it in Lua, you could use combats? :p
 
Back
Top