mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-06-21 03:54:11 +08:00
Pref: Faster is_combat_loading()
This commit is contained in:
@@ -16,9 +16,11 @@ class Combat(Combat_, MapEventHandler):
|
||||
Returns:
|
||||
bool: If enter combat.
|
||||
"""
|
||||
if not self.is_in_map():
|
||||
if self.is_combat_loading():
|
||||
return True
|
||||
if self.is_in_map():
|
||||
return False
|
||||
|
||||
if self.is_combat_loading():
|
||||
return True
|
||||
|
||||
if self.appear(BATTLE_PREPARATION):
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user