Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make the help smarter -- musthave traits without filters are applied
When a unit type has "musthave" traits which always apply, by virtue of not having a filter, and they affect movement type, resistance, or jamming / vision data, the "base" unit type data is updated with these effects when displayed in the help. The only mainline example I know of where this makes a change is that the "feral" trait results in a "defense capped" column being generated by the help. But it can be tested that if core files are modified so that a musthave trait which always applies makes a change to the movement type or resistances, then this will be displayed in the help page for that unit type. It might also be handy for certain UMC which makes use of racial traits to modify stats. Note that we don't at the moment: - Update health or mp of the unit, or it's experience, according to such trait effects. - Update the unit with added / removed abilities due to such trait effects. So the help could be smarter still.
- Loading branch information
Showing
3 changed files
with
27 additions
and
2 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
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