mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 15:36:59 +08:00
Opt: Different grid.cost for different fleet
This commit is contained in:
@@ -49,6 +49,8 @@ class GridInfo:
|
||||
is_ambush_save = False
|
||||
is_caught_by_siren = False
|
||||
cost = 9999
|
||||
cost_1 = 9999
|
||||
cost_2 = 9999
|
||||
connection = None
|
||||
weight = 1
|
||||
|
||||
@@ -128,6 +130,14 @@ class GridInfo:
|
||||
def is_accessible(self):
|
||||
return self.cost < 9999
|
||||
|
||||
@property
|
||||
def is_accessible_1(self):
|
||||
return self.cost_1 < 9999
|
||||
|
||||
@property
|
||||
def is_accessible_2(self):
|
||||
return self.cost_2 < 9999
|
||||
|
||||
@property
|
||||
def is_nearby(self):
|
||||
return self.cost < 20
|
||||
|
||||
Reference in New Issue
Block a user