feat(item): Phase 2 아이템 시스템 구현

- ItemStats, ItemRarity 클래스 추가 (아이템 스탯/희귀도)
- EquipmentItem 클래스 추가 (개별 장비 아이템)
- ItemService 추가 (아이템 생성/관리/무게 시스템)
- Equipment 클래스 확장 (EquipmentItem 기반, 기존 API 호환)
- CombatStats에서 장비 스탯 반영
- 레거시 세이브 파일 호환성 유지
This commit is contained in:
JiWoong Sul
2025-12-17 16:57:23 +09:00
parent c62687f7bd
commit 6a696ecd57
6 changed files with 726 additions and 122 deletions

View File

@@ -172,7 +172,7 @@ class GameSave {
)
.toList(),
),
equipment: Equipment(
equipment: Equipment.fromStrings(
weapon: equipmentJson['weapon'] as String? ?? 'Keyboard',
shield: equipmentJson['shield'] as String? ?? '',
helm: equipmentJson['helm'] as String? ?? '',