mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-29 02:57:25 +00:00
15 lines
363 B
Python
15 lines
363 B
Python
|
from tasks.base.ui import UI
|
||
|
from tasks.combat.assets.assets_combat_interact import DUNGEON_COMBAT_INTERACT
|
||
|
|
||
|
|
||
|
class CombatInteract(UI):
|
||
|
def handle_combat_interact(self):
|
||
|
"""
|
||
|
Returns:
|
||
|
bool: If clicked.
|
||
|
"""
|
||
|
if self.appear_then_click(DUNGEON_COMBAT_INTERACT, interval=2):
|
||
|
return True
|
||
|
|
||
|
return False
|