diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2023-10-22 18:19:29 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2023-10-22 18:19:29 +0200 |
commit | 52e7a831cbff3ac1b9940e7f8a207db95f67d564 (patch) | |
tree | 7fadce98bcd3b7373d21d696d66cfd4d63553143 /lib/colonial_twilight/fln_rules.rb | |
parent | 211d6c0666ce58aa0330091e9eb076d3f231b57a (diff) | |
download | colonial-twilight-52e7a831cbff3ac1b9940e7f8a207db95f67d564.zip colonial-twilight-52e7a831cbff3ac1b9940e7f8a207db95f67d564.tar.gz |
fln_cubes -> guerrillas and fix #max_placable_flns
Diffstat (limited to 'lib/colonial_twilight/fln_rules.rb')
-rw-r--r-- | lib/colonial_twilight/fln_rules.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/colonial_twilight/fln_rules.rb b/lib/colonial_twilight/fln_rules.rb index f260dea..49a591e 100644 --- a/lib/colonial_twilight/fln_rules.rb +++ b/lib/colonial_twilight/fln_rules.rb @@ -20,15 +20,15 @@ module ColonialTwilight board.search(&method(:may_agitate_in?)) end - def max_placable_flns(space) - space.fln_bases.positive? ? space.fln_bases + space.pop - space.fln_cubes : 1 + def max_placable_guerrillas(space) + space.fln_bases.positive? ? space.fln_bases + space.pop : 1 end # March 3.3.2 # Attack 3.3.3 def may_attack_in?(space) - space.fln_cubes.positive? && space.gov.positive? + space.guerrillas.positive? && space.gov.positive? end def attack_spaces(board) |