AzurLaneAutoScript/assets/tw/handler
guoh064 27693a6762
Add: 15图开荒/周回 (#3563)
* Add: W15 maps extracted

* Add: template for Special Carrier in W15

* Add: method mob_move

* Fix: MapDetectionError in strategy mob move

* Fix: adjacent grid judge condition

* Fix: should focus on location before moving

* Fix: should update view before further operation

* Fix: wait for STRATEGY_OPENED after executing mob move

* Fix: offset for assets in _mob_move()

* Opt: judge if movable before moving camera

* Add: W15 mechanism

* Opt: Rename Special Carrier asset name

* Fix: offset for MOB_MOVE_1/MOB_MOVE_2

* Fix: separate MOB_MOVE_1 and MOB_MOVE_2

* Fix: should use appear_then_click in strategy_mob_move_enter

* Fix: function import in campaign_15_base.py

* Fix: missing assets import

* Fix: missing offset in strategy_mob_move_cancel()

* Fix: should move only once in a campaign

* Temp: modify special carrier filter string to 3E

* Fix: missing self. before 'moved' variable

* Revert "Fix: missing self. before 'moved' variable"

This reverts commit 00f70e0ab55e422898cb90c5d5e54d4e7c989511.

* Revert "Fix: should move only once in a campaign"

This reverts commit b588f5bb07dfc4511f39fa0797fbe160f356d604.

* Fix: force goto special carrier

* Fix: missing return True in battle function

* Fix: enlarge offset of MOB_MOVE_ICON

* Fix: typo in campaing_15_3

* Fix: update view after moving mob

* Fix: should use full_scan_movable since mob moved

* Fix: missing map_data_init() in campaign_15_4.py

* Fix: battle 4 should be done by mob fleet

* Revert "Fix: battle 4 should be done by mob fleet"

This reverts commit 0e2af1ec817b7bc89fe123f03a33ea9ad955973f.

* Fix: should switch to fleet_1 after battle_3

* Add: battle function when using clear mode

* Fix: missing import

* Fix: colliding Config class

* Fix: Config.when should contain all cases

* Opt: pick ammo after third battle in clear mode of 15-4

* Del: old assets CarrierSpecial

* Fix: remake of CarrierSpecial template

* Add: UI mask for W15

* Fix: missing ASSETS import

* Fix: change full_scan_movable() to predict()

* Fix: predict should be done after each move

* Opt: camera_data in W15

* Del: remove predict

* Add: map info process after mob move

* Add: support for multi bosses in _expected_end() for W15

* Opt: show map after moving

* Del: remove redundant import in fleet.py

* Opt: using clear_chosen_enemy() instead of goto() directly

* Fix: should first take screenshot before strategy enter/confirm/cancel

* Add: asset TEMPLATE_SIREN_BOSS

* Opt: Handle first stages of BOSS as Siren in 15-3/15-4

* Fix: missing override map_data

* Add: ignore is_boss prediction for siren boss in 15-3/15-4

* Fix: should not use decorator Config with battle_x functions

* Opt: camera data in 15-4

* Opt: directly overwrite map info into original map_data

* Fix: missing indent block in campaign_15_4.py

* Fix: expect 15-3/15-4 first bosses as siren

* Revert "Add: ignore is_boss prediction for siren boss in 15-3/15-4"

This reverts commit 1104631f92e5df0672dce8c7acaa1eb122731746.

* Revert "Add: asset TEMPLATE_SIREN_BOSS"

This reverts commit a29d6b6b9bfb9d79963adb404ce2091cbfafb810.

* Revert "Add: support for multi bosses in _expected_end() for W15"

This reverts commit 8d357abe5b.

* Del: redundent map config

* Fix: recover boss grids

* Del: redundant clear_siren()

* Del: redundant clear_siren() in battle_6

* Add: template for mob move icon

* Opt: enlarge reinforcement fleet mask area for W15

* Opt: method _mob_move

* Upd: TEMPLATE_MOB_MOVE_ICON

* Fix: should have cool time between clicks of grid

* Revert "Upd: TEMPLATE_MOB_MOVE_ICON"

This reverts commit b3f2dcbc88dbe166470905f33d041b91c2192f57.

* Upd: TEMPLATE_MOB_MOVE_ICON

* Upd: TEMPLATE_MOB_MOVE_ICON

* Upd: predict_mob_move_icon

* Fix: 15-2 camera spawn point

* Fix: should update view using self.device.image

* Revert "Upd: TEMPLATE_MOB_MOVE_ICON"

This reverts commit 92a12596a8f271ec64e249ecb58779d9b64ecea6.

* Del: redundant assets MOB_MOVE_ICON.png

* Fix: using map_is_clear_mode to get real value of clear mode

* Opt: check mob_movable before moving

* Opt: Refactor _mob_move

* Fix: camera_sight in W15

* Opt: move sight to further point in _mob_move
2024-04-19 01:29:17 +08:00
..
AUTO_SEARCH_MAP_OPTION_OFF.png Add:[TW] auto_search assets 2021-02-15 12:23:50 +08:00
AUTO_SEARCH_MAP_OPTION_ON.png Add:[TW] auto_search assets 2021-02-15 12:23:50 +08:00
AUTO_SEARCH_MENU_CONTINUE.BUTTON.png Upd: AUTO_SEARCH_MENU_CONTINUE and AUTO_SEARCH_MENU_EXIT 2022-09-06 22:46:24 +08:00
AUTO_SEARCH_MENU_CONTINUE.png Upd: AUTO_SEARCH_MENU_CONTINUE and AUTO_SEARCH_MENU_EXIT 2022-09-06 22:46:24 +08:00
AUTO_SEARCH_MENU_EXIT.BUTTON.png Upd: AUTO_SEARCH_MENU_CONTINUE and AUTO_SEARCH_MENU_EXIT 2022-09-06 22:46:24 +08:00
AUTO_SEARCH_MENU_EXIT.png Upd: AUTO_SEARCH_MENU_CONTINUE and AUTO_SEARCH_MENU_EXIT 2022-09-06 22:46:24 +08:00
AUTO_SEARCH_OFF.png Fix: AUTO_SEARCH_ON/OFF assets, handle vote popup 2021-10-14 17:37:02 +08:00
AUTO_SEARCH_ON.png Fix: AUTO_SEARCH_ON/OFF assets, handle vote popup 2021-10-14 17:37:02 +08:00
AUTO_SEARCH_SET_ALL.png Upd: [TW] map and handler assets 2023-10-21 12:34:05 +08:00
AUTO_SEARCH_SET_BOSS.png Upd: [TW] map and handler assets 2023-10-21 12:34:05 +08:00
AUTO_SEARCH_SET_MOB.png Upd: [TW] map and handler assets 2023-10-21 12:34:05 +08:00
AUTO_SEARCH_SET_STANDBY.png Upd: [TW] map and handler assets 2023-10-21 12:34:05 +08:00
AUTO_SEARCH_SET_SUB_AUTO.png Upd: [TW] map and handler assets 2023-10-21 12:34:05 +08:00
AUTO_SEARCH_SET_SUB_STANDBY.png Upd: [TW] map and handler assets 2023-10-21 12:34:05 +08:00
BOOK_BOX_AUTO.png Fix: [TW] BOOK_BOX_AUTO & BOOK_CHECK_AUTO assets 2021-12-06 20:21:54 +08:00
BOOK_BOX_PREP.png Add: [EN, JP, TW] same assets across all servers for new 2x book handling 2021-06-22 22:36:21 -04:00
BOOK_CHECK_AUTO.png Fix: [TW] BOOK_BOX_AUTO & BOOK_CHECK_AUTO assets 2021-12-06 20:21:54 +08:00
BOOK_CHECK_PREP.png Add: [EN, JP, TW] same assets across all servers for new 2x book handling 2021-06-22 22:36:21 -04:00
BOOK_POPUP_CHECK.png Fix: Handle popup to use 2x book (#880) 2022-01-18 22:06:38 +08:00
FAST_FORWARD_OFF.png Add: [EN] AUTO_SEARCH_* assets 2021-01-21 12:56:00 -05:00
FAST_FORWARD_ON.png Add: [EN] AUTO_SEARCH_* assets 2021-01-21 12:56:00 -05:00
FLEET_LOCKED.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
FLEET_UNLOCKED.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
FORMATION_1.BUTTON.png Upd: Assets FORMATION to adapt to W15 2024-04-03 17:24:40 +08:00
FORMATION_1.png Upd: Assets FORMATION to adapt to W15 2024-04-03 17:24:40 +08:00
FORMATION_2.BUTTON.png Upd: Assets FORMATION to adapt to W15 2024-04-03 17:24:40 +08:00
FORMATION_2.png Upd: Assets FORMATION to adapt to W15 2024-04-03 17:24:40 +08:00
FORMATION_3.BUTTON.png Upd: Assets FORMATION to adapt to W15 2024-04-03 17:24:40 +08:00
FORMATION_3.png Upd: Assets FORMATION to adapt to W15 2024-04-03 17:24:40 +08:00
FORMATION_LOCATION.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
GAME_TIPS3.png Fix: Handle game tips when entering mewofficer enhance 2023-02-14 00:21:32 +08:00
GAME_TIPS4.png Fix: Handle game tips when entering mewofficer enhance 2023-02-14 00:21:32 +08:00
GAME_TIPS.BUTTON.png Add: Handle game tips 2020-10-30 18:08:59 +08:00
GAME_TIPS.png Upd: Update World-spanning Arclight 2021-11-26 01:17:49 +08:00
GET_AMMO.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
GET_MISSION.png Upd: Popup assets for all servers 2022-07-28 14:58:36 +08:00
GUILD_POPUP_CANCEL.png Del: Unused .BUTTON assets for module guild 2021-01-16 19:23:37 -05:00
GUILD_POPUP_CONFIRM.png Del: Unused .BUTTON assets for module guild 2021-01-16 19:23:37 -05:00
IN_MAP.png [TW]: Update WITHDRAW and IN_MAP assets (#3276) 2023-11-10 10:53:29 +08:00
IN_STAGE.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
INFO_BAR_1.png Upd: [TW] INFO_BAR_* (#1679) 2022-09-23 01:27:45 +08:00
INFO_BAR_2.png Upd: [TW] INFO_BAR_* (#1679) 2022-09-23 01:27:45 +08:00
INFO_BAR_3.png Upd: [TW] INFO_BAR_* (#1679) 2022-09-23 01:27:45 +08:00
INFO_BAR_AREA.png Refactor: info_bar_count() for poor image quality 2022-12-29 17:50:49 +08:00
INFO_BAR_DETECT.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
LOGIN_ANNOUNCE_2.BUTTON.png Upd: LOGIN_ANNOUNCE 2024-03-28 23:43:18 +08:00
LOGIN_ANNOUNCE_2.png Upd: LOGIN_ANNOUNCE 2024-03-28 23:43:18 +08:00
LOGIN_ANNOUNCE.BUTTON.png Fix: Limit button area of LOGIN_ANNOUNCE (#1779) 2023-01-28 16:29:44 +08:00
LOGIN_ANNOUNCE.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
LOGIN_CHECK.BUTTON.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
LOGIN_CHECK.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
LOGIN_GAME_UPDATE.png Update LOGIN_GAME_UPDATE assets for tw servers 2021-12-15 23:57:08 -05:00
LOGIN_RETURN_INFO.png Fix: Handle return account info 2021-07-11 21:41:05 +08:00
LOGIN_RETURN_SIGN.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
MAINTENANCE_ANNOUNCE.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
MAP_AIR_RAID.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
MAP_AMBUSH_ATTACK.BUTTON.png Fix: Use template matching on MAP_AMBUSH_ATTACK and MAP_AMBUSH_EVADE 2023-02-18 16:38:08 +08:00
MAP_AMBUSH_ATTACK.png Fix: Use template matching on MAP_AMBUSH_ATTACK and MAP_AMBUSH_EVADE 2023-02-18 16:38:08 +08:00
MAP_AMBUSH_EVADE.BUTTON.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
MAP_AMBUSH_EVADE.png Upd: [TW] MAP_AMBUSH_EVADE (fixed #2444) 2023-04-04 01:40:23 +08:00
MAP_AMBUSH.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
MAP_BUFF.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
MAP_CLEAR_PERCENTAGE.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
MAP_ENEMY_SEARCHING.png Refactor: enemy_searching_appear() using template matching 2023-01-29 14:48:56 +08:00
MAP_GREEN.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
MAP_STAR_1.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
MAP_STAR_2.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
MAP_STAR_3.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
MAP_WALK_OUT_OF_STEP.png Fix:handler assets (#1944) 2022-12-04 22:43:51 +08:00
MAP_WALK_SPEEDUP.png Add: handle_map_walk_speedup() 2023-08-03 22:59:37 +08:00
MISSION_POPUP_ACK.png Add: MISSION_POPUP_* assets and handling 2021-01-17 22:23:40 -05:00
MISSION_POPUP_GO.png Add: MISSION_POPUP_* assets and handling 2021-01-17 22:23:40 -05:00
MOB_MOVE_1.png Add: 15图开荒/周回 (#3563) 2024-04-19 01:29:17 +08:00
MOB_MOVE_2.png Add: 15图开荒/周回 (#3563) 2024-04-19 01:29:17 +08:00
MYSTERY_ITEM.BUTTON.png Fix: stuck in retreat confirmation on potato pcs 2020-12-27 11:55:52 +09:00
MYSTERY_ITEM.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
POPUP_CANCEL.png Upd: Popup assets for all servers 2022-07-28 14:58:36 +08:00
POPUP_CONFIRM.png Upd: Popup assets for all servers 2022-07-28 14:58:36 +08:00
STORY_CLOSE.png Fix: Handle STORY_CLOSE after B3 2023-09-15 21:37:56 +08:00
STORY_LETTER_BLACK.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
STORY_LETTERS_ONLY.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
STORY_SKIP_2.png Fix: Handle another STORY_SKIP (#2284) 2023-02-24 21:25:36 +08:00
STORY_SKIP_3.png Fix: Story skip 2023-09-14 23:32:18 +08:00
STORY_SKIP.BUTTON.png Fix: Move STORY_SKIP to avoid clicking on HOME button 2021-02-03 16:59:38 +08:00
STORY_SKIP.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
STRATEGY_OPEN.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
STRATEGY_OPENED.BUTTON.png Upd: [TW] map and handler assets 2023-10-21 12:34:05 +08:00
STRATEGY_OPENED.png Add: [TW] Daily assets 2021-04-17 09:53:19 +08:00
SUBMARINE_HUNT_OFF.png twassetsfix 2020-12-26 12:44:06 +08:00
SUBMARINE_HUNT_ON.png twassetsfix 2020-12-26 12:44:06 +08:00
SUBMARINE_MOVE_CANCEL.png Upd: [TW] SUBMARINE_MOVE_CANCEL and SUBMARINE_MOVE_CONFIRM (#1734) 2022-10-23 22:56:51 +08:00
SUBMARINE_MOVE_CONFIRM.png Upd: [TW] SUBMARINE_MOVE_CANCEL and SUBMARINE_MOVE_CONFIRM (#1734) 2022-10-23 22:56:51 +08:00
SUBMARINE_MOVE_ENTER.png Add: Submarine move in map (#864) 2022-01-09 19:26:49 +08:00
SUBMARINE_VIEW_OFF.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
SUBMARINE_VIEW_ON.png 'TW服的畫面截圖' 2020-10-26 20:26:10 +08:00
USE_DATA_KEY_NOTIFIED.png Upd: [TW] USE_DATA_KEY and USE_DATA_KEY_NOTIFIED (fixed #1547) 2022-08-21 22:05:14 +08:00
USE_DATA_KEY.png Upd: [TW] USE_DATA_KEY and USE_DATA_KEY_NOTIFIED (fixed #1547) 2022-08-21 22:05:14 +08:00
USER_AGREEMENT_CONFIRM.png Fix: [CN] Handle User Agreement and Privacy Policy (#446) 2021-06-29 14:42:47 +08:00