From a8ed954f3b2cd53fb32d4d33d73fc956b00cc565 Mon Sep 17 00:00:00 2001 From: deathride58 Date: Tue, 20 Nov 2018 10:06:08 -0500 Subject: [PATCH] fixes the calc for stamina buffer usage --- modular_citadel/code/_onclick/hud/stamina.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modular_citadel/code/_onclick/hud/stamina.dm b/modular_citadel/code/_onclick/hud/stamina.dm index 80fea98777..a69e5aad13 100644 --- a/modular_citadel/code/_onclick/hud/stamina.dm +++ b/modular_citadel/code/_onclick/hud/stamina.dm @@ -11,7 +11,7 @@ /obj/screen/staminas/Click(location,control,params) if(isliving(usr)) var/mob/living/L = usr - to_chat(L, "You have [L.getStaminaLoss] stamina loss.
Your stamina buffer can take [stambuffer] stamina loss, and will use 50% of that stamina loss when recharging.
Your stamina buffer is [bufferedstam*(100/stambuffer)]% full.
") + to_chat(L, "You have [L.getStaminaLoss] stamina loss.
Your stamina buffer can take [stambuffer] stamina loss, and will use 50% of that stamina loss when recharging.
Your stamina buffer is [(100/stambuffer)-(bufferedstam*(100/stambuffer))]% full.
") /mob/living/carbon/human/proc/staminahudamount() if(stat == DEAD || recoveringstam)