Sorting the "damage versus" tooltip by unit
Moderator: Forum Moderators
Sorting the "damage versus" tooltip by unit
In the sidebar, the attack type and range has a tooltip that shows the damage versus each enemy unit, taking their resistances into account.
I generally want to look up a specific enemy unit in the tooltip, so I use a patch that adds the same information, sorted alphabetically rather than by amount of damage:
Enjoy.
I generally want to look up a specific enemy unit in the tooltip, so I use a patch that adds the same information, sorted alphabetically rather than by amount of damage:
Enjoy.
- Attachments
-
- damage-tooltip.diff
- (2.25 KiB) Downloaded 242 times
- Pentarctagon
- Project Manager
- Posts: 5564
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: Sorting the "damage versus" tooltip by unit
Was there some reason to post a patch here, rather than making a pull request for it? Sorting by unit type rather than damage sounds more useful to me, honestly.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: Sorting the "damage versus" tooltip by unit
No good reason, I guess. Submitted https://github.com/wesnoth/wesnoth/pull/2341