mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
fix(base): correct AA spawn
This commit is contained in:
parent
f5851d09f5
commit
c7eae7e97a
@ -158,10 +158,8 @@ class Base:
|
|||||||
return int(self.total_armor * 0.5)
|
return int(self.total_armor * 0.5)
|
||||||
|
|
||||||
def assemble_aa_count(self) -> int:
|
def assemble_aa_count(self) -> int:
|
||||||
if self.strength > STRENGTH_AA_ASSEMBLE_MIN:
|
# previous logic removed because we always want the full air defense capabilities.
|
||||||
return self.total_aa
|
return self.total_aa
|
||||||
else:
|
|
||||||
return 0
|
|
||||||
|
|
||||||
def scramble_sweep(self, multiplier: float) -> typing.Dict[PlaneType, int]:
|
def scramble_sweep(self, multiplier: float) -> typing.Dict[PlaneType, int]:
|
||||||
return self._find_best_planes(CAP, self.scramble_count(multiplier, CAP))
|
return self._find_best_planes(CAP, self.scramble_count(multiplier, CAP))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user