From bd410d5d27fefe2356b915a061bdebeb5814a11a Mon Sep 17 00:00:00 2001 From: ezsh <ezsh.junk@gmail.com> Date: Sat, 19 Jan 2019 23:45:05 +0100 Subject: [PATCH] Fix syntax error in cashX() invocation when upgrading mercenaries --- src/SecExp/seeUnit.tw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SecExp/seeUnit.tw b/src/SecExp/seeUnit.tw index 4482a5eb0c0..fa98c10c18c 100644 --- a/src/SecExp/seeUnit.tw +++ b/src/SecExp/seeUnit.tw @@ -397,7 +397,7 @@ <br> <<link "Improve weaponry and equipment" "seeUnit">> <<set $mercUnits[$targetIndex].equip += 1>> - <<run cashX(forceNeg($equipUpgradeCost * $mercUnits[$targetIndex].maxTroops) + 1000), "securityExpansion")>> + <<run cashX(forceNeg(($equipUpgradeCost * $mercUnits[$targetIndex].maxTroops) + 1000), "securityExpansion")>> <</link>> Invest in better equipment for your soldiers to increase their battle effectiveness. <br>//Costs <<print cashFormat(($equipUpgradeCost * $mercUnits[$targetIndex].maxTroops) + 1000)>> and will increase attack and defense value of the unit by 15% for every upgrade.// -- GitLab