forked from wesnoth/wesnoth
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1.17] Fix FORCE_CHANCE_TO_HIT macro
FORCE_CHANCE_TO_HIT macro use overwrite_specials for overwrite chance_to_hit specials or abilities, but if abilities used like special own this attribute, it can't be overwrited. The use of filter_abilities in [effect]remove_ability authorize to remove all chance_to_hit ability using this attribute in fighter and potential leader.
- Loading branch information
1 parent
af74b8f
commit 90b3827
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters