using System; using System.Collections.Generic; using UnityEngine; namespace TKS.OutGame { /// /// 진화 ★1~5 — 2026-11-20 각성·진화 요청서 §2-2 부터 SOT = evolve_stars.csv(옛 evolve.csv 조각 진화를 대신 · 행 = n_star_to 의 상태) · /// 이 ★ 로 올리는 재료(진영 비서 등급 n_tier × n_item + 골드) · 이 ★ 의 최대 레벨 · 성급 % · 스킬 해금 · 각성 칸 수. /// public class EvolveTable : ScriptableObject { [Serializable] public class Row { public int star; [Tooltip("옛 조각 진화 필요 조각(evolve_stars 에는 없음 = 0 · 진화에 조각을 쓰지 않는다)")] public int shardsNeeded; public float starPct; public string skillUnlock; [Tooltip("이 ★ 로 올릴 때 쓰는 진영 비서 등급(0 = 시작 상태)")] public int tier; [Tooltip("비서 권수")] public int item; public int gold; [Tooltip("이 ★ 의 최대 레벨")] public int maxLv; } public List rows = new List(); public Row Get(int star) { foreach (var r in rows) if (r.star == star) return r; return null; } public int MaxStar { get { int m = 1; foreach (var r in rows) m = Mathf.Max(m, r.star); return m; } } } }