AddModifier


This is an object.

Field Name Optional? Description Data Type

Fields from Trigger

trigger Type of trigger TriggerType
trigger_on_type This trigger happens for items that have an item type in this list
Default value: ['Any']
Array of ItemType
trigger_area This trigger happens for items that are in an area in this list
Default value: ['self']
Array of Area
trigger_distance Area distance to apply to the Areas in trigger_area. This further narrows the area radius to closest or adjacent items.
Default value: all
AreaDistance
needs_activation If this is true, then this trigger must first be activated by giving the item the ItemStatusEffect isActivated boolean
trigger_description Use, if the game cannot provide a description for this trigger or if you want to override it. See Custom Descriptions for more info. string
or
MultiLanguage

Fields from AddModifier

modifier The Modifier that's going to be applied to item(s) as set up by the types/area/distance Modifier
addmod_types Item types this modifier gets applied to
Default value: ['Any']
Array of ItemType
addmod_area Area this modifier applies to
Default value: ['self']
Array of Area
addmod_distance Distance the addmod_area expands to
Default value: ['all']
AreaDistance
addmod_length Length of the AddModifier
Default value: whileActive
ModifierLength
description Use, if the game cannot provide a description for this modifier or if you want to override it. See Custom Descriptions for more info. string
or
MultiLanguage