From db5392ac94f80a01d197a968e16778a05a3df52d Mon Sep 17 00:00:00 2001 From: PhantornRU Date: Sat, 20 Jan 2024 21:55:23 +1000 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B4=D1=81=D1=87=D0=B5=D1=82=20?= =?UTF-8?q?=D0=BC=D0=B5=D1=85=D0=B0=D0=BD=D0=B8=D1=87=D0=B5=D1=81=D0=BA?= =?UTF-8?q?=D0=B8=D1=85=20=D0=BE=D1=80=D0=B3=D0=B0=D0=BD=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modular_ss220/ranks/code/exercise/pushup.dm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modular_ss220/ranks/code/exercise/pushup.dm b/modular_ss220/ranks/code/exercise/pushup.dm index 00ca208673a0..ac206a64d374 100644 --- a/modular_ss220/ranks/code/exercise/pushup.dm +++ b/modular_ss220/ranks/code/exercise/pushup.dm @@ -199,11 +199,9 @@ Verbs related to getting fucking jacked, bro valueloss -= 2 if(one_arm) valueloss += 4 - if(valueloss <= 0) - valueloss = 1 if(!ishuman(user)) - return valueloss + return max(1, valueloss) var/mob/living/carbon/human/H = user @@ -240,7 +238,8 @@ Verbs related to getting fucking jacked, bro BODY_ZONE_R_LEG, ) for(var/zone in extremities) - if(H.get_limb_by_name(zone).is_robotic()) + var/obj/item/organ/limb = H.get_limb_by_name(zone) + if(limb.is_robotic()) valueloss -= 1 switch(exp_sum) @@ -261,6 +260,9 @@ Verbs related to getting fucking jacked, bro else valueloss -= 5 + if(valueloss <= 0) + valueloss = 1 + if(on_knees) valueloss /= 1.5 if(one_arm)