summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2023-12-05 11:22:06 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2023-12-05 11:22:06 +0100
commit6992c815f9a47c74f7977566201c910cb7af2e97 (patch)
tree7c22765767ff88c9f20615eb6b965ed323fdd345 /lib
parent5b76f11bb327fcc4760e89e0c86ec42083049155 (diff)
downloadcolonial-twilight-6992c815f9a47c74f7977566201c910cb7af2e97.zip
colonial-twilight-6992c815f9a47c74f7977566201c910cb7af2e97.tar.gz
FLNBotRules : add CASUALTIES_PRIORITY
Diffstat (limited to 'lib')
-rw-r--r--lib/colonial_twilight/fln_bot_rules.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/colonial_twilight/fln_bot_rules.rb b/lib/colonial_twilight/fln_bot_rules.rb
index 6f83def..578cd49 100644
--- a/lib/colonial_twilight/fln_bot_rules.rb
+++ b/lib/colonial_twilight/fln_bot_rules.rb
@@ -221,6 +221,7 @@ module ColonialTwilight
end
# Attack
+ CASUALTIES_PRIORITY = %i[french_police algerian_police french_troops algerian_troops gov_bases].freeze
def may_attack_1_in?(space)
# attack will remove 1+ GOV piece, do not expose a base