[wesnoth-commits] [wesnoth/wesnoth] 711417: Fix #3811 negative value in heals ability

GitHub noreply at github.com
Wed Jan 2 19:29:54 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 7114174789e850bbd7829a353e7d885791c0a664
      https://github.com/wesnoth/wesnoth/commit/7114174789e850bbd7829a353e7d885791c0a664
  Author: newfrenchy83 <31768074+newfrenchy83 at users.noreply.github.com>
  Date:   2019-01-02 (Wed, 02 Jan 2019)

  Changed paths:
    M data/scenario-test.cfg
    M data/schema/units/abilities.cfg
    M src/actions/attack.cpp
    M src/units/abilities.cpp

  Log Message:
  -----------
  Fix #3811 negative value in heals ability

When multiple negative heal abilities are present, the game now
chooses the ability with the lowest value. The leadership ability
now also uses the same get_composite_value function that is also
used by most other abilities



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Commits mailing list