2024-10-17 14:11:10 -06:00
|
|
|
# base ability class containing the main definitions
|
2024-10-16 15:59:37 -06:00
|
|
|
class_name AbilityBase
|
|
|
|
extends TextureRect
|
|
|
|
|
|
|
|
|
2024-10-17 14:11:10 -06:00
|
|
|
enum TargTypes {
|
|
|
|
SINGLE,
|
|
|
|
CLEAVE,
|
|
|
|
CHAIN,
|
|
|
|
SWIPE,
|
|
|
|
WAVE,
|
|
|
|
AREA,
|
|
|
|
RAY,
|
|
|
|
}
|
|
|
|
|
2024-10-16 15:59:37 -06:00
|
|
|
|
|
|
|
@export var attack_range := 0
|
2024-10-18 11:25:29 -06:00
|
|
|
@export var target_type := TargTypes.SINGLE
|
|
|
|
@export var damage_type := Globals.Ability.PDmgTypes.SLICE
|
2024-10-16 15:59:37 -06:00
|
|
|
@export var attack_damage := 200
|
2024-10-18 11:25:29 -06:00
|
|
|
@export var auto_speed := 1.0
|