CombatEffect


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 Effect

type Type of the effect, e.g poison EffectType
value How much of the effect to add e.g. 5 poison. This field is optional for effects that do not have a numerical value.
Default value: 0
number
or
ValueChanger
target Target of the effect, (e.g player)
Default value: unspecified
EffectTarget
math Whether the effect should be summative or multiplicative. E.g. is it +5 poison or 5x poison
Default value: sum
string (mul or sum)
item_status_effects Array of ItemStatusEffect
description Use, if the game cannot provide a description for this effect or if you want to override it. See Custom Descriptions for more info. string
or
MultiLanguage