X2_IP_ADDPROP_POLICY_* Constant Group
These constants are only available if you include x2_inc_itemprop in your script.
They are used in the IPSafeAddItemProperty command in the same include file and determine what should happen when adding a type of itemproperty to an item that already has one of that type.
Requirements
#include "x2_inc_itemprop"
Constants
Constant | Value | Description |
---|
X2_IP_ADDPROP_POLICY_IGNORE_EXISTING | 2 | Adds itemproperty in any case - do not Use with OnHit or OnHitSpellCast props! |
|
X2_IP_ADDPROP_POLICY_KEEP_EXISTING | 1 | Itemproperty won't be added if any property with same type, subtype and durationtype already exists. |
|
X2_IP_ADDPROP_POLICY_REPLACE_EXISTING | 0 | Removes any property of the same type, subtype, and durationtype before adding. |
|
See Also