From dccd33cbcfcad0d5052e30fcbd968a2370b1ee9a Mon Sep 17 00:00:00 2001 From: AlmTech Date: Sun, 8 Sep 2019 20:03:31 +0200 Subject: [PATCH] Fixed minor stuff with damage effects --- gamemode/core/client/cl_hud.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gamemode/core/client/cl_hud.lua b/gamemode/core/client/cl_hud.lua index 63d2251..9a04858 100644 --- a/gamemode/core/client/cl_hud.lua +++ b/gamemode/core/client/cl_hud.lua @@ -64,8 +64,8 @@ hook.Add( "RenderScreenspaceEffects", "Quantum_HUD_RenderLowHealth", function() [ "$pp_colour_addr" ] = 0, [ "$pp_colour_addg" ] = 0, [ "$pp_colour_addb" ] = 0, - [ "$pp_colour_brightness" ] = Lerp( LocalPlayer():Health() / LocalPlayer():GetMaxHealth(), -0.5, 0 ), - [ "$pp_colour_contrast" ] = Lerp( LocalPlayer():Health() / LocalPlayer():GetMaxHealth(), 0.7, 1 ), + [ "$pp_colour_brightness" ] = Lerp( LocalPlayer():Health() / LocalPlayer():GetMaxHealth(), -0.25, 0 ), + [ "$pp_colour_contrast" ] = Lerp( LocalPlayer():Health() / LocalPlayer():GetMaxHealth(), 0.2, 1 ), [ "$pp_colour_colour" ] = Lerp( LocalPlayer():Health() / LocalPlayer():GetMaxHealth(), 0.8, 1 ), [ "$pp_colour_mulr" ] = 0, [ "$pp_colour_mulg" ] = 0,