diff options
Diffstat (limited to 'lib/colonial_twilight/fln_bot_rules.rb')
-rw-r--r-- | lib/colonial_twilight/fln_bot_rules.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/colonial_twilight/fln_bot_rules.rb b/lib/colonial_twilight/fln_bot_rules.rb index 90936ad..3f04ed5 100644 --- a/lib/colonial_twilight/fln_bot_rules.rb +++ b/lib/colonial_twilight/fln_bot_rules.rb @@ -145,13 +145,14 @@ module ColonialTwilight end def may_rally_9_in?(space) - r = may_agitate_in?(space) && (space.terror.positive? || !space.oppose?) + r = may_agitate_in?(space) dbg " may_rally_9_in : #{space.name}", r r end def rally_9_priority(spaces, resources) - _filter(spaces) { |s| !s.oppose? && resources > s.terror } + f = _filter(spaces) { |s| s.support? && resources > s.terror } + _filter(f) { |s| s.neutral? && resources > s.terror } end # Extort |