RepeatAbilityEffect ​
Inherits: Effect < DatabaseResource < Resource
"Cast it again": applies the on-use effects of an ability again, to the same target, a number of times with a delay between them. The repeats are free (no cost, cooldown or resource gain: they are part of the one use) and never repeat themselves. With no ability chosen it repeats the ability that carries this effect. Stops when the target is gone or dead, or the caster dies. This is the "recast" of the effect system; a chain of different abilities is a combo, and extra hits of one damage effect are multistrike. See docs/systems/effects-and-abilities.md, section 10.
Properties ​
int | ability_id | 0 |
int | repeat_count | 1 |
float | repeat_delay | 0.5 |
Methods ​
void | specific_effect_logic( effect_instance: EffectInstance ) |
String | get_effect_description() |
String | get_editor_description() |
bool | is_one_off_application() |
Property descriptions ​
Repeat
int ability_id = 0 ​
The ability to repeat (0 = the ability this effect belongs to)
int repeat_count = 1 ​
How many extra times the ability's effects are applied
float repeat_delay = 0.5 ​
Seconds before each repeat
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