1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 09:48:20 +08:00
This commit is contained in:
2025-02-28 10:41:03 +08:00
47 changed files with 369 additions and 338 deletions

View File

@@ -1,7 +1,16 @@
from module.base.base import ModuleBase
from module.base.timer import Timer
from module.base.utils import color_bar_percentage
from module.combat_ui.assets import PAUSE, PAUSE_Christmas, PAUSE_Cyber, PAUSE_HolyLight, PAUSE_Iridescent_Fantasy, PAUSE_Neon, PAUSE_New
from module.combat_ui.assets import (
PAUSE,
PAUSE_Christmas,
PAUSE_Cyber,
PAUSE_HolyLight,
PAUSE_Iridescent_Fantasy,
PAUSE_Neon,
PAUSE_New,
PAUSE_Pharaoh,
)
from module.exercise.assets import *
from module.logger import logger
@@ -67,7 +76,8 @@ class HpDaemon(ModuleBase):
PAUSE_Neon,
PAUSE_Christmas,
PAUSE_Cyber,
PAUSE_HolyLight
PAUSE_HolyLight,
PAUSE_Pharaoh,
]:
self.attacker_hp = self._calculate_hp(image, area=ATTACKER_HP_AREA_New.area, reverse=True)
self.defender_hp = self._calculate_hp(image, area=DEFENDER_HP_AREA_New.area, reverse=True)