Skip to content

HealthThresholdProcEffect ​

Inherits: ProcEffect < CompositeEffect < Effect < DatabaseResource < Resource

Proc effect that triggers when health crosses a percentage threshold. Supports monitoring the caster's own health or their current target's health.

Properties ​

TriggerDirectiontrigger_directionTriggerDirection.DROPS_BELOW
floatthreshold_percentage35.0
booltrigger_once_per_crosstrue
boolmonitor_targets_healthfalse

Methods ​

Stringget_effect_description()
Stringget_editor_description()

Enumerations ​

enum TriggerDirection ​

The options of trigger direction: drops below, rises above.

  • DROPS_BELOW = 0 - Fires when health crosses threshold going down
  • RISES_ABOVE = 1 - Fires when health crosses threshold going up

Property descriptions ​

Threshold Settings

TriggerDirection trigger_direction = TriggerDirection.DROPS_BELOW ​

Which direction triggers this proc

float threshold_percentage = 35.0 ​

Health percentage threshold (0–100)

bool trigger_once_per_cross = true ​

Only trigger once per threshold crossing — prevents repeated firing while health stays below

Target Monitoring

bool monitor_targets_health = false ​

Monitor the caster's current target's health instead of their own (e.g. execute mechanics)

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.