1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 06:18:21 +08:00

[fpy] Fix: PEP540 & SpecialDrop & interval regex (#4645)

This commit is contained in:
hgjazhgj
2025-03-06 01:40:25 +09:00
committed by GitHub
parent 9c3bfc7e8d
commit 50ad05030f
8 changed files with 10 additions and 11 deletions

View File

@@ -44,7 +44,8 @@ class FgoAutoScript(AzurLaneAutoScript):
app = FGOpy(
self.config.FpyEmulator_LaunchPath,
{
"Special Drop": "FpyLimit_SpecialDrop",
"Special Drop": lambda:
setattr(self.config, "FpyLimit_SpecialDrop", max(0, getattr(self.config, "FpyLimit_SpecialDrop") - 1)),
},
)
assert app.run("ping")