class_name DeployedUnitStats extends Resource @export var unit_stats: UnitStats @export var current_hp: int @export var current_sp: int @export var current_fs: int static func from_unit_stats(source: UnitStats) -> DeployedUnitStats: var stats := DeployedUnitStats.new() stats.unit_stats = source stats.current_hp = source.max_hp stats.current_sp = source.max_sp stats.current_fs = source.max_fs return stats