diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2023-11-13 10:14:49 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2023-11-13 10:14:49 +0100 |
commit | a8be09ab04e4c29e6ce032dffcde0c134cc74382 (patch) | |
tree | a1549f0ae6d92d74ba1f1ac98f22d13f3fb69dda /lib/colonial_twilight/fln_rules.rb | |
parent | 5500a1add4c167d018665d3d1e5f69652f91b0db (diff) | |
download | colonial-twilight-a8be09ab04e4c29e6ce032dffcde0c134cc74382.zip colonial-twilight-a8be09ab04e4c29e6ce032dffcde0c134cc74382.tar.gz |
FLNBotRules : add attack && ambush && specs
Diffstat (limited to 'lib/colonial_twilight/fln_rules.rb')
-rw-r--r-- | lib/colonial_twilight/fln_rules.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/colonial_twilight/fln_rules.rb b/lib/colonial_twilight/fln_rules.rb index 9e3bddd..f8e6c40 100644 --- a/lib/colonial_twilight/fln_rules.rb +++ b/lib/colonial_twilight/fln_rules.rb @@ -68,7 +68,7 @@ module ColonialTwilight # Ambush 4.3.3 def may_ambush_in?(space) - may_attack_in?(space) + may_attack_in?(space) && space.fln_underground.positive? end def ambush_spaces(board) |