# base ability class containing the main definitions class_name AbilityBase extends TextureRect enum TargTypes { SINGLE, CLEAVE, CHAIN, SWIPE, WAVE, AREA, RAY, } enum PDmgTypes { SLICE, PUNCTURE, BASH, HACK, SHRED, } enum MDmgTypes { BURN, FREEZE, SHOCK, POISON, LIFE, MENTAL, RADIANT, ARCANE, FORCE } enum SModTypes { STUN, SLOW, ABSORB, SHIELD, DOTB, DOTE } @export var attack_range := 0 @export var attack_type := TargTypes.SINGLE @export var attack_damage := 200 @export var attack_speed := 1.0 @export var base_cooldown := 0.0