Skip to content
Snippets Groups Projects
Commit 804600e2 authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'pregmod-master' into 'pregmod-master'

Fix for misstatement of average mercenary loyalty

See merge request pregmodfan/fc-pregmod!4955
parents ec13a12b 0d758142
No related branches found
No related tags found
No related merge requests found
...@@ -604,11 +604,11 @@ Due to the deterioration of the old world countries, organized crime focuses mor ...@@ -604,11 +604,11 @@ Due to the deterioration of the old world countries, organized crime focuses mor
<<set $militiaUnits[_i].training += random(2,4) * 1.5 * $secBarracksUpgrades.training>> <<set $militiaUnits[_i].training += random(2,4) * 1.5 * $secBarracksUpgrades.training>>
<</if>> <</if>>
<</for>> <</for>>
<<set _meL = $mercUnits.length>> <<set _meL = $mercUnits.length, _loyaltyTotal = 0>>
<<for _i = 0; _i < _meL; _i++>> <<for _i = 0; _i < _meL; _i++>>
<br> <br>
<br>$mercUnits[_i].platoonName: <br>$mercUnits[_i].platoonName:
<<set _loyaltyChange = 0, _loyaltyTotal = 0>> <<set _loyaltyChange = 0>>
<<if $secBarracksUpgrades.loyaltyMod >= 1>> <<if $secBarracksUpgrades.loyaltyMod >= 1>>
<<set _loyaltyChange += 2 * $secBarracksUpgrades.loyaltyMod>> <<set _loyaltyChange += 2 * $secBarracksUpgrades.loyaltyMod>>
is periodically sent to the indoctrination facility in the barracks for thought correction therapy. is periodically sent to the indoctrination facility in the barracks for thought correction therapy.
......
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