Polish battle viewport and victory flow
This commit is contained in:
@@ -99,7 +99,7 @@ try {
|
||||
throw new Error(`Expected a scrollable battle map: ${JSON.stringify(cameraBeforeScroll)}`);
|
||||
}
|
||||
|
||||
await page.mouse.move(768, 360);
|
||||
await page.mouse.move(872, 360);
|
||||
await page.waitForTimeout(520);
|
||||
const cameraAfterEdgeScroll = await page.evaluate(() => window.__HEROS_DEBUG__?.battle()?.camera);
|
||||
if (!cameraAfterEdgeScroll || cameraAfterEdgeScroll.x <= cameraBeforeScroll.x) {
|
||||
|
||||
Reference in New Issue
Block a user