perryhuynh / kcauto

kcauto, the successor to kancolle-auto, a Kantai Collection (Kancolle) bot/automation tool
GNU General Public License v3.0
68 stars 23 forks source link

Regenerate Fleet Number Assets #373

Closed perryhuynh closed 5 years ago

perryhuynh commented 5 years ago

It looks like the latest update broke fleet number related functionality. I've regenerated assets for the following so far and will attach them below: kcauto.sikuli/fleet.sikuli/fleet_1.png image

kcauto.sikuli/fleet.sikuli/fleet_1_active.png image

kcauto.sikuli/fleet.sikuli/fleet_2.png image

kcauto.sikuli/fleet.sikuli/fleet_2_active.png image

kcauto.sikuli/fleet.sikuli/fleet_3.png image

kcauto.sikuli/fleet.sikuli/fleet_3_active.png image

kcauto.sikuli/fleet.sikuli/fleet_4.png image

kcauto.sikuli/fleet.sikuli/fleet_4_active.png image

kcauto.sikuli/repair.sikuli/repairlist_fleet_1.png image

kcauto.sikuli/repair.sikuli/repairlist_fleet_1_flag.png image

kcauto.sikuli/repair.sikuli/repairlist_fleet_2.png image

kcauto.sikuli/repair.sikuli/repairlist_fleet_3.png image

Even after regenerating the assets for the fleet module, I had to change the code below to use .similar(0.97) instead of exact() https://github.com/mrmin123/kcauto/blob/e52c6ec68a7eb703f4512073c7d97d81f43d0d39/kcauto.sikuli/fleet.sikuli/fleet.py#L81-L82