wesnoth/data/test
gfgtdf 851c909cd3
Fix #8460 [effect] apply_to=variation (#8475)
* Fix #8460 [effect] apply_to=variation

Previously the code could apply the variation effects
last, so that codes like
```
[effect]
  apply_to=variation
  ..
[/effect]
[effect]
  apply_to=hitpoints
  heal_full=yes
[/effect]
```
Would not set the unit hitpoints to the new variations
hitpoints because the variation effect was applied after
the healing effect.

In 1.16 this worked because healing was applied a little
too often but that lead also to bugs like #8342

* f prev

* f prev

* f prev

* f prev

* f prev

* Create modification_effect_type_variation.cfg

* Update wml_test_schedule
2024-03-07 01:25:59 +01:00
..
lua Add [test_do_attack_by_id], a wrapper for [do_command][attack] 2023-07-02 18:54:17 +02:00
macros Backstab unit tests: check that backstab works in a free-for-all 2024-01-26 14:35:07 +00:00
maps Backstab unit tests: check that backstab works in a free-for-all 2024-01-26 14:35:07 +00:00
multiplayer switch from map_data to map_file in SP 2019-10-02 02:54:25 +02:00
plugin Move {join,host}.lua to a better place 2023-08-03 22:06:27 +02:00
scenarios Fix #8460 [effect] apply_to=variation (#8475) 2024-03-07 01:25:59 +01:00
test Remove unused test file and images. 2018-10-07 03:22:49 +00:00
units Add [test_do_attack_by_id], a wrapper for [do_command][attack] 2023-07-02 18:54:17 +02:00
_main.cfg add a bunch of attacks tests 2024-01-08 12:04:45 -06:00
units.cfg Add [test_do_attack_by_id], a wrapper for [do_command][attack] 2023-07-02 18:54:17 +02:00