AbilityProcEffect ​
Inherits: ProcEffect < CompositeEffect < Effect < DatabaseResource < Resource
Proc effect that responds to ability usage
Properties ​
TriggerType | trigger_on | TriggerType.ABILITY_CAST |
AbilityFilter | ability_filter | AbilityFilter.ANY_ABILITY |
Array[int] | specific_ability_ids | [] |
int | school_type | 0 |
bool | apply_to_attack_target | false |
Methods ​
String | get_effect_description() |
String | get_editor_description() |
Enumerations ​
enum TriggerType ​
The options of trigger type: ability cast, auto attack.
- ABILITY_CAST =
0- When any ability is cast - AUTO_ATTACK =
1- When auto-attack is cast
enum AbilityFilter ​
The options of ability filter: any ability, specific abilities, ability school, all except blacklist.
- ANY_ABILITY =
0- Affects all abilities - SPECIFIC_ABILITIES =
1- Only abilities in the array - ABILITY_SCHOOL =
2- Abilities of specific school - ALL_EXCEPT_BLACKLIST =
3- All abilities EXCEPT those in the array
Property descriptions ​
Ability Trigger Settings
TriggerType trigger_on = TriggerType.ABILITY_CAST ​
Which ability event triggers this proc
AbilityFilter ability_filter = AbilityFilter.ANY_ABILITY ​
How to filter which abilities trigger this proc
Array[int] specific_ability_ids = [] ​
Specific ability IDs (for SPECIFIC_ABILITIES or ALL_EXCEPT_BLACKLIST)
int school_type = 0 ​
Ability school ID (for ABILITY_SCHOOL filter)
Target Override
bool apply_to_attack_target = false ​
Apply child effects to the target of the triggering ability instead of the proc holder
Method descriptions ​
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.