Add fourth Meng Huo capture battle
This commit is contained in:
@@ -1739,7 +1739,7 @@ try {
|
||||
if (
|
||||
progressTabState?.activeTab !== 'progress' ||
|
||||
progressTabState.campaignProgress?.completedKnown !== 17 ||
|
||||
progressTabState.campaignProgress?.totalKnown !== 50 ||
|
||||
progressTabState.campaignProgress?.totalKnown !== 51 ||
|
||||
progressTabState.campaignProgress?.activeChapter?.title !== '적벽대전' ||
|
||||
progressTabState.campaignProgress?.latestBattleTitle !== '융중 방문로' ||
|
||||
progressTabState.campaignProgress?.nextBattleTitle !== '박망파 매복전'
|
||||
@@ -1891,7 +1891,7 @@ try {
|
||||
if (
|
||||
postBowangProgressState?.activeTab !== 'progress' ||
|
||||
postBowangProgressState.campaignProgress?.completedKnown !== 18 ||
|
||||
postBowangProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postBowangProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postBowangProgressState.campaignProgress?.activeChapter?.title !== '적벽대전' ||
|
||||
postBowangProgressState.campaignProgress?.latestBattleTitle !== '박망파 매복전' ||
|
||||
postBowangProgressState.campaignProgress?.nextBattleTitle !== '장판파 피난로'
|
||||
@@ -2029,7 +2029,7 @@ try {
|
||||
if (
|
||||
postChangbanProgressState?.activeTab !== 'progress' ||
|
||||
postChangbanProgressState.campaignProgress?.completedKnown !== 19 ||
|
||||
postChangbanProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postChangbanProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postChangbanProgressState.campaignProgress?.activeChapter?.title !== '적벽대전' ||
|
||||
postChangbanProgressState.campaignProgress?.latestBattleTitle !== '장판파 피난로' ||
|
||||
postChangbanProgressState.campaignProgress?.nextBattleTitle !== '강동 사절로'
|
||||
@@ -2167,7 +2167,7 @@ try {
|
||||
if (
|
||||
postJiangdongProgressState?.activeTab !== 'progress' ||
|
||||
postJiangdongProgressState.campaignProgress?.completedKnown !== 20 ||
|
||||
postJiangdongProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postJiangdongProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postJiangdongProgressState.campaignProgress?.activeChapter?.title !== '적벽대전' ||
|
||||
postJiangdongProgressState.campaignProgress?.latestBattleTitle !== '강동 사절로' ||
|
||||
postJiangdongProgressState.campaignProgress?.nextBattleTitle !== '적벽 전초전'
|
||||
@@ -2307,7 +2307,7 @@ try {
|
||||
if (
|
||||
postRedCliffsProgressState?.activeTab !== 'progress' ||
|
||||
postRedCliffsProgressState.campaignProgress?.completedKnown !== 21 ||
|
||||
postRedCliffsProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postRedCliffsProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postRedCliffsProgressState.campaignProgress?.activeChapter?.title !== '적벽대전' ||
|
||||
postRedCliffsProgressState.campaignProgress?.latestBattleTitle !== '적벽 전초전' ||
|
||||
postRedCliffsProgressState.campaignProgress?.nextBattleTitle !== '적벽 화공전'
|
||||
@@ -2447,7 +2447,7 @@ try {
|
||||
if (
|
||||
postFireAttackProgressState?.activeTab !== 'progress' ||
|
||||
postFireAttackProgressState.campaignProgress?.completedKnown !== 22 ||
|
||||
postFireAttackProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postFireAttackProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postFireAttackProgressState.campaignProgress?.activeChapter?.title !== '형주·익주 확보' ||
|
||||
postFireAttackProgressState.campaignProgress?.latestBattleTitle !== '적벽 화공전' ||
|
||||
postFireAttackProgressState.campaignProgress?.nextBattleTitle !== '형주 남부 진입전'
|
||||
@@ -2590,7 +2590,7 @@ try {
|
||||
if (
|
||||
postJingzhouProgressState?.activeTab !== 'progress' ||
|
||||
postJingzhouProgressState.campaignProgress?.completedKnown !== 23 ||
|
||||
postJingzhouProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postJingzhouProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postJingzhouProgressState.campaignProgress?.activeChapter?.title !== '형주·익주 확보' ||
|
||||
postJingzhouProgressState.campaignProgress?.latestBattleTitle !== '형주 남부 진입전' ||
|
||||
postJingzhouProgressState.campaignProgress?.nextBattleTitle !== '계양 설득전'
|
||||
@@ -2732,7 +2732,7 @@ try {
|
||||
if (
|
||||
postGuiyangProgressState?.activeTab !== 'progress' ||
|
||||
postGuiyangProgressState.campaignProgress?.completedKnown !== 24 ||
|
||||
postGuiyangProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postGuiyangProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postGuiyangProgressState.campaignProgress?.activeChapter?.title !== '형주·익주 확보' ||
|
||||
postGuiyangProgressState.campaignProgress?.latestBattleTitle !== '계양 설득전' ||
|
||||
postGuiyangProgressState.campaignProgress?.nextBattleTitle !== '무릉 산길 확보전'
|
||||
@@ -2875,7 +2875,7 @@ try {
|
||||
if (
|
||||
postWulingProgressState?.activeTab !== 'progress' ||
|
||||
postWulingProgressState.campaignProgress?.completedKnown !== 25 ||
|
||||
postWulingProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postWulingProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postWulingProgressState.campaignProgress?.activeChapter?.title !== '형주·익주 확보' ||
|
||||
postWulingProgressState.campaignProgress?.latestBattleTitle !== '무릉 산길 확보전' ||
|
||||
postWulingProgressState.campaignProgress?.nextBattleTitle !== '장사 노장 대면전'
|
||||
@@ -3024,7 +3024,7 @@ try {
|
||||
if (
|
||||
postChangshaProgressState?.activeTab !== 'progress' ||
|
||||
postChangshaProgressState.campaignProgress?.completedKnown !== 26 ||
|
||||
postChangshaProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postChangshaProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postChangshaProgressState.campaignProgress?.activeChapter?.title !== '형주·익주 확보' ||
|
||||
postChangshaProgressState.campaignProgress?.latestBattleTitle !== '장사 노장 대면전' ||
|
||||
postChangshaProgressState.campaignProgress?.nextBattleTitle !== '익주 원군로'
|
||||
@@ -3169,7 +3169,7 @@ try {
|
||||
if (
|
||||
postYizhouProgressState?.activeTab !== 'progress' ||
|
||||
postYizhouProgressState.campaignProgress?.completedKnown !== 27 ||
|
||||
postYizhouProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postYizhouProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postYizhouProgressState.campaignProgress?.activeChapter?.title !== '형주·익주 확보' ||
|
||||
postYizhouProgressState.campaignProgress?.latestBattleTitle !== '익주 원군로' ||
|
||||
postYizhouProgressState.campaignProgress?.nextBattleTitle !== '부수관 진입전'
|
||||
@@ -3316,7 +3316,7 @@ try {
|
||||
if (
|
||||
postFuPassProgressState?.activeTab !== 'progress' ||
|
||||
postFuPassProgressState.campaignProgress?.completedKnown !== 28 ||
|
||||
postFuPassProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postFuPassProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postFuPassProgressState.campaignProgress?.activeChapter?.title !== '형주·익주 확보' ||
|
||||
postFuPassProgressState.campaignProgress?.latestBattleTitle !== '부수관 진입전' ||
|
||||
postFuPassProgressState.campaignProgress?.nextBattleTitle !== '낙성 외곽전'
|
||||
@@ -3465,7 +3465,7 @@ try {
|
||||
if (
|
||||
postLuoProgressState?.activeTab !== 'progress' ||
|
||||
postLuoProgressState.campaignProgress?.completedKnown !== 29 ||
|
||||
postLuoProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postLuoProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postLuoProgressState.campaignProgress?.activeChapter?.title !== '형주·익주 확보' ||
|
||||
postLuoProgressState.campaignProgress?.latestBattleTitle !== '낙성 외곽전' ||
|
||||
postLuoProgressState.campaignProgress?.nextBattleTitle !== '낙봉파 매복전'
|
||||
@@ -3611,7 +3611,7 @@ try {
|
||||
if (
|
||||
postLuofengProgressState?.activeTab !== 'progress' ||
|
||||
postLuofengProgressState.campaignProgress?.completedKnown !== 30 ||
|
||||
postLuofengProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postLuofengProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postLuofengProgressState.campaignProgress?.activeChapter?.title !== '형주·익주 확보' ||
|
||||
postLuofengProgressState.campaignProgress?.latestBattleTitle !== '낙봉파 매복전' ||
|
||||
postLuofengProgressState.campaignProgress?.nextBattleTitle !== '낙성 본성 공략'
|
||||
@@ -3763,7 +3763,7 @@ try {
|
||||
if (
|
||||
postLuoMainProgressState?.activeTab !== 'progress' ||
|
||||
postLuoMainProgressState.campaignProgress?.completedKnown !== 31 ||
|
||||
postLuoMainProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postLuoMainProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postLuoMainProgressState.campaignProgress?.activeChapter?.title !== '형주·익주 확보' ||
|
||||
postLuoMainProgressState.campaignProgress?.latestBattleTitle !== '낙성 본성 공략' ||
|
||||
postLuoMainProgressState.campaignProgress?.nextBattleTitle !== '면죽관 압박전'
|
||||
@@ -3916,7 +3916,7 @@ try {
|
||||
if (
|
||||
postMianzhuProgressState?.activeTab !== 'progress' ||
|
||||
postMianzhuProgressState.campaignProgress?.completedKnown !== 32 ||
|
||||
postMianzhuProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postMianzhuProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postMianzhuProgressState.campaignProgress?.activeChapter?.title !== '형주·익주 확보' ||
|
||||
postMianzhuProgressState.campaignProgress?.latestBattleTitle !== '면죽관 압박전' ||
|
||||
postMianzhuProgressState.campaignProgress?.nextBattleTitle !== '성도 항복 권고전'
|
||||
@@ -4070,7 +4070,7 @@ try {
|
||||
if (
|
||||
postChengduProgressState?.activeTab !== 'progress' ||
|
||||
postChengduProgressState.campaignProgress?.completedKnown !== 33 ||
|
||||
postChengduProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postChengduProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postChengduProgressState.campaignProgress?.activeChapter?.title !== '촉한 건국' ||
|
||||
postChengduProgressState.campaignProgress?.latestBattleTitle !== '성도 항복 권고전' ||
|
||||
postChengduProgressState.campaignProgress?.nextBattleTitle !== '가맹관 마초 대면전'
|
||||
@@ -4225,7 +4225,7 @@ try {
|
||||
if (
|
||||
postJiamengProgressState?.activeTab !== 'progress' ||
|
||||
postJiamengProgressState.campaignProgress?.completedKnown !== 34 ||
|
||||
postJiamengProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postJiamengProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postJiamengProgressState.campaignProgress?.activeChapter?.title !== '촉한 건국' ||
|
||||
postJiamengProgressState.campaignProgress?.latestBattleTitle !== '가맹관 마초 대면전' ||
|
||||
postJiamengProgressState.campaignProgress?.nextBattleTitle !== '양평관 정찰전'
|
||||
@@ -4381,7 +4381,7 @@ try {
|
||||
if (
|
||||
postYangpingProgressState?.activeTab !== 'progress' ||
|
||||
postYangpingProgressState.campaignProgress?.completedKnown !== 35 ||
|
||||
postYangpingProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postYangpingProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postYangpingProgressState.campaignProgress?.activeChapter?.title !== '촉한 건국' ||
|
||||
postYangpingProgressState.campaignProgress?.latestBattleTitle !== '양평관 정찰전' ||
|
||||
postYangpingProgressState.campaignProgress?.nextBattleTitle !== '정군산 전초전'
|
||||
@@ -4538,7 +4538,7 @@ try {
|
||||
if (
|
||||
postDingjunProgressState?.activeTab !== 'progress' ||
|
||||
postDingjunProgressState.campaignProgress?.completedKnown !== 36 ||
|
||||
postDingjunProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postDingjunProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postDingjunProgressState.campaignProgress?.activeChapter?.title !== '촉한 건국' ||
|
||||
postDingjunProgressState.campaignProgress?.latestBattleTitle !== '정군산 전초전' ||
|
||||
postDingjunProgressState.campaignProgress?.nextBattleTitle !== '한중 결전'
|
||||
@@ -4691,7 +4691,7 @@ try {
|
||||
if (
|
||||
postHanzhongProgressState?.activeTab !== 'progress' ||
|
||||
postHanzhongProgressState.campaignProgress?.completedKnown !== 37 ||
|
||||
postHanzhongProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postHanzhongProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postHanzhongProgressState.campaignProgress?.activeChapter?.title !== '촉한 건국' ||
|
||||
postHanzhongProgressState.campaignProgress?.latestBattleTitle !== '한중 결전' ||
|
||||
postHanzhongProgressState.campaignProgress?.nextBattleTitle !== '한중왕 즉위 준비'
|
||||
@@ -4752,7 +4752,7 @@ try {
|
||||
if (
|
||||
postKingCouncilProgressState?.activeTab !== 'progress' ||
|
||||
postKingCouncilProgressState.campaignProgress?.completedKnown !== 37 ||
|
||||
postKingCouncilProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postKingCouncilProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postKingCouncilProgressState.campaignProgress?.latestBattleTitle !== '한중 결전' ||
|
||||
postKingCouncilProgressState.campaignProgress?.nextBattleTitle !== '촉한 건국 선포'
|
||||
) {
|
||||
@@ -4812,7 +4812,7 @@ try {
|
||||
if (
|
||||
postFoundationProgressState?.activeTab !== 'progress' ||
|
||||
postFoundationProgressState.campaignProgress?.completedKnown !== 37 ||
|
||||
postFoundationProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postFoundationProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postFoundationProgressState.campaignProgress?.latestBattleTitle !== '한중 결전' ||
|
||||
postFoundationProgressState.campaignProgress?.nextBattleTitle !== '형주 방위 전초전'
|
||||
) {
|
||||
@@ -4963,7 +4963,7 @@ try {
|
||||
if (
|
||||
postJingDefenseProgressState?.activeTab !== 'progress' ||
|
||||
postJingDefenseProgressState.campaignProgress?.completedKnown !== 38 ||
|
||||
postJingDefenseProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postJingDefenseProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postJingDefenseProgressState.campaignProgress?.latestBattleTitle !== '형주 방위 전초전' ||
|
||||
postJingDefenseProgressState.campaignProgress?.nextBattleTitle !== '번성 외곽 압박전'
|
||||
) {
|
||||
@@ -5116,7 +5116,7 @@ try {
|
||||
if (
|
||||
postFanCastleProgressState?.activeTab !== 'progress' ||
|
||||
postFanCastleProgressState.campaignProgress?.completedKnown !== 39 ||
|
||||
postFanCastleProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postFanCastleProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postFanCastleProgressState.campaignProgress?.latestBattleTitle !== '번성 외곽 압박전' ||
|
||||
postFanCastleProgressState.campaignProgress?.nextBattleTitle !== '한수 수공'
|
||||
) {
|
||||
@@ -5270,7 +5270,7 @@ try {
|
||||
if (
|
||||
postHanRiverProgressState?.activeTab !== 'progress' ||
|
||||
postHanRiverProgressState.campaignProgress?.completedKnown !== 40 ||
|
||||
postHanRiverProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postHanRiverProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postHanRiverProgressState.campaignProgress?.latestBattleTitle !== '한수 수공' ||
|
||||
postHanRiverProgressState.campaignProgress?.nextBattleTitle !== '번성 공성전'
|
||||
) {
|
||||
@@ -5424,7 +5424,7 @@ try {
|
||||
if (
|
||||
postFanSiegeProgressState?.activeTab !== 'progress' ||
|
||||
postFanSiegeProgressState.campaignProgress?.completedKnown !== 41 ||
|
||||
postFanSiegeProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postFanSiegeProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postFanSiegeProgressState.campaignProgress?.latestBattleTitle !== '번성 공성전' ||
|
||||
postFanSiegeProgressState.campaignProgress?.nextBattleTitle !== '강릉 나루 경계전'
|
||||
) {
|
||||
@@ -5586,7 +5586,7 @@ try {
|
||||
if (
|
||||
postJingRearProgressState?.activeTab !== 'progress' ||
|
||||
postJingRearProgressState.campaignProgress?.completedKnown !== 42 ||
|
||||
postJingRearProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postJingRearProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postJingRearProgressState.campaignProgress?.latestBattleTitle !== '강릉 나루 경계전' ||
|
||||
postJingRearProgressState.campaignProgress?.nextBattleTitle !== '공안 성문 변고'
|
||||
) {
|
||||
@@ -5741,7 +5741,7 @@ try {
|
||||
if (
|
||||
postGonganProgressState?.activeTab !== 'progress' ||
|
||||
postGonganProgressState.campaignProgress?.completedKnown !== 43 ||
|
||||
postGonganProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postGonganProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postGonganProgressState.campaignProgress?.latestBattleTitle !== '공안 성문 변고' ||
|
||||
postGonganProgressState.campaignProgress?.nextBattleTitle !== '맥성 고립전'
|
||||
) {
|
||||
@@ -5899,7 +5899,7 @@ try {
|
||||
if (
|
||||
postMaichengProgressState?.activeTab !== 'progress' ||
|
||||
postMaichengProgressState.campaignProgress?.completedKnown !== 44 ||
|
||||
postMaichengProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postMaichengProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postMaichengProgressState.campaignProgress?.latestBattleTitle !== '맥성 고립전' ||
|
||||
postMaichengProgressState.campaignProgress?.nextBattleTitle !== '이릉 진격로'
|
||||
) {
|
||||
@@ -6056,7 +6056,7 @@ try {
|
||||
if (
|
||||
postYilingProgressState?.activeTab !== 'progress' ||
|
||||
postYilingProgressState.campaignProgress?.completedKnown !== 45 ||
|
||||
postYilingProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postYilingProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postYilingProgressState.campaignProgress?.latestBattleTitle !== '이릉 진격로' ||
|
||||
postYilingProgressState.campaignProgress?.nextBattleTitle !== '이릉 화공전'
|
||||
) {
|
||||
@@ -6214,7 +6214,7 @@ try {
|
||||
if (
|
||||
postYilingFireProgressState?.activeTab !== 'progress' ||
|
||||
postYilingFireProgressState.campaignProgress?.completedKnown !== 46 ||
|
||||
postYilingFireProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postYilingFireProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postYilingFireProgressState.campaignProgress?.latestBattleTitle !== '이릉 화공전' ||
|
||||
postYilingFireProgressState.campaignProgress?.nextBattleTitle !== '백제성 유탁'
|
||||
) {
|
||||
@@ -6280,7 +6280,7 @@ try {
|
||||
if (
|
||||
postBaidiProgressState?.activeTab !== 'progress' ||
|
||||
postBaidiProgressState.campaignProgress?.completedKnown !== 46 ||
|
||||
postBaidiProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postBaidiProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postBaidiProgressState.campaignProgress?.latestBattleTitle !== '이릉 화공전' ||
|
||||
postBaidiProgressState.campaignProgress?.nextBattleTitle !== '남중 안정로'
|
||||
) {
|
||||
@@ -6441,7 +6441,7 @@ try {
|
||||
if (
|
||||
postNanzhongProgressState?.activeTab !== 'progress' ||
|
||||
postNanzhongProgressState.campaignProgress?.completedKnown !== 47 ||
|
||||
postNanzhongProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postNanzhongProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postNanzhongProgressState.campaignProgress?.latestBattleTitle !== '남중 안정로' ||
|
||||
postNanzhongProgressState.campaignProgress?.nextBattleTitle !== '맹획 본대전'
|
||||
) {
|
||||
@@ -6603,7 +6603,7 @@ try {
|
||||
if (
|
||||
postMengHuoProgressState?.activeTab !== 'progress' ||
|
||||
postMengHuoProgressState.campaignProgress?.completedKnown !== 48 ||
|
||||
postMengHuoProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postMengHuoProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postMengHuoProgressState.campaignProgress?.latestBattleTitle !== '맹획 본대전' ||
|
||||
postMengHuoProgressState.campaignProgress?.nextBattleTitle !== '칠종칠금 2차전'
|
||||
) {
|
||||
@@ -6765,7 +6765,7 @@ try {
|
||||
if (
|
||||
postSecondCaptureProgressState?.activeTab !== 'progress' ||
|
||||
postSecondCaptureProgressState.campaignProgress?.completedKnown !== 49 ||
|
||||
postSecondCaptureProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postSecondCaptureProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postSecondCaptureProgressState.campaignProgress?.latestBattleTitle !== '칠종칠금 2차전' ||
|
||||
postSecondCaptureProgressState.campaignProgress?.nextBattleTitle !== '칠종칠금 3차전'
|
||||
) {
|
||||
@@ -6930,14 +6930,180 @@ try {
|
||||
if (
|
||||
postThirdCaptureProgressState?.activeTab !== 'progress' ||
|
||||
postThirdCaptureProgressState.campaignProgress?.completedKnown !== 50 ||
|
||||
postThirdCaptureProgressState.campaignProgress?.totalKnown !== 50 ||
|
||||
postThirdCaptureProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postThirdCaptureProgressState.campaignProgress?.latestBattleTitle !== '칠종칠금 3차전' ||
|
||||
postThirdCaptureProgressState.campaignProgress?.nextBattleTitle !== '준비 중'
|
||||
postThirdCaptureProgressState.campaignProgress?.nextBattleTitle !== '칠종칠금 4차전'
|
||||
) {
|
||||
throw new Error(`Expected post-third-capture progress tab to complete the fiftieth battle and pause before the fourth capture arc: ${JSON.stringify(postThirdCaptureProgressState?.campaignProgress)}`);
|
||||
throw new Error(`Expected post-third-capture progress tab to complete the fiftieth battle and point to the fourth capture arc: ${JSON.stringify(postThirdCaptureProgressState?.campaignProgress)}`);
|
||||
}
|
||||
await page.screenshot({ path: 'dist/verification-post-third-capture-progress.png', fullPage: true });
|
||||
|
||||
await page.mouse.click(1120, 38);
|
||||
await page.waitForTimeout(180);
|
||||
const fourthCaptureSortieState = await page.evaluate(() => window.__HEROS_DEBUG__?.camp());
|
||||
if (
|
||||
!fourthCaptureSortieState?.sortieVisible ||
|
||||
fourthCaptureSortieState.campaign?.step !== 'fiftieth-camp' ||
|
||||
fourthCaptureSortieState.campTitle !== '칠종칠금 3차전 후 군영' ||
|
||||
fourthCaptureSortieState.sortiePlan?.objectiveLine !== '칠종칠금 4차전 · 맹획 네 번째 생포와 회유 퇴로 유지' ||
|
||||
fourthCaptureSortieState.sortiePlan?.maxCount !== 7 ||
|
||||
fourthCaptureSortieState.sortiePlan?.recommendedTotal !== 7 ||
|
||||
!fourthCaptureSortieState.sortieRoster?.some((unit) => unit.id === 'zhuge-liang' && unit.selected && unit.required) ||
|
||||
!fourthCaptureSortieState.sortieRoster?.some((unit) => unit.id === 'ma-liang' && unit.recommended) ||
|
||||
!fourthCaptureSortieState.sortieRoster?.some((unit) => unit.id === 'huang-quan' && unit.recommended) ||
|
||||
!fourthCaptureSortieState.sortieRoster?.some((unit) => unit.id === 'ma-dai' && unit.recommended) ||
|
||||
!fourthCaptureSortieState.sortiePlan?.recruitedLine?.includes('합류 무장') ||
|
||||
fourthCaptureSortieState.sortieRoster?.some((unit) => unit.id === 'liu-bei')
|
||||
) {
|
||||
throw new Error(`Expected fourth Meng Huo sortie prep to expose clan-persuasion recommendations, Zhuge Liang lock, and the expanded recruited roster: ${JSON.stringify(fourthCaptureSortieState)}`);
|
||||
}
|
||||
assertSortieTacticalRoster(fourthCaptureSortieState, [
|
||||
'guan-yu',
|
||||
'zhang-fei',
|
||||
'jian-yong',
|
||||
'mi-zhu',
|
||||
'sun-qian',
|
||||
'zhao-yun',
|
||||
'zhuge-liang',
|
||||
'ma-liang',
|
||||
'yi-ji',
|
||||
'gong-zhi',
|
||||
'huang-zhong',
|
||||
'wei-yan',
|
||||
'pang-tong',
|
||||
'fa-zheng',
|
||||
'wu-yi',
|
||||
'yan-yan',
|
||||
'li-yan',
|
||||
'huang-quan',
|
||||
'ma-chao',
|
||||
'ma-dai',
|
||||
'wang-ping'
|
||||
]);
|
||||
|
||||
const fourthCapturePriorityUnits = ['ma-liang', 'huang-quan', 'wang-ping', 'zhao-yun', 'ma-chao', 'ma-dai'];
|
||||
for (const unitId of fourthCapturePriorityUnits) {
|
||||
const currentSortieState = await page.evaluate(() => window.__HEROS_DEBUG__?.camp());
|
||||
if (!currentSortieState.sortieRoster?.some((unit) => unit.id === unitId && unit.selected)) {
|
||||
const removable = currentSortieState.sortieRoster?.find(
|
||||
(unit) => unit.selected && !unit.required && !fourthCapturePriorityUnits.includes(unit.id)
|
||||
);
|
||||
if (removable) {
|
||||
await clickSortieRosterUnit(page, removable.id);
|
||||
}
|
||||
await clickSortieRosterUnit(page, unitId);
|
||||
}
|
||||
}
|
||||
|
||||
const fourthCaptureSortieReadyState = await page.evaluate(() => window.__HEROS_DEBUG__?.camp());
|
||||
if (
|
||||
!fourthCapturePriorityUnits.every((unitId) =>
|
||||
fourthCaptureSortieReadyState.sortieRoster?.some((unit) => unit.id === unitId && unit.selected)
|
||||
) ||
|
||||
!fourthCaptureSortieReadyState.sortieRoster?.some((unit) => unit.id === 'zhuge-liang' && unit.selected && unit.required) ||
|
||||
fourthCaptureSortieReadyState.sortieRoster?.some((unit) => unit.id === 'liu-bei') ||
|
||||
fourthCaptureSortieReadyState.sortiePlan?.selectedCount !== 7 ||
|
||||
fourthCaptureSortieReadyState.sortiePlan?.recommendedSelectedCount < 7
|
||||
) {
|
||||
throw new Error(`Expected fourth Meng Huo sortie to deploy Zhuge Liang, Ma Liang, Huang Quan, Wang Ping, Zhao Yun, Ma Chao, and Ma Dai: ${JSON.stringify(fourthCaptureSortieReadyState)}`);
|
||||
}
|
||||
await page.screenshot({ path: 'dist/verification-fourth-capture-sortie.png', fullPage: true });
|
||||
|
||||
await page.mouse.click(1068, 646);
|
||||
await page.waitForFunction(() => {
|
||||
const activeScenes = window.__HEROS_DEBUG__?.activeScenes() ?? [];
|
||||
return activeScenes.includes('StoryScene');
|
||||
});
|
||||
await page.screenshot({ path: 'dist/verification-fourth-capture-story.png', fullPage: true });
|
||||
|
||||
for (let i = 0; i < 70; i += 1) {
|
||||
const enteredFiftyFirstBattle = await page.evaluate(() => {
|
||||
const state = window.__HEROS_DEBUG__?.battle();
|
||||
return state?.scene === 'BattleScene' && state?.battleId === 'fifty-first-battle-meng-huo-fourth-capture';
|
||||
});
|
||||
if (enteredFiftyFirstBattle) {
|
||||
break;
|
||||
}
|
||||
await page.keyboard.press('Space');
|
||||
await page.waitForTimeout(320);
|
||||
}
|
||||
await page.waitForFunction(() => {
|
||||
const state = window.__HEROS_DEBUG__?.battle();
|
||||
return state?.scene === 'BattleScene' && state?.battleId === 'fifty-first-battle-meng-huo-fourth-capture' && state?.battleOutcome === null && state?.phase === 'idle';
|
||||
});
|
||||
await page.screenshot({ path: 'dist/verification-fifty-first-battle.png', fullPage: true });
|
||||
|
||||
const fiftyFirstBattleState = await page.evaluate(() => window.__HEROS_DEBUG__?.battle());
|
||||
const fiftyFirstEnemies = fiftyFirstBattleState.units.filter((unit) => unit.faction === 'enemy');
|
||||
const fiftyFirstAllies = fiftyFirstBattleState.units.filter((unit) => unit.faction === 'ally');
|
||||
const fiftyFirstEnemyBehaviors = new Set(fiftyFirstEnemies.map((unit) => unit.ai));
|
||||
if (
|
||||
fiftyFirstBattleState.camera?.mapWidth !== 102 ||
|
||||
fiftyFirstBattleState.camera?.mapHeight !== 84 ||
|
||||
fiftyFirstBattleState.victoryConditionLabel !== '맹획 네 번째 생포와 회유 퇴로 유지' ||
|
||||
!fiftyFirstBattleState.objectives?.some((objective) => objective.id === 'pacify-meng-huo-fourth' && objective.label === '맹획 네 번째 생포') ||
|
||||
!fiftyFirstBattleState.objectives?.some((objective) => objective.id === 'amnesty-route' && objective.label === '회유 퇴로 유지') ||
|
||||
fiftyFirstEnemies.length < 39 ||
|
||||
!fiftyFirstEnemyBehaviors.has('aggressive') ||
|
||||
!fiftyFirstEnemyBehaviors.has('guard') ||
|
||||
!fiftyFirstEnemyBehaviors.has('hold') ||
|
||||
!fiftyFirstEnemies.some((unit) => unit.id === 'menghuo-fourth-leader') ||
|
||||
!fiftyFirstEnemies.some((unit) => unit.id === 'menghuo-fourth-officer-wutugu') ||
|
||||
!fiftyFirstEnemies.some((unit) => unit.id === 'menghuo-fourth-officer-mangyachang') ||
|
||||
!fiftyFirstEnemies.some((unit) => unit.id === 'menghuo-fourth-officer-dongtuna') ||
|
||||
!fiftyFirstEnemies.some((unit) => unit.id === 'menghuo-fourth-officer-ahuinan') ||
|
||||
!fiftyFirstAllies.some((unit) => unit.id === 'zhuge-liang') ||
|
||||
!fiftyFirstAllies.some((unit) => unit.id === 'ma-liang') ||
|
||||
!fiftyFirstAllies.some((unit) => unit.id === 'huang-quan') ||
|
||||
!fiftyFirstAllies.some((unit) => unit.id === 'wang-ping') ||
|
||||
!fiftyFirstAllies.some((unit) => unit.id === 'zhao-yun') ||
|
||||
!fiftyFirstAllies.some((unit) => unit.id === 'ma-chao') ||
|
||||
!fiftyFirstAllies.some((unit) => unit.id === 'ma-dai') ||
|
||||
fiftyFirstAllies.some((unit) => unit.id === 'liu-bei')
|
||||
) {
|
||||
throw new Error(`Expected fifty-first battle to use the fourth Meng Huo map, amnesty-route objective, selected recruited officers, and mixed clan AI: ${JSON.stringify(fiftyFirstBattleState)}`);
|
||||
}
|
||||
|
||||
await page.evaluate(() => window.__HEROS_DEBUG__?.forceBattleOutcome('victory'));
|
||||
await page.waitForFunction(() => {
|
||||
const state = window.__HEROS_DEBUG__?.battle();
|
||||
return state?.battleOutcome === 'victory' && state?.phase === 'resolved' && state?.resultVisible === true;
|
||||
});
|
||||
|
||||
await page.mouse.click(738, 642);
|
||||
await page.waitForFunction(() => {
|
||||
const activeScenes = window.__HEROS_DEBUG__?.activeScenes() ?? [];
|
||||
return activeScenes.includes('CampScene');
|
||||
});
|
||||
|
||||
const fiftyFirstCampState = await page.evaluate(() => window.__HEROS_DEBUG__?.camp());
|
||||
if (
|
||||
fiftyFirstCampState?.campBattleId !== 'fifty-first-battle-meng-huo-fourth-capture' ||
|
||||
fiftyFirstCampState.campTitle !== '칠종칠금 4차전 후 군영' ||
|
||||
fiftyFirstCampState.availableDialogueIds?.length !== 3 ||
|
||||
!fiftyFirstCampState.availableDialogueIds.every((id) => id.includes('fourth-capture')) ||
|
||||
fiftyFirstCampState.availableVisitIds?.length !== 2 ||
|
||||
!fiftyFirstCampState.availableVisitIds.every((id) => id.includes('fourth-capture')) ||
|
||||
fiftyFirstCampState.rosterCollection?.total < 21
|
||||
) {
|
||||
throw new Error(`Expected fifty-first camp to expose fourth capture dialogue/visit sets and preserve the deployable officer roster: ${JSON.stringify(fiftyFirstCampState)}`);
|
||||
}
|
||||
await page.screenshot({ path: 'dist/verification-fourth-capture-camp.png', fullPage: true });
|
||||
|
||||
await page.mouse.click(966, 38);
|
||||
await page.waitForTimeout(180);
|
||||
const postFourthCaptureProgressState = await page.evaluate(() => window.__HEROS_DEBUG__?.camp());
|
||||
if (
|
||||
postFourthCaptureProgressState?.activeTab !== 'progress' ||
|
||||
postFourthCaptureProgressState.campaignProgress?.completedKnown !== 51 ||
|
||||
postFourthCaptureProgressState.campaignProgress?.totalKnown !== 51 ||
|
||||
postFourthCaptureProgressState.campaignProgress?.latestBattleTitle !== '칠종칠금 4차전' ||
|
||||
postFourthCaptureProgressState.campaignProgress?.nextBattleTitle !== '준비 중'
|
||||
) {
|
||||
throw new Error(`Expected post-fourth-capture progress tab to complete the fifty-first battle and pause before the fifth capture arc: ${JSON.stringify(postFourthCaptureProgressState?.campaignProgress)}`);
|
||||
}
|
||||
await page.screenshot({ path: 'dist/verification-post-fourth-capture-progress.png', fullPage: true });
|
||||
|
||||
await page.evaluate(() => {
|
||||
const game = window.__HEROS_GAME__;
|
||||
game?.scene.stop('CampScene');
|
||||
@@ -6969,11 +7135,11 @@ try {
|
||||
activeScenes: window.__HEROS_DEBUG__?.activeScenes() ?? [],
|
||||
camp: window.__HEROS_DEBUG__?.camp?.() ?? null
|
||||
}));
|
||||
if (!titleContinueState.activeScenes.includes('CampScene') || titleContinueState.camp?.campaign?.step !== 'fiftieth-camp') {
|
||||
throw new Error(`Expected title continue to reopen the latest third Meng Huo capture camp: ${JSON.stringify(titleContinueState)}`);
|
||||
if (!titleContinueState.activeScenes.includes('CampScene') || titleContinueState.camp?.campaign?.step !== 'fifty-first-camp') {
|
||||
throw new Error(`Expected title continue to reopen the latest fourth Meng Huo capture camp: ${JSON.stringify(titleContinueState)}`);
|
||||
}
|
||||
|
||||
console.log(`Verified title-to-third-Meng-Huo-capture flow, recruited officer sortie selection, Ma Liang, Yi Ji, Gong Zhi, Huang Zhong, Wei Yan, Pang Tong, Fa Zheng, Wu Yi, Yan Yan, Li Yan, Huang Quan, Ma Chao, Ma Dai, Wang Ping joins, Luofeng, Luo main gate, Mianzhu, Chengdu surrender, Jiameng, Yangping, Dingjun, Hanzhong decisive battle, King of Hanzhong council, Shu-Han foundation state, Jing Province defense vanguard, Fan Castle vanguard, Han River flood, Fan Castle siege, Jing rear crisis, Gongan collapse, Maicheng isolation, Yiling vanguard, Yiling fire attack, Baidi entrustment, Nanzhong stabilization, Meng Huo pacification, second capture, and third capture state at ${targetUrl}`);
|
||||
console.log(`Verified title-to-fourth-Meng-Huo-capture flow, recruited officer sortie selection, Ma Liang, Yi Ji, Gong Zhi, Huang Zhong, Wei Yan, Pang Tong, Fa Zheng, Wu Yi, Yan Yan, Li Yan, Huang Quan, Ma Chao, Ma Dai, Wang Ping joins, Luofeng, Luo main gate, Mianzhu, Chengdu surrender, Jiameng, Yangping, Dingjun, Hanzhong decisive battle, King of Hanzhong council, Shu-Han foundation state, Jing Province defense vanguard, Fan Castle vanguard, Han River flood, Fan Castle siege, Jing rear crisis, Gongan collapse, Maicheng isolation, Yiling vanguard, Yiling fire attack, Baidi entrustment, Nanzhong stabilization, Meng Huo pacification, second capture, third capture, and fourth capture state at ${targetUrl}`);
|
||||
} finally {
|
||||
await browser?.close();
|
||||
if (serverProcess && !serverProcess.killed) {
|
||||
|
||||
Reference in New Issue
Block a user