Fixup 7cbc6c9d5d
and 5bb0576e17
This commit is contained in:
parent
ebac0830cb
commit
17cbc7c03e
3 changed files with 10 additions and 12 deletions
|
@ -244,7 +244,7 @@
|
|||
delayed_variable_substitution=yes
|
||||
{VARIABLE pass_test "$($pass_test + 1)"}
|
||||
[/event]
|
||||
|
||||
|
||||
{VARIABLE pass_test 1}
|
||||
[/event]
|
||||
[event]
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# wmllint: no translatables
|
||||
|
||||
{GENERIC_UNIT_TEST "event_test_auto_variables_side_turn" (
|
||||
[event]
|
||||
|
@ -245,13 +246,8 @@
|
|||
[event]
|
||||
name=start
|
||||
# Make sure the attacks hit
|
||||
[modify_unit]
|
||||
[filter]
|
||||
[/filter]
|
||||
[attack]
|
||||
accuracy=100
|
||||
[/attack]
|
||||
[/modify_unit]
|
||||
{FORCE_CHANCE_TO_HIT (id=bob) (id=alice) 100 ()}
|
||||
{FORCE_CHANCE_TO_HIT (id=alice) (id=bob) 100 ()}
|
||||
[do_command]
|
||||
[move]
|
||||
x=7,13
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# wmllint: no translatables
|
||||
|
||||
{GENERIC_UNIT_TEST event_test_filter_condition (
|
||||
[event]
|
||||
|
@ -108,6 +109,8 @@
|
|||
x,y=7,3
|
||||
[/from]
|
||||
[/recruit]
|
||||
[/do_command]
|
||||
[do_command]
|
||||
[recruit]
|
||||
type=Woodsman
|
||||
x,y=15,8
|
||||
|
@ -148,13 +151,12 @@
|
|||
{GENERIC_UNIT_TEST event_test_filter_attack (
|
||||
[event]
|
||||
name=turn 1
|
||||
# Make sure the attacks hit
|
||||
{FORCE_CHANCE_TO_HIT (id=bob) (id=alice) 100 ()}
|
||||
{FORCE_CHANCE_TO_HIT (id=alice) (id=bob) 100 ()}
|
||||
[modify_unit]
|
||||
[filter]
|
||||
[/filter]
|
||||
# Make sure the attacks hit
|
||||
[attack]
|
||||
accuracy=100
|
||||
[/attack]
|
||||
# Make sure they don't die during the attacks
|
||||
[status]
|
||||
invulnerable=yes
|
||||
|
|
Loading…
Add table
Reference in a new issue