mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 20:37:34 +01:00
Unnerf security's non-lethals, revert pain decay changes. (#11305)
This commit is contained in:
@@ -1443,7 +1443,8 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
amount -= (owner.chem_effects[CE_PAINKILLER]/3)
|
||||
if(amount <= 0)
|
||||
return
|
||||
pain = max(0, min(max_damage, pain + amount))
|
||||
var/threshold = max_damage * 2
|
||||
pain = max(0, min(threshold, pain + amount))
|
||||
if(owner && ((amount > 15 && prob(20)) || (amount > 30 && prob(60))))
|
||||
owner.emote("scream")
|
||||
return pain-last_pain
|
||||
|
||||
Reference in New Issue
Block a user