Fixed n2o knocking out players for longer than expected. (#51872)

This commit is contained in:
ATH1909
2020-06-28 10:15:40 -04:00
committed by GitHub
parent 2085e04e4e
commit c3a97d03a4
+1 -1
View File
@@ -242,7 +242,7 @@
if(SA_pp > SA_para_min) // Enough to make us stunned for a bit
H.Unconscious(60) // 60 gives them one second to wake up and run away a bit!
if(SA_pp > SA_sleep_min) // Enough to make us sleep as well
H.Sleeping(max(H.AmountSleeping() + 40, 200))
H.Sleeping(min(H.AmountSleeping() + 100, 200))
else if(SA_pp > 0.01) // There is sleeping gas in their lungs, but only a little, so give them a bit of a warning
if(prob(20))
H.emote(pick("giggle", "laugh"))