Release ranch assistant 1.2.0

This commit is contained in:
AttilaNet
2026-11-10 15:05:56 +08:00
parent 6d74730735
commit 7fe4c0ffdf
7 changed files with 100 additions and 37 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ def portable_policy(policy, snapshot=None):
for key, priority in sorted(value.pop(field).items(), key=lambda pair: pair[1]):
mon = snapshot.monsters.get(int(key)) if snapshot else None
targets[kind].append({"typeId": str(mon.get("typeId")) if mon else "", "priority": priority})
return {"format": FORMAT, "schema": VERSION, "assistantVersion": "1.2.0.dev1", "gameVersion": "1.9.68",
return {"format": FORMAT, "schema": VERSION, "assistantVersion": "1.2.0", "gameVersion": "1.9.68",
"policy": value, "targetSpecies": targets}