File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -748,8 +748,8 @@ else -- UNSYNCED
748
748
totalEnemyDimmingCount = totalEnemyDimmingCount + count
749
749
end
750
750
end
751
- brightnessVariation = (0.7 - ((1.1 / numEnemies ) * totalEnemyDimmingCount )) * 255
752
- maxColorVariation = math.floor ( 11 + ( 90 / ( allyTeamCount )))
751
+ brightnessVariation = (0.7 - ((1.2 / numEnemies ) * totalEnemyDimmingCount )) * 255
752
+ maxColorVariation = 100
753
753
end
754
754
local color = hex2RGB (ffaColors [allyTeamID + 1 ] or ' #333333' )
755
755
if teamID == gaiaTeamID then
@@ -779,8 +779,8 @@ else -- UNSYNCED
779
779
elseif
780
780
not teamColors [allyTeamCount ] or not teamColors [allyTeamCount ][1 ][# Spring .GetTeamList (allyTeamCount - 1 )] -- or #Spring.GetTeamList() > 30
781
781
then
782
- local brightnessVariation = (0.7 - ((1.1 / # Spring .GetTeamList (allyTeamID )) * dimmingCount [allyTeamID ])) * 255
783
- local maxColorVariation = math.floor ( 11 + ( 90 / (allyTeamCount ) ))
782
+ local brightnessVariation = (0.7 - ((1.05 / # Spring .GetTeamList (allyTeamID )) * dimmingCount [allyTeamID ])) * 255
783
+ local maxColorVariation = ( 120 / (allyTeamCount - 1 ))
784
784
local color = hex2RGB (ffaColors [allyTeamID + 1 ] or ' #333333' )
785
785
if teamID == gaiaTeamID then
786
786
brightnessVariation = 0
You can’t perform that action at this time.
0 commit comments