[wesnoth-commits] [wesnoth/wesnoth] 20eb00: Unit tests for [effect]apply_to=movement and [effe...

Steve Cotton noreply at github.com
Sun Mar 28 15:40:21 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 20eb001be3344b65e9c594b55a1b481cff0ddaf3
      https://github.com/wesnoth/wesnoth/commit/20eb001be3344b65e9c594b55a1b481cff0ddaf3
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2021-03-28 (Sun, 28 Mar 2021)

  Changed paths:
    A data/test/scenarios/test_effect_on_vision.cfg
    M wml_test_schedule

  Log Message:
  -----------
  Unit tests for [effect]apply_to=movement and [effect]apply_to=vision

These would also pass on 1.14, checking that movement does affect vision if and
only if vision hasn't been modified separately. The comments talk about an
[effect]also_apply_to_vision= attribute which hasn't been added yet, the aim of these
tests is to regression test that attribute when it is added.


  Commit: 884fa9ca6f84f9e1b899a48ff4b1a3bc9a16f4f2
      https://github.com/wesnoth/wesnoth/commit/884fa9ca6f84f9e1b899a48ff4b1a3bc9a16f4f2
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2021-03-28 (Sun, 28 Mar 2021)

  Changed paths:
    M changelog.md
    M data/test/scenarios/test_effect_on_vision.cfg
    M src/units/unit.cpp

  Log Message:
  -----------
  Fix units that should have zero max mp being given one mp

Corrects a cut & paste typo in 66a282a96be288a284d12a71625868cee5b2dc6b.


Compare: https://github.com/wesnoth/wesnoth/compare/6e7f4abaec79...884fa9ca6f84



More information about the Commits mailing list