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

Solved Limiting condition attributes(skills) [condition.cpp]

milbradt

New Member
Joined
Dec 25, 2011
Messages
177
Solutions
1
Reaction score
4
Hello!
Someone knows how can I limit the attributes of skills?
For example, if I equip an item that removes 20 MagicLevel the limit prevents this and leaves the 10 minimum.
 
@milbradt you could write a lua global function that handle it, but you will need to call this function (make it as a boolean) on every onCast, onMoveItem, onUseWeapon, onEquip, onDeEquip etc... I made something like this some time ago.
 
Back
Top