Inherits from TriggerEffectItem |
type |
:: "script"
|
|
effect_id | :: string |
The effect ID that will be provided in on_script_trigger_effect. |
The effect ID that will be provided in on_script_trigger_effect. |
repeat_count optional | :: uint16 |
|
repeat_count_deviation optional | :: uint16 |
|
probability optional | :: float |
Must be greater than |
Must be greater than |
||
affects_target optional | :: bool |
|
show_in_tooltip optional | :: bool |
|
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. |
effect_id | :: string |
The effect ID that will be provided in on_script_trigger_effect. |
The effect ID that will be provided in on_script_trigger_effect. |
||
type |
:: "script"
|
|
affects_target optional | :: bool |
|
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 | :: bool |
|
The effect ID that will be provided in on_script_trigger_effect.