mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix damage coloring
This commit is contained in:
parent
8c5da66c43
commit
66803a4b4d
@ -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);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -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);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user