Commit Graph

916 Commits

Author SHA1 Message Date
Hengyu
6e9661401b Upd: extract dungeon_enter check button as a function parameter 2023-06-29 22:28:08 +08:00
Hengyu
4f8c1f89c3 Add: dungeon goto forgotten hall 2023-06-29 12:56:05 +08:00
LmeSzinc
e312ff80f6 Fix: Handle random wave cost OCR errors 2023-06-28 22:55:34 +08:00
LmeSzinc
ad451133d1 Add: Enter Stagnant Shadow dungeons 2023-06-28 02:27:20 +08:00
LmeSzinc
2ae3dac16d Add: Map buttons and technique points 2023-06-28 02:27:19 +08:00
LmeSzinc
8bdb9a4e77 Opt: Readable dungeon names 2023-06-28 01:17:24 +08:00
LmeSzinc
d18d318c9e Add: Enter Cavern of Corrosion 2023-06-27 23:52:53 +08:00
LmeSzinc
d1307fdb65 Upd: Handle double reward banner of simulated universe 2023-06-26 19:30:58 +08:00
LmeSzinc
d9b8c0db08 Opt: Improve log appearance in battle pass 2023-06-26 19:16:19 +08:00
LmeSzinc
a27c6015b8
Merge pull request #23 from Zebartin/assignment
Assignment
2023-06-26 18:32:51 +08:00
Zebartin
7d5bacdbc4 Fix: Friendlier config & details in assignment
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#pullrequestreview-1496702101
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1240852168
2023-06-26 00:07:52 +08:00
Driver-C
ab7351ab2c
Add: Daily synthesize material (#27) 2023-06-23 22:31:00 +08:00
Hengyu
e1954801db
Opt: not go to rewards page if battle pass level is not upgraded (#25) 2023-06-23 09:40:42 +08:00
Zebartin
a64c14648b Fix: DraggableList in dungeon 2023-06-22 17:25:46 +08:00
Zebartin
6c27531dae Fix: TImer of EMPTY_SLOT 2023-06-22 17:16:40 +08:00
Zebartin
e5c57dc9b0 Fix: Character selecting in assignment
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1235537186
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1235549827
2023-06-22 13:51:50 +08:00
Zebartin
c2b935f946 Fix: Unreliable use of Timer
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1235525692
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1235539035
2023-06-21 23:50:45 +08:00
Zebartin
47578306cb Fix: Help text & details of assignment
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1235492724
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1235495266
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1235497216
- https://github.com/LmeSzinc/StarRailCopilot/pull/23#discussion_r1235500507
2023-06-21 22:08:57 +08:00
LmeSzinc
812088d522
Merge pull request #22 from Driver-C/update/synthesize_optimization
Upd: synthesize optimization
2023-06-21 01:07:16 +08:00
Zebartin
0e4ce13b9e Fix: Reset counter after claiming 2023-06-20 22:35:59 +08:00
LmeSzinc
25cd87038d Fix: COMBAT_PREPARE and COMBAT_TEAM_PREPARE shares same letters (#24) 2023-06-20 22:07:08 +08:00
zebartin.wu
cd97951394 Fix: Remove redefinition of dispatched 2023-06-20 21:30:48 +08:00
Zebartin
193d7472bc Opt: Remove interval of REDISPATCH 2023-06-20 21:30:47 +08:00
Zebartin
724610404a Opt: Reduce use of ocr 2023-06-20 21:30:47 +08:00
Zebartin
346e7a1578 Add: Task assignment 2023-06-20 21:30:47 +08:00
LmeSzinc
55f82245b3 Fix: Dungeon entrance is never updated in selece_row() retires 2023-06-20 10:55:32 +08:00
LmeSzinc
514d81b34f Add: Use consumables in daily quests 2023-06-20 00:44:53 +08:00
Driver-C
962ac2d947 Upd: Standardize image path 2023-06-19 23:41:59 +08:00
Driver-C
fe30ba38a5 Upd: Consumable usage function access synthesis 2023-06-19 23:18:12 +08:00
Driver-C
f160949d15 Upd: synthesize consumables optimization 2023-06-19 23:12:36 +08:00
Hengyu
9edd120538
Add: Battle Pass Claim Rewards (#13)
* Add: Battle Pass Claim Rewards

* Upd: comments of public methods

* Fix: Break half way if not waiting for animation change finish

* Fix: set dataclass repr to false

* Add: Tasks BattlePass

* Upd: break get_rewards into two loops
2023-06-19 21:57:19 +08:00
Driver-C
9b05002be6
Add: Daily task 'Consumable usage' (#14) 2023-06-19 17:55:46 +08:00
LmeSzinc
16d5e447df Fix: Missing file assets_combat_interact.py (fixed #20) 2023-06-18 22:15:37 +08:00
LmeSzinc
74562d03e4 Add: Task DailyQuest 2023-06-18 18:41:58 +08:00
LmeSzinc
7e30ba8d9f Add: Task dungeon 2023-06-18 01:09:09 +08:00
LmeSzinc
9928d5b4cc Add: GUI options in task Dungeon 2023-06-18 00:24:00 +08:00
Driver-C
4512aeffa7
Upd: Standardize the directory structure related to the synthesis of consumables (#15) 2023-06-17 22:39:43 +08:00
LmeSzinc
29c83c0d26 Fix: Handle monthly card reward at login 2023-06-17 16:21:01 +08:00
LmeSzinc
45f806be61 Fix: Handle empter trialblaze power before combat 2023-06-17 16:20:01 +08:00
LmeSzinc
6d3f34ef48 Fix: OCR_TRAILBLAZE_POWER length varies by value 2023-06-17 16:19:13 +08:00
LmeSzinc
7cfd305e15 Opt: Log daily quests 2023-06-17 04:28:54 +08:00
LmeSzinc
555a6eb813 Fix: Remove __repr__ method override in keyword classes 2023-06-17 04:28:54 +08:00
LmeSzinc
fc1e1b4971 Add: Combat module 2023-06-17 04:28:51 +08:00
LmeSzinc
d7bc6d82f6 Add: Combat finish assets 2023-06-17 02:39:30 +08:00
LmeSzinc
8080250a49 Add: Get trailblaze power before and after combat 2023-06-17 01:07:47 +08:00
Hengyu
035ab0a778
Upd: return incomplete quests only (#11)
* Upd: return incomplete quests only

* Fix: Typo

* Fix: Use split_and_pair_button
2023-06-17 01:07:34 +08:00
LmeSzinc
173485b2f7 Add: Prepare combat team 2023-06-16 22:31:53 +08:00
LmeSzinc
cec7d1886c Add: Set combat waves 2023-06-15 22:12:47 +08:00
LmeSzinc
4efec361b4 Fix: Peak parameters in combat states (#9) 2023-06-15 13:25:57 +08:00
Hengyu
a54826aa94
Upd: daily quests ocr exceptions (#8) 2023-06-15 12:01:51 +08:00
LmeSzinc
c793a6ad3d Opt: Faster camera module 2023-06-15 01:26:28 +08:00
LmeSzinc
71b02ae767 Add: Goto dungeon from page_guide 2023-06-15 00:15:14 +08:00
LmeSzinc
765eeb5472 Add: Check combat auto and 2X speed 2023-06-13 11:36:54 +08:00
LmeSzinc
c567a773e3 Add: Extract keywords of dungeon list 2023-06-13 00:44:40 +08:00
LmeSzinc
9775c8bac9 Opt: Skip first screenshot when selecting items to synthesize 2023-06-13 00:24:52 +08:00
LmeSzinc
7235996dda Doc: Camera page in and out 2023-06-13 00:24:52 +08:00
Hengyu
012fffbb31
Add: daily_request_recognition; get_daily_rewards (#3)
* Add: daily_request_recognition; get_daily_rewards

* Fix: typo

* Fix: typo

* Upd: delete eval; use one loop to handle 5 active point rewards;

* Upd: change DAILY_QUEST_GOTO/REWARD pattern; update swipe private method name; extract keyword compare method

* Upd: move warning to single page recognition

* Upd: merge from main

* Add: methods that load daily quests keywords from QuestData.json

* Upd: avoid read TextMap twice

* Upd: revert Keyword.find method

* Add: preprocess of keyword extract; after_process of daily quest ocr

* Upd: move assets to daily/reward

* Upd: simplify ocr result replacement
2023-06-13 00:24:38 +08:00
Driver-C
f12f40643b
Add: Synthesize consumables (#2) 2023-06-12 03:20:12 +08:00
Hengyu
77c0e5044c Fix: take picture method 2023-06-08 13:24:51 +08:00
Driver-C
880b254d89 Fix: Resolve the issue of image changes for GET_REWARD 2023-06-08 12:46:26 +08:00
LmeSzinc
35f5d24877 Add: Switching dungeon nav 2023-05-31 02:20:45 +08:00
Hengyu
27c08df0ca
Add: take picture method (#1)
* Add: take picture method

* Upd: CAMERA_CHECK & TAKE_PICTURE template

* Upt: use OCR to detect whether picture was taken

* Upd: move camera to daily; use match template instead of OCR

* Upd: break process into two loops;
2023-05-29 23:08:22 +08:00
LmeSzinc
02b9c96e7b Add: Switching dungeon tabs 2023-05-23 01:00:20 +08:00
LmeSzinc
50e0ddb954 Add: Keyword extract 2023-05-22 22:10:22 +08:00
LmeSzinc
2fbb3c6d0d Fix: Handle monthly card popups 2023-05-21 09:38:41 +08:00
LmeSzinc
82d013ed59 Add: UI switches and login 2023-05-18 00:44:43 +08:00