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

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

_Catchchance vs _CatchTchance

See merge request pregmodfan/fc-pregmod!4185
parents f89b53ec 317367fb
No related branches found
No related tags found
No related merge requests found
......@@ -503,23 +503,23 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh
/* CYBER ECONOMIC WARFARE */
<<if $arcologies[$i].direction == $arcologies[0].CyberEconomicTarget>>
<<if $PC.hacking == -100>>
<<set _Catchtchance = 10>>
<<set _Catchchance = 10>>
<<elseif $PC.hacking <= -75>>
<<set _Catchtchance = 30>>
<<set _Catchchance = 30>>
<<elseif $PC.hacking <= -50>>
<<set _Catchtchance = 40>>
<<set _Catchchance = 40>>
<<elseif $PC.hacking <= -25>>
<<set _Catchtchance = 45>>
<<set _Catchchance = 45>>
<<elseif $PC.hacking == 0>>
<<set _Catchtchance = 50>>
<<set _Catchchance = 50>>
<<elseif $PC.hacking <= 25>>
<<set _Catchtchance = 60>>
<<set _Catchchance = 60>>
<<elseif $PC.hacking <= 50>>
<<set _Catchtchance = 70>>
<<set _Catchchance = 70>>
<<elseif $PC.hacking <= 75>>
<<set _Catchtchance = 85>>
<<set _Catchchance = 85>>
<<elseif $PC.hacking >= 100>>
<<set _Catchtchance = 100>>
<<set _Catchchance = 100>>
<</if>>
<<set _weekModifier = Math.max(1, (100-($week*2)))>>
<<set $arcologies[$i].prosperity -= $arcologies[0].CyberEconomic*2, _WarSpoils = Math.ceil(10+Math.max(((100/_weekModifier)*$arcologies[$i].prosperity*$arcologies[0].CyberEconomic),0))>>
......@@ -542,23 +542,23 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(_prosperity)>><<if $sh
<</if>>
<<elseif $arcologies[$i].direction == $arcologies[0].CyberReputationTarget>> /* REPUTATION WARFARE */
<<if $PC.hacking == -100>>
<<set _Catchtchance = 10>>
<<set _Catchchance = 10>>
<<elseif $PC.hacking <= -75>>
<<set _Catchtchance = 30>>
<<set _Catchchance = 30>>
<<elseif $PC.hacking <= -50>>
<<set _Catchtchance = 40>>
<<set _Catchchance = 40>>
<<elseif $PC.hacking <= -25>>
<<set _Catchtchance = 45>>
<<set _Catchchance = 45>>
<<elseif $PC.hacking == 0>>
<<set _Catchtchance = 50>>
<<set _Catchchance = 50>>
<<elseif $PC.hacking <= 25>>
<<set _Catchtchance = 60>>
<<set _Catchchance = 60>>
<<elseif $PC.hacking <= 50>>
<<set _Catchtchance = 70>>
<<set _Catchchance = 70>>
<<elseif $PC.hacking <= 75>>
<<set _Catchtchance = 85>>
<<set _Catchchance = 85>>
<<elseif $PC.hacking >= 100>>
<<set _Catchtchance = 100>>
<<set _Catchchance = 100>>
<</if>>
<<set $arcologies[$i].prosperity -= $arcologies[0].CyberReputation>>
<<if $arcologies[$i].rival != 1>>
......
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