Opt: Low oil farming logic in event_20200723_cn C2 D1 D2 D3

This commit is contained in:
LmeSzinc 2020-07-26 00:44:51 +08:00
parent c0c93b15f2
commit b39c2a0984
4 changed files with 39 additions and 1 deletions

View File

@ -50,6 +50,12 @@ class Campaign(CampaignBase):
def battle_0(self):
if self.clear_siren():
return True
if self.clear_enemy(scale=(1,)):
return True
if self.clear_enemy(scale=(2,), genre=['light', 'main', 'enemy', 'carrier']):
return True
if self.clear_enemy(genre=['light', 'main', 'enemy']):
return True
return self.battle_default()

View File

@ -67,7 +67,11 @@ class Campaign(CampaignBase):
MAP = MAP
def battle_0(self):
if self.clear_siren():
if self.clear_enemy(scale=(1,)):
return True
if self.clear_enemy(scale=(2,), genre=['light', 'main', 'enemy', 'carrier']):
return True
if self.clear_enemy(genre=['light', 'main', 'enemy']):
return True
return self.battle_default()

View File

@ -55,6 +55,20 @@ class Campaign(CampaignBase):
def battle_0(self):
if self.clear_siren():
return True
if self.clear_enemy(scale=(2,), genre=['light', 'main', 'enemy', 'carrier']):
return True
if self.clear_enemy(genre=['light', 'main', 'enemy']):
return True
return self.battle_default()
def bettle_5(self):
if self.clear_enemy(scale=(1,)):
return True
if self.clear_enemy(scale=(2,), genre=['light', 'main', 'enemy', 'carrier']):
return True
if self.clear_enemy(genre=['light', 'main', 'enemy']):
return True
return self.battle_default()

View File

@ -87,6 +87,20 @@ class Campaign(CampaignBase):
def battle_0(self):
if self.clear_siren():
return True
if self.clear_enemy(scale=(2,), genre=['light', 'main', 'enemy', 'carrier']):
return True
if self.clear_enemy(scale=(3,), genre=['light', 'main', 'enemy']):
return True
return self.battle_default()
def bettle_5(self):
if self.clear_enemy(scale=(1,)):
return True
if self.clear_enemy(scale=(2,), genre=['light', 'main', 'enemy', 'carrier']):
return True
if self.clear_enemy(genre=['light', 'main', 'enemy']):
return True
return self.battle_default()