refactor(engine): 스킬 및 전투 시스템 개선
- SkillData 조정 - CombatCalculator 개선 - ItemService 업데이트 - ProgressService 개선 - SkillService 정리
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user