ResurrectEffect ​
Inherits: Effect < DatabaseResource < Resource
ResurrectEffect brings a dead entity back to life with specified health.
Properties ​
float | health_percentage | 0.25 |
Methods ​
void | specific_effect_logic( effect_instance: EffectInstance ) |
String | get_effect_description() |
Dictionary | get_resurrection_preview( target_entity: Entity ) |
String | get_editor_description() |
bool | is_one_off_application() |
Property descriptions ​
float health_percentage = 0.25 ​
The percentage of max health to restore (0.0 - 1.0)
Method descriptions ​
void specific_effect_logic( effect_instance: EffectInstance ) ​
Applies the specific logic for this effect, resurrecting the target if they are dead
String get_effect_description() ​
Enhanced tooltip
Dictionary get_resurrection_preview( target_entity: Entity ) ​
Get resurrection preview info for UI
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