wesnoth/data/test/units
Steve Cotton aaf2735c1c Add [test_do_attack_by_id], a wrapper for [do_command][attack]
The new tag takes ids instead of needing coordinates. So instead of storing
units or hardcoding values, an attack can be done like this:

```
[test_do_attack_by_id]
	attacker=alice
	defender=bob
	weapon=0
[/test_do_attack_by_id]
```

Add a simpler unit for unit tests than the Elvish Archer / Orcish Grunt
combo, cherry-picked from gfgtdf's PR #7589. This is a unit with a 10x1
melee attack, and 0% defense on all terrains.

Remove the test race's undead_variation=
For testing custom plague abilities, this triggered a warning when
converting to any unit type that doesn't have variation_id=wolf,
restricting tests to using only Walking Corpse and Soulless.
2023-07-02 18:54:17 +02:00
..
test_melee_quintain.cfg Add [test_do_attack_by_id], a wrapper for [do_command][attack] 2023-07-02 18:54:17 +02:00
test_unit_exclude.cfg Reindent unit tests and unit test macros 2023-01-20 02:28:54 +01:00
test_unit_require.cfg Reindent unit tests and unit test macros 2023-01-20 02:28:54 +01:00