mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 23:18:22 +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