nc5432 8fce25f619 Fixed major spellcasting bug
- The player and enemy were using a cast progress variable that was part of the spell object, so they were altering it at the same time
2024-05-13 18:32:10 -04:00

17 lines
394 B
GDScript

extends Resource
class_name Spell
@export var icon: CompressedTexture2D
@export var name: String
@export var description: String
@export var animation: String
@export var damage: float = 1
@export var backfireStrength: float = 1
@export var castCombo: Array[String]
@export var element: Data.Element
@export var stunning: bool
@export var timeout: float = 10
@export var cooldown: float = 1