Skip to content

EffectEventProcEffect ​

Inherits: ProcEffect < CompositeEffect < Effect < DatabaseResource < Resource

Proc effect that responds to effect lifecycle events (gained, updated, lost)

Properties ​

TriggerTypetrigger_onTriggerType.EFFECT_GAINED
EffectFiltereffect_filterEffectFilter.ANY_EFFECT
Array[int]specific_effect_ids[]
Condition.CheckLogicstack_count_logicCondition.CheckLogic.EQUAL
intdesired_stack_count0
boolapply_to_effect_targetfalse

Methods ​

Stringget_effect_description()
Stringget_editor_description()

Enumerations ​

enum TriggerType ​

The options of trigger type: effect gained, effect updated, effect lost.

  • EFFECT_GAINED = 0 - When an effect is applied
  • EFFECT_UPDATED = 1 - When effect stacks change
  • EFFECT_LOST = 2 - When an effect expires/is removed

enum EffectFilter ​

The options of effect filter: any effect, specific effects.

  • ANY_EFFECT = 0 - Any effect triggers this
  • SPECIFIC_EFFECTS = 1 - Only specific effects

Property descriptions ​

Effect Event Trigger Settings

TriggerType trigger_on = TriggerType.EFFECT_GAINED ​

Which effect event triggers this proc

EffectFilter effect_filter = EffectFilter.ANY_EFFECT ​

How to filter which effects trigger this proc

Array[int] specific_effect_ids = [] ​

Specific effect IDs (for SPECIFIC_EFFECTS filter)

Stack Condition (for EFFECT_UPDATED only)

Condition.CheckLogic stack_count_logic = Condition.CheckLogic.EQUAL ​

Logic for comparing stack counts

int desired_stack_count = 0 ​

Target stack count to check against

Target Override

bool apply_to_effect_target = false ​

Apply child effects to the target of the triggering effect instead of this effect's target

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.