[wesnoth-commits] [wesnoth/wesnoth] 2168f6: Add overwrite_specials attribute to allow forcing ...

newfrenchy83 noreply at github.com
Mon Dec 14 20:58:15 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 2168f629fbd1d21006f0749499286c90a04f9ceb
      https://github.com/wesnoth/wesnoth/commit/2168f629fbd1d21006f0749499286c90a04f9ceb
  Author: newfrenchy83 <31768074+newfrenchy83 at users.noreply.github.com>
  Date:   2020-12-14 (Mon, 14 Dec 2020)

  Changed paths:
    M changelog.md
    M data/core/macros/utils.cfg
    M data/schema/units/abilities.cfg
    A data/test/scenarios/test_force_chance_to_hit_macro.cfg
    M src/units/abilities.cpp
    M wml_test_schedule

  Log Message:
  -----------
  Add overwrite_specials attribute to allow forcing a lower chance to hit

The reported issue being that the FORCE_CHANCE_TO_HIT macro was able to force an increase in an attack's chance to hit, but no longer able to force a decrease.





More information about the Commits mailing list