SE关导航
All checks were successful
ci/woodpecker/push/check_format Pipeline was successful

This commit is contained in:
Elaina 2025-02-18 22:45:07 +08:00
parent c98d0e07bc
commit 5729613f0f
5 changed files with 19 additions and 29 deletions

View file

@ -644,9 +644,7 @@ class Arknights数据处理器:
干员技能列表.append(干员技能字典.copy())
干员技能列表 = sorted(干员技能列表, key=lambda x: (-x["key"]))
# print(干员技能列表)
with open(
"./mower/data/building_skill/skill.json", "w", encoding="utf-8"
) as f:
with open("./mower/data/building_skill/skill.json", "w", encoding="utf-8") as f:
json.dump(干员技能列表, f, ensure_ascii=False, indent=4)
def 转换输出基建buff(self):

Binary file not shown.

Binary file not shown.

View file

@ -30,32 +30,24 @@ class ActivityNavigation(BaseSolver):
_location = {
"normal": {
"OR-1": (0, 0),
"OR-2": [547, 0],
"OR-3": [785, -202],
"OR-4": [1023, -412],
"OR-5": [1381, -93],
"OR-6": [2172, -429],
"OR-7": [2435, -274],
"OR-8": [2767, -184],
"OR-9": [3150, -184],
},
"ex": {
"OR-EX-1": (0, 0),
"OR-EX-2": [0, 228],
"OR-EX-3": [401, 228],
"OR-EX-4": [401, 427],
"OR-EX-5": [928, 428],
"OR-EX-6": [928, 228],
"OR-EX-7": [1337, 228],
"OR-EX-8": [1337, 0],
"SE-1": (0, 0),
"SE-2": [211, 209],
"SE-3": [211, 412],
"SE-4": [727, 55],
"SE-5": [728, 256],
"SE-6": [1459, 0],
"SE-7": [1250, 209],
"SE-8": [1250, 412],
"SE-S-1": [-19, 611],
"SE-S-2": [1441, 611],
},
"ex": {},
}
@classproperty
def location(cls):
result = {"normal": {}, "ex": {}}
if (now := datetime.now()) < datetime(2025, 2, 12, 4):
if (now := datetime.now()) < datetime(2025, 2, 21, 4):
result["normal"] = cls._location["normal"]
if now > datetime(2025, 1, 29, 16):
result["ex"] = cls._location["ex"]

View file

@ -74,9 +74,9 @@ color = {
"nav_bar": (655, 0),
"nav_button": (26, 20),
"navigation/activity/banner_ex": (1516, 962),
"navigation/activity/banner_normal": (1330, 957),
"navigation/activity/banner_normal": (928, 973),
"navigation/activity/entry_ex": (1471, 850),
"navigation/activity/entry_normal": (1269, 720),
"navigation/activity/entry_normal": (1549, 536),
"navigation/collection/AP-1": (203, 821),
"navigation/collection/CA-1": (203, 821),
"navigation/collection/CE-1": (243, 822),