SchoolLockEffect ​
Inherits: Effect < DatabaseResource < Resource
SchoolLockEffect locks all abilities of a specific school on the target entity Perfect for counter-spell abilities, school-specific silences, and tactical control. The lock is kept by the target's AbilityComponent (a count per school, so two locks of one school end independently) and checked when an ability is used: a locked ability refuses with SCHOOL_LOCKED, nothing about the ability itself changes.
Properties ​
int | ability_school | 0 |
Methods ​
void | specific_effect_logic( effect_instance: EffectInstance ) |
void | on_apply_finished( effect_instance: EffectInstance ) |
String | get_effect_description() |
String | get_editor_description() |
Property descriptions ​
School Lock Settings
int ability_school = 0 ​
The ability school to lock (e.g., "Fire", "Frost", "Shadow")
Method descriptions ​
void specific_effect_logic( effect_instance: EffectInstance ) ​
Applies the school lock to the target
void on_apply_finished( effect_instance: EffectInstance ) ​
Called when the effect ends: takes back what it did.
String get_effect_description() ​
Get the effect description for tooltips
String get_editor_description() ​
A short text for the effect editor that says what the effect does.