s0600204 Jul 7 2020, 9:11 PM
- Differential Revision
- D2734: Rewrite Structure Tree and Template Viewer to use OOP principles
- rP23807: Fixes terrain index type (causing a warning) introduced in rP23639.
- Build Status
Buildable 12324 Build 23441: Post-Commit Build Jenkins Build 23440: Post-Commit Build (macOS) Jenkins
I think we might have overlooked something https://wildfiregames.com/forum/index.php?/topic/28491-archery-tradition-for-all-factions/&tab=comments#comment-400664
I looked at the code, but couldn't find where the issue lies
@s0600204, there is something wrong with the values displayed in the structure tree when launched from the pre-game main menu. It worked correctly before, therefore my guess is the problem was introduced here.
For example, palisades have 200 to 1000 health. athen, mace, spart structures have +10% health as a civ bonus, so for them it is 220 to 1100 health, but not for the others. When opened from a game session, the structure tree displays the correct values, e.g. 200 to 1000 for pers. However, when launching the structure from the pre-game main menu, it displays 220 to 1100 health for all civs, which is wrong.