After bugfixes #4423 logic in the function changed and on the line where CAMPAIGN_ is removed the name is actually in lower case. Moved upper case manupulation in order to ensure correct case.
Upper was not removed considering the function should turn d3 into D3.
Before this bugfix incrementing to the next stage was unusable (eg. 12-2 would be incremented to a strange "n2")
Co-authored-by: LmeSzinc <lmeszincsales@gmail.com>
* Fix: force battle function choice for 15-1/15-2 when clear all
* Add: battle strategy when missing support fleet in W15
* Opt: open strategy once when checking mob move
* Opt: reuse strategy_get_mob_move_remain()
* 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