Fix damage coloring

This commit is contained in:
ulteq 2016-12-07 18:53:04 +01:00
parent 8c5da66c43
commit 66803a4b4d
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ if (_show == 1) then {
private _damage = _selectionDamage select _forEachIndex;
if (_damage > 0.1) then {
_blue = 0 max (1 - _damage);
_green = _damage min 0.5;
_green = 0.5 max (1 - _damage / 2);
};
};
};

View File

@ -41,7 +41,7 @@ private _availableSelections = [50, 51, 52, 53, 54, 55];
private _damage = _selectionDamage select _forEachIndex;
if (_damage > 0.1) then {
_blue = 0 max (1 - _damage);
_green = _damage min 0.5;
_green = 0.5 max (1 - _damage / 2);
};
};
};