mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-28 21:58:54 +07:00
Make Guided Missile Free (and Maintenance overhaul) (#5698)
* Add new UniqueType.NoMaintenance to support Guided Missile * revert gradle Add UnitMaintenanceDiscount Rename UnitMaintenanceDiscount->UnitMaintenanceDiscountGlobal Rework maintenance equation to account for overlapping reductions Add maintenance variable to MapUnit * Add square brackets in string (apparently didn't check in?) More robust uniques check code so not assuming only one matching unique Use toPercent() * Proper toPercent() math Co-authored-by: temurakami <spellman23@gmail.com>
This commit is contained in:
@ -1474,6 +1474,7 @@
|
||||
"range": 8,
|
||||
"cost": 150,
|
||||
"requiredTech": "Advanced Ballistics",
|
||||
"uniques": ["[-100]% maintenance costs"],
|
||||
"attackSound": "missile"
|
||||
},
|
||||
{
|
||||
|
@ -1147,6 +1147,7 @@
|
||||
"range": 8,
|
||||
"cost": 150,
|
||||
"requiredTech": "Satellites",
|
||||
"uniques": ["[-100]% maintenance costs"],
|
||||
"attackSound": "missile"
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user