Skip to content

ClearEffect ​

Inherits: Effect < DatabaseResource < Resource

ClearEffect removes other effects from the target entity Uses ID-based system for referencing schools and effects

Properties ​

intschool_to_clear0
AuraTypeeffect_classificationAuraType.BUFF
inteffect_id0
intamount_of_effects0

Methods ​

voidspecific_effect_logic( effect_instance: EffectInstance )
Stringget_effect_description()
Stringget_editor_description()
boolis_one_off_application()

Property descriptions ​

int school_to_clear = 0 ​

School type ID to clear (0 = all schools)

AuraType effect_classification = AuraType.BUFF ​

Classification to clear

int effect_id = 0 ​

Specific effect ID to clear (0 = use classification/school filters)

int amount_of_effects = 0 ​

Max effects to remove (0 = unlimited)

Method descriptions ​

void specific_effect_logic( effect_instance: EffectInstance ) ​

What the effect does to its target when it is applied.

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.

bool is_one_off_application() ​

What this effect does it does once, when it is applied: a loaded save does not do it again