feat: 패시브 트리 프로토타입 구현

- 패시브 트리/노드/프리셋 데이터와 카탈로그 참조 구조를 추가하고 Resources 의존을 Data/Passives 자산 구조로 정리
- 플레이어 런타임, 전투 계수, 프리셋 적용, 멀티플레이 동기화 경로에 패시브 적용 로직 연결
- 프리팹 기반 패시브 트리 UI와 노드 아이콘/프리셋/상세 패널 흐름을 추가하고 HUD에 연동
- 패시브 디버그/부트스트랩 메뉴와 UI 프리팹 재생성 경로를 추가
This commit is contained in:
2026-03-26 22:59:39 +09:00
parent 13d1949ded
commit 8d1e97d01a
89 changed files with 10848 additions and 68 deletions

View File

@@ -5,6 +5,7 @@ using System;
using System.Collections.Generic;
using Colosseum.Skills;
using Colosseum.Passives;
using Colosseum.Weapons;
#if UNITY_EDITOR
@@ -368,8 +369,9 @@ namespace Colosseum.Player
float baseCost = loadoutEntry.GetResolvedManaCost();
float multiplier = weaponEquipment != null ? weaponEquipment.ManaCostMultiplier : 1f;
float passiveMultiplier = PassiveRuntimeModifierUtility.GetManaCostMultiplier(gameObject, loadoutEntry.BaseSkill);
return baseCost * multiplier;
return baseCost * multiplier * passiveMultiplier;
}
/// <summary>
@@ -660,6 +662,11 @@ namespace Colosseum.Player
return;
SetSkills(loadout);
EnsureRuntimeReferences();
if (networkController != null)
{
networkController.TryApplyPrototypePassivePresetForOwner();
}
Debug.Log($"[MPP] 자동 프리셋 적용: {GetMppmLoadoutLabel()} (OwnerClientId={OwnerClientId})");
}