Attribute Locks and Caps

Archive of the older Feature Request Forum Posts

Moderator: POL Developer

Locked
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Attribute Locks and Caps

Post by Tomi »

I would like to see that core handles the storage of locks and caps for attributes in a similar way as the temporary and intrinsic modifiers are.

My suggestion is some new commands:

SetAttributeLock( character, attributename, lockstate )
GetAttributeLock( character,attributename ) // returns lockstate

SetAttributeCap( character, attributename, value )
GetAttributeCap( character, attributename ) // returns the cap for chosen attribute

SkillCap and StatCap somehow stored on the characters instead of just 1 hardcoded value for the whole Shard.


I know that all these are easily scriptable, but Im just suggesting this as a better way to store them than objprops or just some custom datafile.
Locked