1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 07:49:25 +08:00

Revert "Add: hide_in_upper_left option for combat manual"

This commit was manually merged into this repository earlier, and later guoh064 merged this commit into LmeSzinc’s repository.
This reverts commit 13aba919a2.
This commit is contained in:
0O0o0oOoO00
2026-03-13 10:44:35 +08:00
parent ea306079e4
commit 8c6cb6de90
3 changed files with 0 additions and 50 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

View File

@@ -86,46 +86,3 @@ class CombatManual(ModuleBase):
return True return True
return False return False
from module.combat.my_assets import *
class CombatManual(CombatManual):
def handle_combat_stand_still_upper_left(self, auto):
"""
Args:
auto (str): Combat auto mode.
Returns:
bool: If executed
"""
if auto != 'hide_in_upper_left':
return False
self.device.long_click(my_MOVE_LEFT_UP, duration=(1.5, 3.5))
return True
def handle_combat_manual(self, auto):
"""
Args:
auto (str): Combat auto mode.
Returns:
bool: If executed
"""
if self.manual_executed or not self.auto_mode_checked:
return False
if self.handle_combat_stand_still_in_the_middle(auto):
self.manual_executed = True
return True
if self.handle_combat_stand_still_bottom_left(auto):
self.manual_executed = True
return True
if self.handle_combat_stand_still_upper_left(auto):
self.manual_executed = True
return True
return False

View File

@@ -1,7 +0,0 @@
from module.base.button import Button
from module.base.template import Template
# This file was automatically generated by dev_tools/button_extract.py.
# Don't modify it manually.
my_MOVE_LEFT_UP = Button(area={'cn': (101, 539, 136, 574), 'en': (101, 539, 136, 574), 'jp': (101, 539, 136, 574), 'tw': (101, 539, 136, 574)}, color={'cn': (255, 255, 255), 'en': (255, 255, 255), 'jp': (255, 255, 255), 'tw': (255, 255, 255)}, button={'cn': (101, 539, 136, 574), 'en': (101, 539, 136, 574), 'jp': (101, 539, 136, 574), 'tw': (101, 539, 136, 574)}, file={'cn': './assets/cn/combat/my_MOVE_LEFT_UP.png', 'en': './assets/cn/combat/my_MOVE_LEFT_UP.png', 'jp': './assets/cn/combat/my_MOVE_LEFT_UP.png', 'tw': './assets/cn/combat/my_MOVE_LEFT_UP.png'})