Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deepseek-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
name: DeepSeek PR Reviewer

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
# pull_request:
# types: [opened, synchronize, reopened, ready_for_review]
workflow_dispatch:
inputs:
pr_number:
Expand Down
7 changes: 5 additions & 2 deletions agent/fishing_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,8 +488,7 @@ def main_loop(self) -> bool:
self.tap(*self.coords.screen_center)
self.delay(1.0)

if success:
self.check_and_sell_fish()
self.check_and_sell_fish()

return success

Expand All @@ -509,6 +508,10 @@ def run(self, max_count: Optional[int] = None) -> bool:
self.main_loop()
finally:
self.running = False
# 兜底:结束后卖出剩余鱼获
if self.fish_since_last_sell > 0:
print(f"\n📦 钓鱼结束,卖出剩余 {self.fish_since_last_sell} 条鱼")
self.sell_all_fish()
return self.success_count > 0


Expand Down
2 changes: 1 addition & 1 deletion assets/interface.json
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@
88
],
"expected": [
"蜥蜴人祭坛"
"(?=.*[蜥])(?=.*[蜴])(?=.*[祭坛]).{5,}$"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion assets/resource/base/pipeline/Activities.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"ActiveGe.png"
],
"green_mask": true,
"threshold": [0.75],
"threshold": [0.7],
"action": "Click",
"target_offset": [
-50,
Expand Down
15 changes: 11 additions & 4 deletions assets/resource/base/pipeline/Fishing.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,15 +169,22 @@
"desc": "识别点击捕网",
"recognition": "OCR",
"roi": [
85,
228,
98,
34
88,
230,
88,
25
],
"expected": [
"经营管理"
],
"only_rec": true,
"action": "Click",
"target": [
128,
202,
9,
8
],
"post_delay": 1000,
"next": [
"Fishing_InFishingNet"
Expand Down
2 changes: 2 additions & 0 deletions assets/resource/base/pipeline/QuestList.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@
0,
0
],
"post_delay": 1000,
"next": [
"RewardsDaily_GetDailyReward",
"[JumpBack]Global_WaitingForLoading",
"RewardsDaily_InIndex"
],
"on_error": [
Expand Down
4 changes: 2 additions & 2 deletions release/app_msg.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
# ci · 开发版
#
# 【叠加示例】(示例中用 [target:...] 代替真实标记,避免被脚本误解析,实操时改成注释形式。)
# [target: all]
# <!-- # [target: all] -->
# 这段所有版本都会看到
#
# [target: beta]
# <!-- # [target: beta] -->
# 这段只有 beta 版能看到
#
# → stable 收到:第 1 段
Expand Down
4 changes: 2 additions & 2 deletions release/release_header.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
# ci · 开发版
#
# 【叠加示例】
# target: all
# <!-- # target: all -->
# 这段所有版本的 Release Notes 都会显示
#
# target: stable
# <!-- # target: stable -->
# 这段只出现在正式版 Release Notes 里
#
# → stable 收到:第 1 段 + 第 2 段
Expand Down
Loading