mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-09 05:47:30 +08:00
Fix: _reward_mission_collect() calls should have minimum interval
This commit is contained in:
parent
b303d2279a
commit
30d4ffc644
@ -66,8 +66,8 @@ class Reward(UI):
|
||||
both 'all' and 'weekly' pages
|
||||
|
||||
Args:
|
||||
interval (int): Configure the interval for
|
||||
assets involved
|
||||
interval (int, float):
|
||||
Configure the interval for assets involved
|
||||
|
||||
Returns:
|
||||
bool, if encountered at least 1 GET_ITEMS_*
|
||||
@ -179,7 +179,7 @@ class Reward(UI):
|
||||
# Uses no interval to account for
|
||||
# behavior differences and avoid
|
||||
# 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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user