Makes neural hypersensitivity affect pain.dm

Makes it so custom species with neural hypersensitivity not only enter crit faster, but get spammed with more severe pain messages too, alongside higher chance of dropping items due to pain.

Only affects brute and burn.
This commit is contained in:
Runa Dacino
2022-08-27 22:55:16 +02:00
parent 815e68b1c4
commit c061eb7ed0
+3
View File
@@ -40,6 +40,9 @@
if(dam > maxdam && (maxdam == 0 || prob(70)) )
damaged_organ = E
maxdam = dam
if(istype(src, /mob/living/carbon/human))
var/mob/living/carbon/human/H = src
maxdam *= H.species.trauma_mod
if(damaged_organ && chem_effects[CE_PAINKILLER] < maxdam)
if(maxdam > 10 && paralysis)
AdjustParalysis(-round(maxdam/10))