-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Force calculations getting massively screwed up in Wakanda mod #12001
Comments
Seems like an overarching problem, not limited to era conditionals: Unciv/core/src/com/unciv/models/ruleset/unit/BaseUnit.kt Lines 488 to 504 in 0f2a697
... Any conditional not special-cased in that if (bad - should be when ) decision tree is ignored and the Strength bonus evaluated as if unconditional, thus multiplying like rabbits.Simplest would be testing unique.conditionals.isEmpty and only applying full bonus in that case, dropping the else (so zero bonus if no known conditional recognized). Better would be to think of a system to force conditionals that can apply to Strength to define a power calculation weight. |
Actually, adding a new metamodifier |
Is there an existing issue for this?
Game Version
4.12.12-patch2
Describe the bug
Something about the Black Panther unit in my Wakanda for Unciv mod is messing up the force calculator. The unit itself has a base strength of 20, but it scales with era (maximum strength bonus is 400% during the Future era). Building this unit causes the force calculator to give the civilization a strength of over 800,000. The unit is not actually that overwhelmingly strong.
Steps to Reproduce
Screenshots
Link to save file
https://github.com/SpacedOutChicken/Wakanda-for-Unciv
Operating System
Windows
Additional Information
No response
The text was updated successfully, but these errors were encountered: