feat(hall-of-fame): 명예의 전당 대폭 개선 및 장비/아이템 직렬화

- HallOfFameEntry에 finalEquipmentDetails 추가 (상세 장비 정보)
- EquipmentItem/ItemStats에 toJson/fromJson 직렬화 추가
- 명예의 전당 상세 다이얼로그 UI 대폭 개선
- Canvas 타운/워킹 애니메이션 컴포저 개선
- 캐릭터 생성 화면 UI 개선
- 게임 텍스트 다국어 지원 확장
This commit is contained in:
JiWoong Sul
2025-12-24 18:34:00 +09:00
parent d82bf05978
commit dd83923ddf
9 changed files with 730 additions and 153 deletions

View File

@@ -132,6 +132,7 @@ class _NewCharacterScreenState extends State<NewCharacterScreen> {
}
/// Re-Roll 버튼 클릭
/// 원본 NewGuy.pas RerollClick: 스탯, 종족, 클래스 모두 랜덤화
void _onReroll() {
// 현재 시드를 이력에 저장
_rollHistory.insert(0, _currentSeed);
@@ -142,7 +143,15 @@ class _NewCharacterScreenState extends State<NewCharacterScreen> {
}
// 새 시드로 굴림
_currentSeed = math.Random().nextInt(0x7FFFFFFF);
final random = math.Random();
_currentSeed = random.nextInt(0x7FFFFFFF);
// 종족/클래스도 랜덤 선택
setState(() {
_selectedRaceIndex = random.nextInt(_races.length);
_selectedKlassIndex = random.nextInt(_klasses.length);
});
_rollStats();
// 선택된 종족/직업으로 스크롤