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
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):
"""