Skip to content
Snippets Groups Projects
Commit 6ffa70b3 authored by x's avatar x
Browse files

Tweaking VIII

parent 95b1a4ed
No related branches found
No related tags found
1 merge request!2508SF overhual sec exp
......@@ -104,13 +104,13 @@
<<if $SFUnit.GunS >= 1>>
<<set _defMod += $SFUnit.GunS * 0.05>>
<</if>>
<<if $SFUnit.Satellite >= 5>>
<<if $SFUnit.Satellite >= 5 && $SatLaunched > 0>>
<<set _atkMod += ($SFUnit.Satellite - 5) * 0.05>>
<</if>>
<<if $SFUnit.GiantRobot >= 6>>
<<set _defMod += ($SFUnit.GiantRobot - 5) * 0.05>>
<</if>>
<<if $SFUnit.MissileSilo >= 1>>
<<if $SFUnit.MissileSilo >= 1 && $SatLaunched > 0>>
<<set _atkMod += $SFUnit.MissileSilo * 0.05>>
<<set _defMod += $SFUnit.MissileSilo * 0.05>>
<</if>>
......
......@@ -1429,7 +1429,7 @@
<<if $SFUnit.GunS >= 1>>
The gunship gave our troops an undeniable advantage in recon capabilities, air superiority and fire support.
<</if>>
<<if $SFUnit.Satellite >= 5>>
<<if $SFUnit.Satellite >= 5 && $SatLaunched > 0>>
The $SF.Lower satellite's devastating power was employed with great efficiency against the enemy.
<</if>>
<<if $SFUnit.GiantRobot >= 6>>
......
......@@ -3,7 +3,7 @@
<<widget "calcSFStatistics">>
<<if $slaveRebellion != 1 || $citizenRebellion != 1>>
/* atk, def */
<<set _upgradesSum = $SFUnit.Armoury + $SFUnit.Drugs + $SFUnit.AirForce + $SFUnit.Vehicles>>
<<set _upgradesSum = $SFUnit.Armoury + $SFUnit.Drugs + ($SFUnit.AA+$SFUnit.TA < 1) + ($SFUnit.AV+$SFUnit.TV)>>
<<if !isInt(_upgradesSum)>>
<<set _upgradesSum = random(10,15)>>
<</if>>
......@@ -22,7 +22,7 @@
<</if>>
<<else>>
/* atk, def */
<<set _upgradesSum = $SFUnit.Armoury + $SFUnit.Drugs + $SFUnit.AirForce + $SFUnit.Vehicles>>
<<set _upgradesSum = $SFUnit.Armoury + $SFUnit.Drugs + ($SFUnit.AA+$SFUnit.TA < 1) + ($SFUnit.AV+$SFUnit.TV)>>
<<if !isInt(_upgradesSum)>>
<<set _upgradesSum = random(10,15)>>
<</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