Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
and allows L2 recruits if the dwarves are under attack in late game. [ci skip]
- Loading branch information
Showing
1 changed file
with
23 additions
and
3 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
f4f6f5b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If
upkeep=loyal
doesn't work, that's probably a bug; but why nottrait=loyal
instead of using[filter_wml]
?f4f6f5b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, that's a better filter.
upkeep itself does not work because it's not a SUF.
f4f6f5b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although, the units are created with the {NO_UPKEEP} macro and don't get the loyal trait.
https://github.com/wesnoth/wesnoth/blob/1.14/data/core/macros/unit-utils.cfg#L175
f4f6f5b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, oh well. (But it clearly is a SUF?)
f4f6f5b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not listed here: https://wiki.wesnoth.org/StandardUnitFilter (Yes, I thought first it would work too) Basically one can filter everything which :inspect shows if using [filter_wml] inside.
f4f6f5b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I guess no-one thought of adding support for it, that's all. We should add it on 1.15 then.
f4f6f5b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#3333