Add late campaign character portraits
This commit is contained in:
@@ -9084,9 +9084,11 @@ try {
|
||||
);
|
||||
if (
|
||||
weishuiCampsStoryState?.background !== 'story-weishui-camps' ||
|
||||
weishuiCampsStoryState?.backgroundReady !== true
|
||||
weishuiCampsStoryState?.backgroundReady !== true ||
|
||||
weishuiCampsStoryState?.portraitKey !== 'zhugeLiang' ||
|
||||
weishuiCampsStoryState?.portraitTextureKey !== 'portrait-zhuge-liang'
|
||||
) {
|
||||
throw new Error(`Expected Weishui camps story to lazy-load its new generated background: ${JSON.stringify(weishuiCampsStoryState)}`);
|
||||
throw new Error(`Expected Weishui camps story to lazy-load its new generated background and show Zhuge Liang portrait by speaker fallback: ${JSON.stringify(weishuiCampsStoryState)}`);
|
||||
}
|
||||
await page.screenshot({ path: 'dist/verification-sixty-fourth-story.png', fullPage: true });
|
||||
|
||||
@@ -9127,11 +9129,11 @@ try {
|
||||
!sixtyFourthEnemyBehaviors.has('aggressive') ||
|
||||
!sixtyFourthEnemyBehaviors.has('guard') ||
|
||||
!sixtyFourthEnemyBehaviors.has('hold') ||
|
||||
!sixtyFourthEnemies.some((unit) => unit.id === 'northern-tenth-leader-sima-yi') ||
|
||||
!sixtyFourthEnemies.some((unit) => unit.id === 'northern-tenth-leader-sima-yi' && unit.combatPortraitKey === 'portrait-sima-yi') ||
|
||||
!sixtyFourthEnemies.some((unit) => unit.id === 'northern-tenth-officer-zhang-he') ||
|
||||
!sixtyFourthEnemies.some((unit) => unit.id === 'northern-tenth-officer-guo-huai') ||
|
||||
!sixtyFourthAllies.some((unit) => unit.id === 'zhuge-liang') ||
|
||||
!sixtyFourthAllies.some((unit) => unit.id === 'jiang-wei') ||
|
||||
!sixtyFourthAllies.some((unit) => unit.id === 'zhuge-liang' && unit.combatPortraitKey === 'portrait-zhuge-liang') ||
|
||||
!sixtyFourthAllies.some((unit) => unit.id === 'jiang-wei' && unit.combatPortraitKey === 'portrait-jiang-wei') ||
|
||||
!sixtyFourthAllies.some((unit) => unit.id === 'wang-ping') ||
|
||||
!sixtyFourthAllies.some((unit) => unit.id === 'huang-quan') ||
|
||||
!sixtyFourthAllies.some((unit) => unit.id === 'li-yan') ||
|
||||
|
||||
Reference in New Issue
Block a user