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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user