卫戍等级刷满直接结束

This commit is contained in:
Elaina 2024-11-21 11:18:42 +08:00
parent 2207777503
commit 30cd57d526
4 changed files with 7 additions and 0 deletions

BIN
mower/resources/stronghold_protocol/level50.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -30,6 +30,8 @@ class StrongholdProtocol(SceneGraphSolver, FightMixin):
if (scene := self.scene()) == Scene.TERMINAL_MAIN: if (scene := self.scene()) == Scene.TERMINAL_MAIN:
self.terminal_entry("stronghold_protocol/entry.jpg") self.terminal_entry("stronghold_protocol/entry.jpg")
elif scene == Scene.SP_MAIN: elif scene == Scene.SP_MAIN:
if self.find("stronghold_protocol/level50"):
return True
if pos := self.find("stronghold_protocol/stop"): if pos := self.find("stronghold_protocol/stop"):
if not self.find("stronghold_protocol/round1"): if not self.find("stronghold_protocol/round1"):
self.tap(pos) self.tap(pos)

View file

@ -172,6 +172,7 @@ color = {
"stronghold_protocol/complete": (231, 101), "stronghold_protocol/complete": (231, 101),
"stronghold_protocol/defence": (29, 14), "stronghold_protocol/defence": (29, 14),
"stronghold_protocol/empty": (1533, 934), "stronghold_protocol/empty": (1533, 934),
"stronghold_protocol/level50": (105, 962),
"stronghold_protocol/main": (1456, 472), "stronghold_protocol/main": (1456, 472),
"stronghold_protocol/round1": (1701, 856), "stronghold_protocol/round1": (1701, 856),
"stronghold_protocol/start": (1709, 879), "stronghold_protocol/start": (1709, 879),

View file

@ -519,6 +519,7 @@ Res = Literal[
"stronghold_protocol/defence", "stronghold_protocol/defence",
"stronghold_protocol/empty", "stronghold_protocol/empty",
"stronghold_protocol/entry.jpg", "stronghold_protocol/entry.jpg",
"stronghold_protocol/level50",
"stronghold_protocol/main", "stronghold_protocol/main",
"stronghold_protocol/medic", "stronghold_protocol/medic",
"stronghold_protocol/money0", "stronghold_protocol/money0",