diff --git a/CHANGELOG.md b/CHANGELOG.md index 49c6898..b3d30b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,13 @@ # CHANGELOG +## v1.0.0.0926 +#### Fixes (bugs & defects): +* 修复了部分模型过大(如茨林、拍屁股),导致无法有效更换满级狗粮的问题。 + ## v1.0.0.0924 #### Fixes (bugs & defects): * 改进了脚本的结束按钮,现在点击“结束”不再退出脚本UI。 -* 将部分英文日志记录更改为中文 +* 将部分英文日志记录更改为中文。 ## v1.0.0.0922 #### New features: diff --git a/explore/explore.py b/explore/explore.py index d93417d..5109995 100644 --- a/explore/explore.py +++ b/explore/explore.py @@ -33,9 +33,9 @@ def check_exp_full(self): ''' # 狗粮经验判断, gouliang1是中间狗粮,gouliang2是右边狗粮 gouliang1 = self.yys.find_game_img( - 'img\\MAN1.png', 1, (397, 218), (461, 349), 1) + 'img\\MAN1.png', 1, *TansuoPos.gouliang_middle, 1) gouliang2 = self.yys.find_game_img( - 'img\\MAN2.png', 1, (628, 293), (693, 430), 1) + 'img\\MAN2.png', 1, *TansuoPos.gouliang_right, 1) # print(gouliang1) # print(gouliang2) diff --git a/tools/game_pos.py b/tools/game_pos.py index 7429be5..a5ef139 100644 --- a/tools/game_pos.py +++ b/tools/game_pos.py @@ -18,6 +18,8 @@ class TansuoPos(): n_tab_btn = (142, 288), (164, 312) # n卡标签 n_slide = (168, 615), (370, 615) # n卡进度条 quit_change_monster=GamePos((19,17),(43,38)) #退出换狗粮界面 + gouliang_middle = (397, 218), (500, 349) # 中间狗粮位置 + gouliang_right = (628, 293), (730, 430) # 右边狗粮位置 class YuhunPos():