HealAbsorbEffect ​
Inherits: Effect < DatabaseResource < Resource
HealAbsorbEffect puts a "heal absorb" on its target: the next absorb_amount of healing the target receives is soaked up and does not reach its health. When the amount is used up, or the duration ends, the effect ends.
Description ​
It is the opposite of a shield (a shield soaks damage). Use it for a curse that stops a healer: "the next 500 healing on this target is lost". The soaked amount is shown in the combat log, and healing that was soaked makes no overheal. The absorb is kept by the target's StatsComponent (heal_absorbs); several absorbs on one target soak in the order they were applied.
Properties ​
float | absorb_amount | 100.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 ​
Heal Absorb
float absorb_amount = 100.0 ​
How much healing the effect soaks up before it is used up
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.