AbilityMorphEffect ​
Inherits: Effect < DatabaseResource < Resource
Temporarily replaces an AbilityInstance's definition with another, morphing the ability in-place so the slot, UI, and entity references are preserved. The instance identity never changes — only the definition underneath it does.
Properties ​
int | source_ability_id | 0 |
int | replacement_ability_id | 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 ​
Morph Settings
int source_ability_id = 0 ​
The ability slot to morph, identified by its ability ID
int replacement_ability_id = 0 ​
The definition to morph it into
Method descriptions ​
void specific_effect_logic( effect_instance: EffectInstance ) ​
What the effect does to its target when it is applied.
void on_apply_finished( effect_instance: EffectInstance ) ​
Called when the effect ends: takes back what it did.
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.