Skip to content

feat: add enemy escort night battle engagement check - #136

Merged
KochiyaOcean merged 1 commit into
poooi:masterfrom
HetmesAskalana:master
Aug 20, 2026
Merged

feat: add enemy escort night battle engagement check#136
KochiyaOcean merged 1 commit into
poooi:masterfrom
HetmesAskalana:master

Conversation

@HetmesAskalana

Copy link
Copy Markdown
Contributor

增加了对二队状态的判定,提示用户当前状态下进入夜战是否有接二队的风险

Comment thread src/views/battle-view-area.tsx
Comment thread src/views/battle-view-area.tsx
@KochiyaOcean
KochiyaOcean merged commit fb3961d into poooi:master Aug 20, 2026
1 check passed
KochiyaOcean added a commit that referenced this pull request Aug 20, 2026
Address review findings on #136.

The escort night engagement warning stayed visible on the post-battle
result panel, advising an engagement that is no longer possible, and it
only appeared there when there was no drop (DropInfo otherwise replaces
battleInfo). Add isBattleEnded to BattleDisplayState, set on the battle
result packet and reset on port and every api_req_map/*, and require it
to be false for escortNight.

Also make hasEnteredNightBattle optional in BattleViewAreaProps to match
its siblings, so the default value is no longer dead.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants