semi-idle-arpg/scripts/AbilityBase.gd

13 lines
438 B
GDScript3
Raw Normal View History

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