summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/colonial_twilight/fln_bot_rules.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/colonial_twilight/fln_bot_rules.rb b/lib/colonial_twilight/fln_bot_rules.rb
index 625d31e..b5bdbc9 100644
--- a/lib/colonial_twilight/fln_bot_rules.rb
+++ b/lib/colonial_twilight/fln_bot_rules.rb
@@ -98,9 +98,9 @@ module ColonialTwilight
def may_rally_6_in?(space, already_rallied)
# 2+ pop to agitate after rally
- r = (already_rallied || may_rally_in?(space)) && space.pop > 1
+ r = (already_rallied || may_rally_in?(space)) && space.pop > 1 && (space.terror.positive? || !space.oppose?)
if r
- # to agitate : FLN base or control after rally
+ # may agitate if : FLN base or control after rally
n = already_rallied ? 0 : place_guerrillas_in(space).values.sum
r &= (space.fln_bases.positive? || (space.gov < (space.fln + n)))
end