summaryrefslogtreecommitdiffstats
path: root/lib/colonial_twilight
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2023-10-30 10:55:18 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2023-10-30 10:55:18 +0100
commitb336226f0ab09407ac2048d00b92f8f824dbdc5c (patch)
treebd210da862fcb8893b85387e688dc51a6bc0d370 /lib/colonial_twilight
parent38f37a646f25dc3ce81e540419fe63f215c43068 (diff)
downloadcolonial-twilight-b336226f0ab09407ac2048d00b92f8f824dbdc5c.zip
colonial-twilight-b336226f0ab09407ac2048d00b92f8f824dbdc5c.tar.gz
FLNRulse : add #max_agitate_cost(space)
Diffstat (limited to 'lib/colonial_twilight')
-rw-r--r--lib/colonial_twilight/fln_rules.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/colonial_twilight/fln_rules.rb b/lib/colonial_twilight/fln_rules.rb
index 2c5c00b..a472844 100644
--- a/lib/colonial_twilight/fln_rules.rb
+++ b/lib/colonial_twilight/fln_rules.rb
@@ -24,6 +24,10 @@ module ColonialTwilight
space.fln_bases.positive? ? space.fln_bases + space.pop : 1
end
+ def max_agitate_cost(space)
+ space.terror + (space.oppose? ? 0 : 1)
+ end
+
# March 3.3.2
# Attack 3.3.3