feat: add city stay exploration and resonance

This commit is contained in:
2026-07-24 00:32:46 +09:00
parent e06b15ce7a
commit b7c90c9452
9 changed files with 2034 additions and 34 deletions

View File

@@ -98,6 +98,8 @@ function validateCampInteractionUxGuards() {
const steppedNavigationMethod = extractPrivateMethod(source, 'startCampNavigationWithCampaignStep');
const startStoryMethod = extractPrivateMethod(source, 'startVictoryStory');
const saveMethod = extractPrivateMethod(source, 'saveCampToSlot');
const wolongLeadMethod = extractPrivateMethod(source, 'hasWolongAudienceLead');
const renderBondListMethod = extractPrivateMethod(source, 'renderBondList');
let checkedGuardCount = 0;
expectCampUx(
@@ -192,6 +194,21 @@ function validateCampInteractionUxGuards() {
);
checkedGuardCount += 1;
expectCampUx(
startStoryMethod.includes("flow.nextBattleId === campBattleIds.seventeenth && !this.hasWolongAudienceLead()") &&
wolongLeadMethod.includes("completedVisits.includes('jingzhou-scholar-rumors')") &&
wolongLeadMethod.includes("completedVisits.includes('refugee-village-patrol')"),
'the Wolong sortie gate must accept a completed information visit regardless of which visit reward choice was taken'
);
checkedGuardCount += 1;
expectCampUx(
renderBondListMethod.includes('dialogue.id === this.selectedDialogueId') &&
renderBondListMethod.includes('[selectedBond, ...relatedBonds.filter'),
'the resonance list must keep the currently selected dialogue bond visible when more than four bonds are available'
);
checkedGuardCount += 1;
return checkedGuardCount;
}