Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Jun 17, 2018
1 parent 881bce4 commit 5b3b3eb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions data/test/scenarios/feeding.cfg
Expand Up @@ -30,6 +30,11 @@
{VARIABLE victim_x $Killer.x}
{VARIABLE_OP victim_x sub 1}
{VARIABLE victim_y $Killer.y}
{VARIABLE Killer.attacks_left 1}

[unstore_unit]
variable=Killer
[/unstore_unit]

{VARIABLE victim_side 3}
{VARIABLE_OP victim_side sub $Killer.side|}
Expand Down Expand Up @@ -66,6 +71,7 @@
{ASSERT ({VARIABLE_CONDITIONAL Killer.hitpoints equals $Killer_start_hp})}
#enddef

## TODO: the original feeding ability is implemented differently, maybe we should update this.
{GENERIC_UNIT_TEST "feeding" (
[event]
id=ability_feeding_die
Expand Down

0 comments on commit 5b3b3eb

Please sign in to comment.