non-linear importance; balance updates

This commit is contained in:
Vasyl Horbachenko
2018-07-04 01:33:52 +03:00
parent c6098eb9c2
commit 187ce4a2c5
7 changed files with 55 additions and 46 deletions

View File

@@ -13,6 +13,10 @@ class GroundAttackEvent(GroundInterceptEvent):
def __str__(self):
return "Destroy insurgents at {}".format(self.to_cp)
@property
def threat_description(self):
return ""
def player_defending(self, strikegroup: db.PlaneDict, clients: db.PlaneDict):
suitable_unittypes = db.find_unittype(Reconnaissance, self.attacker_name)
random.shuffle(suitable_unittypes)