ResourceThresholdProcEffect ​
Inherits: ProcEffect < CompositeEffect < Effect < DatabaseResource < Resource
Proc effect that triggers when a resource pool crosses a specific value threshold. Uses edge-detection (old vs new value) so it only fires on the crossing, not every tick.
Properties ​
int | pool_definition_id | 0 |
int | resource_threshold | 0 |
Condition.CheckLogic | resource_comparison | Condition.CheckLogic.LESS_EQUAL |
bool | monitor_targets_resource | false |
Methods ​
String | get_effect_description() |
String | get_editor_description() |
Property descriptions ​
Threshold Settings
int pool_definition_id = 0 ​
The resource pool to monitor (by pool definition ID)
int resource_threshold = 0 ​
The value to compare against
Condition.CheckLogic resource_comparison = Condition.CheckLogic.LESS_EQUAL ​
How to compare the new value against the threshold
Target Monitoring
bool monitor_targets_resource = false ​
Monitor the caster's current target's resource instead of their own
Method descriptions ​
String get_effect_description() ​
The text of the effect for tooltips, with its values filled in.
String get_editor_description() ​
A short text for the effect editor that says what the effect does.