Skip to content
Snippets Groups Projects
Commit 0c9b14dc authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'SFReportFix' into 'pregmod-master'

Fixed Rep and prosperity loss and Authority gain

See merge request pregmodfan/fc-pregmod!2819
parents be34e6f1 536e826b
No related branches found
No related tags found
No related merge requests found
......@@ -17,9 +17,9 @@
<<else>> <<set $SFUC = Math.ceil($SFUnit.Troops*.25),$SFUnit.Troops-$SFUC>> <</if>>
<</if>>
<<if $SFUnit.Troops > 200>> <<set _Trade += 0.05*(Math.ceil($SFUnit.Troops/100))>>
<<set _troopMultiplier = $SFUnit.Troops/100, _SFupkeep += $SFUnit.Troops*25>>
<<set _troopMultiplier = $SFUnit.Troops/200, _SFupkeep += $SFUnit.Troops*25>>
<<if $secExp > 0>>
<<set $authority += 500*(Math.ceil($SFUnit.Troops/100)),$authority = Math.clamp($authority, 0, 20000)>>
<<set $authority += 25*(Math.ceil($SFUnit.Troops/200)),$authority = Math.clamp($authority, 0, 20000)>>
<</if>>
<</if>>
......@@ -103,9 +103,7 @@
<<elseif $SF.Regs == "strict">> <<set _actionMultiplier *= 1.1,_SFD -= 0.05,_Trade += _Trade*1.05>> <</if>>
<<set _depravityMultiplier = 1+_SFD>>
<<if _SFD != 0>>
<<if _SFD < 0>> <<set _ef0 = _SFD*10>>
<<elseif _SFD > 0>> <<set _ef0 = 1-(_SFD/10)>> <</if>>
<<set _Trade += _Trade*(_ef0)>> <</if>>
<<set _Trade *= 1+_SFD/2>><</if>>
<<if $SF.Target == "recruit">> <<set _FNGs += Math.ceil((_FNGs)*.95)>>
<<else>> <<set _FNGs += Math.ceil((_FNGs)*.25)>> <</if>>
......
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