AbilityCooldownEffect ​
Inherits: Effect < DatabaseResource < Resource
Modifies cooldown properties on a specific ability. Cooldown duration modifier reverts when the effect ends. Active timer reduction and cooldown reset are permanent (never reverted).
Properties ​
int | ability_id | 0 |
float | cooldown_duration_mod | 0.0 |
float | cooldown_current_reduction | 0.0 |
bool | cooldown_reset | false |
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 ​
Target Ability
int ability_id = 0 ​
The ability to modify
Cooldown Duration
float cooldown_duration_mod = 0.0 ​
Modify the ability's cooldown duration in seconds (+/-)
Active Timer
float cooldown_current_reduction = 0.0 ​
Immediately reduce the active cooldown timer by this many seconds (positive = reduce)
bool cooldown_reset = false ​
Immediately reset the active cooldown timer and set ability to READY
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.