mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-21 09:05:34 +08:00
Mod: Improvement of Empyreal Tagicomedy WarArchives
This commit is contained in:
@@ -57,16 +57,30 @@ class Config(ConfigBase):
|
||||
STAR_REQUIRE_3 = 0
|
||||
# ===== End of generated config =====
|
||||
|
||||
STAR_REQUIRE_3 = 0
|
||||
MAP_SWIPE_MULTIPLY = 1.626
|
||||
MAP_SWIPE_MULTIPLY_MINITOUCH = 1.572
|
||||
|
||||
|
||||
class Campaign(CampaignBase):
|
||||
MAP = MAP
|
||||
ENEMY_FILTER = '1L > 1M > 1E > 1C > 2L > 2M > 2E > 2C > 3L > 3M > 3E > 3C'
|
||||
|
||||
def get_map_clear_percentage(self):
|
||||
"""
|
||||
map clear here is shorter than normal, about 70% at max
|
||||
|
||||
Returns:
|
||||
float: 0 to 1.
|
||||
"""
|
||||
return super().get_map_clear_percentage() * 1.4
|
||||
|
||||
def battle_0(self):
|
||||
if not self.map_is_clear_mode:
|
||||
for grid in self.map:
|
||||
grid.may_siren = True
|
||||
|
||||
if self.clear_siren():
|
||||
return True
|
||||
if self.clear_filter_enemy(self.ENEMY_FILTER, preserve=0):
|
||||
return True
|
||||
|
||||
return self.battle_default()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user