ClearEffect ​
Inherits: Effect < DatabaseResource < Resource
ClearEffect removes other effects from the target entity Uses ID-based system for referencing schools and effects
Properties ​
int | school_to_clear | 0 |
AuraType | effect_classification | AuraType.BUFF |
int | effect_id | 0 |
int | amount_of_effects | 0 |
Methods ​
void | specific_effect_logic( effect_instance: EffectInstance ) |
String | get_effect_description() |
String | get_editor_description() |
bool | is_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