[Commits] [wesnoth/wesnoth] 3c9842: AI: check whether attack is disabled for units wit...
GitHub
noreply at github.com
Mon Sep 12 14:48:34 UTC 2016
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 3c98423547f47564cb35f7030bd447b3fa17b8d2
https://github.com/wesnoth/wesnoth/commit/3c98423547f47564cb35f7030bd447b3fa17b8d2
Author: mattsc <mattsc000 at gmail.com>
Date: 2016-09-12 (Mon, 12 Sep 2016)
Changed paths:
M src/actions/attack.cpp
Log Message:
-----------
AI: check whether attack is disabled for units with one attack
The added conditional only checks whether the [disable] tag is present.
If so, weapon 0 is not automatically assigned. It is then checked in
the following whether the tag is active.
This fixes bug 22179.
Commit: cc986bbc50a8e9f2c26981a29d56becb2a933a03
https://github.com/wesnoth/wesnoth/commit/cc986bbc50a8e9f2c26981a29d56becb2a933a03
Author: mattsc <mattsc000 at gmail.com>
Date: 2016-09-12 (Mon, 12 Sep 2016)
Changed paths:
M src/actions/attack.cpp
Log Message:
-----------
AI: ensure multiple weapons are always checked for [disable] special
If the defender has multiple weapons at the range of the attacker
weapon, choose_defender_weapon calculates the combat outcome and
attacker_combatant_ is set. We still need to check the attack weapon
for the [disable] special in this case.
Commit: 862fd5f93b24542855816a67779c38896a4a5233
https://github.com/wesnoth/wesnoth/commit/862fd5f93b24542855816a67779c38896a4a5233
Author: mattsc <mattsc000 at gmail.com>
Date: 2016-09-12 (Mon, 12 Sep 2016)
Changed paths:
M RELEASE_NOTES
M changelog
Log Message:
-----------
Update changelog and release notes
Compare: https://github.com/wesnoth/wesnoth/compare/860e6a13d543...862fd5f93b24
More information about the Commits
mailing list