diff --git a/code/modules/unit_tests/combat_stamina.dm b/code/modules/unit_tests/combat_stamina.dm index fa0b6b4219b..d82e2624dc5 100644 --- a/code/modules/unit_tests/combat_stamina.dm +++ b/code/modules/unit_tests/combat_stamina.dm @@ -5,7 +5,7 @@ /datum/unit_test/stamcrit/Run() var/mob/living/carbon/human/consistent/tider = allocate(__IMPLIED_TYPE__) tider.stamina_regen_time = 0.2 SECONDS - tider.adjustStaminaLoss(99) + tider.adjustStaminaLoss(tider.maxHealth-1) // NOVA EDIT CHANGE - ORIGINAL: tider.adjustStaminaLoss(99) TEST_ASSERT(!tider.has_status_effect(/datum/status_effect/incapacitating/stamcrit), "Stamcrit should not be applied at 99 stamina damage") tider.adjustStaminaLoss(1) TEST_ASSERT(tider.has_status_effect(/datum/status_effect/incapacitating/stamcrit), "Stamcrit should be applied at 100 stamina damage")