mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-06-21 03:54:11 +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