Add skill type enumeration and update skill management for throw skills

This commit is contained in:
2025-06-05 01:54:32 +02:00
parent 039dc1d5e5
commit 87b85cae43
9 changed files with 36 additions and 4 deletions

View File

@@ -1,9 +1,15 @@
class_name SkillData
extends Resource
enum SkillType {
ATTACK,
THROW,
MISC,
}
@export var name: String = ""
@export var description: String = ""
@export var node: PackedScene
@export var config: Dictionary = {}
@export var cost: int = 0
@export var icon: Texture2D
@export var icon: Texture2D
@export var type: SkillType = SkillType.ATTACK