diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2023-11-02 18:27:09 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2023-11-02 18:27:09 +0100 |
commit | 6b60dab5bf2c3b195b70596727e4023693b85cb7 (patch) | |
tree | 85e779ebc33e4ca512cfbb791ee7bf98c70c1f1a /lib/colonial_twilight | |
parent | e42ecf6768f1b1a39c2357334b4ae2cd49f29b35 (diff) | |
download | colonial-twilight-6b60dab5bf2c3b195b70596727e4023693b85cb7.zip colonial-twilight-6b60dab5bf2c3b195b70596727e4023693b85cb7.tar.gz |
FLNBotRules place_guerrillas -> place_guerrillas_priority
Diffstat (limited to 'lib/colonial_twilight')
-rw-r--r-- | lib/colonial_twilight/fln_bot_rules.rb | 4 |
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 450de2d..4fc6347 100644 --- a/lib/colonial_twilight/fln_bot_rules.rb +++ b/lib/colonial_twilight/fln_bot_rules.rb @@ -187,8 +187,8 @@ module ColonialTwilight # 2) place: underground first unless from map then place active first flipped as underground # 3) march: underground -> active, unless march would activate then move active first - # applied as last filter in FLNBot#_place_fln - def place_guerrillas(spaces) + # applied as last filter in FLNBot#_priority + def place_guerrillas_priority(spaces) # 4) support -> with friendly pieces -> random f = _filter(spaces, &:support?) _filter(f) { |s| s.guerrillas.positive? } |