Skip to content
Snippets Groups Projects
Commit 2b25b67f authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'fix-mercenary-upgrade' into 'pregmod-master'

Fix syntax error in cashX() invocation when upgrading mercenaries

See merge request !3367
parents 9eb22ec2 bd410d5d
No related branches found
No related tags found
1 merge request!3367Fix syntax error in cashX() invocation when upgrading mercenaries
...@@ -397,7 +397,7 @@ ...@@ -397,7 +397,7 @@
<br> <br>
<<link "Improve weaponry and equipment" "seeUnit">> <<link "Improve weaponry and equipment" "seeUnit">>
<<set $mercUnits[$targetIndex].equip += 1>> <<set $mercUnits[$targetIndex].equip += 1>>
<<run cashX(forceNeg($equipUpgradeCost * $mercUnits[$targetIndex].maxTroops) + 1000), "securityExpansion")>> <<run cashX(forceNeg(($equipUpgradeCost * $mercUnits[$targetIndex].maxTroops) + 1000), "securityExpansion")>>
<</link>> <</link>>
Invest in better equipment for your soldiers to increase their battle effectiveness. 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.// <br>//Costs <<print cashFormat(($equipUpgradeCost * $mercUnits[$targetIndex].maxTroops) + 1000)>> and will increase attack and defense value of the unit by 15% for every upgrade.//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment