fix(notification): Act 완료 토스트 메시지 인덱싱 버그 수정

- plotStageCount 인덱싱 오류 수정 (plotStageCount - 1 → -2)
- 프롤로그 완료 시 "PROLOGUE COMPLETE!" 표시되도록 수정
- showActComplete(0)이 프롤로그 완료를 올바르게 처리
This commit is contained in:
JiWoong Sul
2025-12-17 19:31:21 +09:00
parent 27e21bb064
commit 45147da5ec
2 changed files with 8 additions and 2 deletions

View File

@@ -77,10 +77,14 @@ class NotificationService {
}
/// 막 완료 알림 (Act Complete)
/// actNumber: 0=프롤로그, 1=Act I, 2=Act II, ...
void showActComplete(int actNumber) {
final title = actNumber == 0
? 'PROLOGUE COMPLETE!'
: 'ACT $actNumber COMPLETE!';
show(GameNotification(
type: NotificationType.actComplete,
title: 'ACT $actNumber COMPLETE!',
title: title,
duration: const Duration(seconds: 3),
));
}