blob: 9756c55f9a4639053d315fc12881251177f5ad32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# frozen_string_literal: true
require_relative 'fln_action'
module ColonialTwilight
module Actions
module FLN
# Ambush 4.3.3 : max 2
class Ambush < FlnAction
def initialize(space)
super(space, {}, cost: 0)
end
# Activate only 1 Underground Guerrilla
# Remove 1 Government piece (Police first, then Troops, then Base) into casualties
# No Attrition
# -1 Commitment per French Base removed
def apply!(board)
raise NotImplementedError
end
class << self
def special?
true
end
# any space where an Attack is occurring with Underground Guerrillas.
def applicable?(space)
Attack.applicable?(space) && space.fln_underground.positive?
end
end
end
end
end
end
|