refactor(engine): 스킬 및 전투 시스템 개선

- SkillData 조정
- CombatCalculator 개선
- ItemService 업데이트
- ProgressService 개선
- SkillService 정리
This commit is contained in:
JiWoong Sul
2026-01-09 00:21:14 +09:00
parent 21d8febeb0
commit 2bf7387a08
5 changed files with 23 additions and 15 deletions

View File

@@ -882,6 +882,12 @@ class ProgressService {
nextState = _levelUp(nextState);
}
// 모든 장비 슬롯을 목표 레벨에 맞는 장비로 교체 (전투 보상 드랍 공식 사용)
final equipLevel = nextState.traits.level;
for (var slotIndex = 0; slotIndex < Equipment.slotCount; slotIndex++) {
nextState = mutations.winEquipByIndex(nextState, equipLevel, slotIndex);
}
// 태스크 바 완료 처리
var progress = nextState.progress.copyWith(
task: nextState.progress.task.copyWith(