class_name UnitStats extends Resource

@export var max_hp: int = 10
@export var current_hp: int
@export var max_sp: int = 10
@export var current_sp: int = 10
@export var phys_atk: int = 10
@export var phys_def: int = 5
@export var magic_atk: int = 0
@export var magic_def: int = 0
@export var hit: int = 85
@export var atk_range: int = 1
@export var spd: int = 1
@export var eva: int = 1
@export var lck: int = 1

func _init(max_hp: int = 10) -> void:
	self.max_hp = max_hp
	current_hp = max_hp
