
| Inherits from TriggerEffectItem |
| type | :: "damage" | |
| damage | :: DamageParameters | |
| apply_damage_to_trees optional | :: boolean | |
| vaporize optional | :: boolean | If |
If | ||
| use_substitute optional | :: boolean | |
| lower_distance_threshold optional | :: uint16 | |
| upper_distance_threshold optional | :: uint16 | |
| lower_damage_modifier optional | :: float | |
| upper_damage_modifier optional | :: float | |
| repeat_count optional | :: uint16 | |
| repeat_count_deviation optional | :: uint16 | |
| probability optional | :: float | Must be greater than |
Must be greater than | ||
| affects_target optional | :: boolean | |
| show_in_tooltip optional | :: boolean | |
| damage_type_filters optional | :: DamageTypeFilters | Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...] |
Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...] | ||
| damage | :: DamageParameters | |
| type | :: "damage" | |
| apply_damage_to_trees optional | :: boolean | |
| lower_damage_modifier optional | :: float | |
| lower_distance_threshold optional | :: uint16 | |
| upper_damage_modifier optional | :: float | |
| upper_distance_threshold optional | :: uint16 | |
| use_substitute optional | :: boolean | |
| vaporize optional | :: boolean | If |
If | ||
| affects_target optional | :: boolean | |
| damage_type_filters optional | :: DamageTypeFilters | Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...] |
Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...] | ||
| probability optional | :: float | Must be greater than |
Must be greater than | ||
| repeat_count optional | :: uint16 | |
| repeat_count_deviation optional | :: uint16 | |
| show_in_tooltip optional | :: boolean | |


Default: MAX_UINT16

Default: MAX_UINT16

Default: 1

Default: 1

Prototypes
Types
Defines