mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Buff colour flashing effect
This commit is contained in:
parent
2391c5e6d6
commit
13d7649c4a
@ -197,7 +197,7 @@ if (isNil QGVAR(level)) then {
|
||||
} else {
|
||||
GVAR(effectPainCA) ppEffectEnable false;
|
||||
if ((ACE_player getVariable [QGVAR(pain), 0]) > 0 && {alive ACE_player}) then {
|
||||
_strength = _strength * 0.6;
|
||||
_strength = _strength * 0.9;
|
||||
GVAR(effectPainCC) ppEffectEnable true;
|
||||
GVAR(effectPainCC) ppEffectAdjust [1,1,0, [1,1,1,1], [0,0,0,0], [1,1,1,1], [1 - _strength,1 - _strength,0,0,0,0.2,2]];
|
||||
GVAR(effectPainCC) ppEffectCommit 0.01;
|
||||
|
Loading…
Reference in New Issue
Block a user