Skip to content

Commit

Permalink
限制至少选择两个Boss
Browse files Browse the repository at this point in the history
  • Loading branch information
ok-oldking committed Oct 14, 2024
1 parent fcacbe5 commit 9f55c1b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Binary file modified i18n/zh_CN/LC_MESSAGES/ok.mo
Binary file not shown.
5 changes: 4 additions & 1 deletion i18n/zh_CN/LC_MESSAGES/ok.po
Original file line number Diff line number Diff line change
Expand Up @@ -385,4 +385,7 @@ msgid "Auto Start Game When App Starts"
msgstr "APP启动后自动启动游戏"

msgid "Auto Login Success"
msgstr "自动登录成功"
msgstr "自动登录成功"

msgid "Must choose at least 2 Boss to Farm"
msgstr "必须至少选择两个Boss"
4 changes: 2 additions & 2 deletions src/task/FarmWorldBossTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@ def run(self):
dropped = self.walk_find_echo()
self.incr_drop(dropped)

if count == 0:
self.log_error('must choose at least 1 Boss to Farm', notify=True)
if count <= 1:
self.log_error('Must choose at least 2 Boss to Farm', notify=True)
return

0 comments on commit 9f55c1b

Please sign in to comment.