fix: 修复数色闭运算导致的 StageRefresh FP

This commit is contained in:
zzyyyl
2024-08-16 18:01:31 +08:00
parent 856cc6494d
commit a4f01fe112
2 changed files with 2 additions and 0 deletions

View File

@@ -9833,6 +9833,7 @@
"method": "RGBCount",
"postDelay": 500,
"colorScales": [[0, 200]],
"colorWithClose": false,
"roi": [790, 130, 60, 144],
"next": ["Sarkaz@Roguelike@StageRefreshConfirm", "Sarkaz@Roguelike@StageRefreshUpperLimit"]
},

View File

@@ -120,6 +120,7 @@ void asst::DebugTask::test_match_template()
ASSERT_ACTIVE("../../test/dist/14.png", "Sarkaz@Roguelike@StageWindAndRain");
ASSERT_ACTIVE("../../test/dist/15.png", "Sarkaz@Roguelike@StageEmergencyTransportation");
ASSERT_ACTIVE("../../test/dist/#10160.png", "Sarkaz@Roguelike@StageTraderEnter");
ASSERT_INACTIVE("../../test/dist/#10235.png", "Sarkaz@Roguelike@StageRefresh");
#undef TEST
#undef ASSERT_ACTIVE