mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-15 18:07:23 +08:00
Fix: Add half percent template also
This commit is contained in:
@@ -199,6 +199,11 @@ class CampaignOcr(ModuleBase):
|
|||||||
image, self._stage_image_gray,
|
image, self._stage_image_gray,
|
||||||
name_offset=(48, 0), name_size=(60, 16)
|
name_offset=(48, 0), name_size=(60, 16)
|
||||||
)
|
)
|
||||||
|
digits += self.campaign_match_multi(
|
||||||
|
TEMPLATE_STAGE_HALF_PERCENT,
|
||||||
|
image, self._stage_image_gray,
|
||||||
|
name_offset=(48, 0), name_size=(60, 16)
|
||||||
|
)
|
||||||
if 'half' in self.config.STAGE_ENTRANCE:
|
if 'half' in self.config.STAGE_ENTRANCE:
|
||||||
digits += self.campaign_match_multi(
|
digits += self.campaign_match_multi(
|
||||||
TEMPLATE_STAGE_HALF_PERCENT,
|
TEMPLATE_STAGE_HALF_PERCENT,
|
||||||
|
|||||||
Reference in New Issue
Block a user