Death Alert EMP Activation is now a Probability

Should lessen the chat spam a bit
This commit is contained in:
Sharkmare
2023-04-10 00:40:51 +02:00
committed by GitHub
parent 7c3d3a6772
commit 7a6f071af4
@@ -561,8 +561,8 @@ the implant may become unstable and either pre-maturely inject the subject or si
if (malfunction) //so I'm just going to add a meltdown chance here
return
malfunction = MALFUNCTION_TEMPORARY
activate("emp") //let's shout that this dude is dead
if(prob(40)) //CHOMPEDIT: Make the malfunction a probability because annoying
activate("emp") //let's shout that this dude is dead
if(severity == 1)
if(prob(40)) //small chance of obvious meltdown
meltdown()