1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-24 06:45:57 +08:00

Fix: _reward_mission_collect() calls should have minimum interval

This commit is contained in:
LmeSzinc
2024-04-29 00:45:40 +08:00
parent b303d2279a
commit 30d4ffc644

View File

@@ -66,8 +66,8 @@ class Reward(UI):
both 'all' and 'weekly' pages both 'all' and 'weekly' pages
Args: Args:
interval (int): Configure the interval for interval (int, float):
assets involved Configure the interval for assets involved
Returns: Returns:
bool, if encountered at least 1 GET_ITEMS_* bool, if encountered at least 1 GET_ITEMS_*
@@ -179,7 +179,7 @@ class Reward(UI):
# Uses no interval to account for # Uses no interval to account for
# behavior differences and avoid # behavior differences and avoid
# premature exit # premature exit
return self._reward_mission_collect(interval=0) return self._reward_mission_collect(interval=0.2)
def reward_mission(self, daily=True, weekly=True): def reward_mission(self, daily=True, weekly=True):
""" """