Skip to content

DeathProcEffect ​

Inherits: ProcEffect < CompositeEffect < Effect < DatabaseResource < Resource

Proc effect that responds to death events

Properties ​

TriggerTypetrigger_onTriggerType.ON_DEATH
boolapply_to_killed_targetfalse
boolresurrect_on_procfalse
floatresurrection_health_percent30.0

Methods ​

Stringget_effect_description()
Stringget_editor_description()

Enumerations ​

enum TriggerType ​

The options of trigger type: on death, on kill.

  • ON_DEATH = 0 - When you die
  • ON_KILL = 1 - When you kill something

Property descriptions ​

Death Trigger Settings

TriggerType trigger_on = TriggerType.ON_DEATH ​

Which death event triggers this proc

Target Override (for ON_KILL only)

bool apply_to_killed_target = false ​

Apply child effects to the entity you killed instead of yourself

Resurrection Settings (for ON_DEATH only)

bool resurrect_on_proc = false ​

Resurrect this entity when proc triggers

float resurrection_health_percent = 30.0 ​

Health percentage to resurrect at

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.