From c7eae7e97aa01778a9de95e4d61c00c35fc2e995 Mon Sep 17 00:00:00 2001 From: Wrycu Date: Sat, 22 Jun 2019 14:17:28 -0700 Subject: [PATCH] fix(base): correct AA spawn --- theater/base.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/theater/base.py b/theater/base.py index 5f3b99cb..163879ad 100644 --- a/theater/base.py +++ b/theater/base.py @@ -158,10 +158,8 @@ class Base: return int(self.total_armor * 0.5) def assemble_aa_count(self) -> int: - if self.strength > STRENGTH_AA_ASSEMBLE_MIN: - return self.total_aa - else: - return 0 + # previous logic removed because we always want the full air defense capabilities. + return self.total_aa def scramble_sweep(self, multiplier: float) -> typing.Dict[PlaneType, int]: return self._find_best_planes(CAP, self.scramble_count(multiplier, CAP))