13 lines
438 B
GDScript3
13 lines
438 B
GDScript3
|
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, 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
|