Use WFL to implement backstab, to avoid needing delayed variable substitution
This commit is contained in:
parent
a4b1c14d5e
commit
bdb42b2848
1 changed files with 5 additions and 7 deletions
|
@ -352,13 +352,11 @@ Enemy units cannot see this unit while it is in deep water, except if they have
|
|||
multiply=2
|
||||
active_on=offense
|
||||
[filter_opponent]
|
||||
[filter_adjacent]
|
||||
adjacent=$other_unit.facing
|
||||
is_enemy=yes
|
||||
[not]
|
||||
status=petrified
|
||||
[/not]
|
||||
[/filter_adjacent]
|
||||
formula="
|
||||
enemy_of(self, flanker) and not flanker.petrified
|
||||
where
|
||||
flanker = unit_at(direction_from(loc, other.facing))
|
||||
"
|
||||
[/filter_opponent]
|
||||
[/damage]
|
||||
#enddef
|
||||
|
|
Loading…
Add table
Reference in a new issue