Compare commits

...

3 commits

Author SHA1 Message Date
2e3312c868 ruff格式化
All checks were successful
ci/woodpecker/push/check_format Pipeline was successful
2024-10-09 18:17:07 +08:00
795cb950ea perf:修改图片资源
Some checks failed
ci/woodpecker/push/check_format Pipeline failed
2024-10-09 17:58:06 +08:00
43db048a10 add:追逐日落以西导航
Some checks failed
ci/woodpecker/push/check_format Pipeline failed
2024-10-09 17:48:38 +08:00
6 changed files with 16 additions and 16 deletions

View file

@ -88,7 +88,7 @@ class Arknights数据处理器:
return 匹配结果
self.物品_名称对1 = {}
self.物品_名称对={}
self.物品_名称对 = {}
if not os.path.exists("./ui/public/depot/EXP.webp"):
png_image = Image.open("./ArknightsGameResource/item/EXP_PLAYER.png")
png_image.save("./ui/public/depot/EXP.webp", "WEBP")

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 376 KiB

View file

@ -31,19 +31,20 @@ class classproperty:
class ActivityNavigation(SceneGraphSolver):
_location = {
"CV-1": (0, 0),
"CV-2": (601, -175),
"CV-3": (1181, -175),
"CV-4": (1757, -175),
"CV-5": (2344, -61),
"CV-6": (2755, 55),
"CV-7": (3208, -87),
"CV-8": (3617, 2),
"GO-1": (0, 0),
"GO-2": (996, 0),
"GO-3": (1464, 0),
"GO-4": (1461, -341),
"GO-5": (2088, -341),
"GO-6": (2088, 126),
"GO-7": (2659, 126),
"GO-8": (2967, -340),
"GO-9": (3312, -105),
}
@classproperty
def location(cls):
if datetime.now() > datetime(2024, 9, 29, 4):
if datetime.now() > datetime(2024, 10, 30, 4):
return {}
return cls._location

View file

@ -45,8 +45,6 @@ color = {
"mission_trainee_on": (690, 17),
"nav_bar": (655, 0),
"nav_button": (26, 20),
"navigation/activity/banner": (1285, 946),
"navigation/activity/entry": (1460, 640),
"navigation/collection/AP-1": (203, 821),
"navigation/collection/CA-1": (203, 821),
"navigation/collection/CE-1": (243, 822),
@ -104,6 +102,7 @@ color = {
}
template_matching = {
"navigation/activity/entry": (1256, 829),
"arrange_check_in": ((30, 300), (175, 700)),
"arrange_check_in_on": ((30, 300), (175, 700)),
"arrange_confirm": (755, 903),