Fixes and changes

This commit is contained in:
TheDZD
2016-07-06 21:49:26 -04:00
parent 551b2aefbd
commit 2df88fcdb5
9 changed files with 48 additions and 23 deletions
+12 -11
View File
@@ -176,21 +176,22 @@
if(gene.is_active(src))
speech_problem_flag = 1
gene.OnMobLife(src)
if(gene_stability < 85)
if(prob(5))
adjustFireLoss(2)
if(gene_stability < 85)
var/instability = DEFAULT_GENE_STABILITY - gene_stability
if(prob(instability / 10))
adjustFireLoss(min(6, instability / 12))
to_chat(src, "<span class='danger'>You feel like your skin is burning and bubbling off!</span>")
if(gene_stability < 70)
if(prob(3))
adjustCloneLoss(2)
if(prob(instability / 12))
adjustCloneLoss(min(5, instability / 15))
to_chat(src, "<span class='danger'>You feel as if your body is warping.</span>")
if(prob(5))
adjustToxLoss(3)
if(prob(instability / 10))
adjustToxLoss(min(6, instability / 12))
to_chat(src, "<span class='danger'>You feel weak and nauseous.</span>")
if(gene_stability < 40 && getCloneLoss() > 50 && prob(5))
to_chat(src, "<span class='userdanger'>You feel incredibly sick... Something isn't right!</span>")
spawn(180)
if(getCloneLoss() > 10)
if(gene_stability < 40 && prob(1))
to_chat(src, "<span class='biggerdanger'>You feel incredibly sick... Something isn't right!</span>")
spawn(300)
if(gene_stability < 40)
gib()
if(!(species.flags & RADIMMUNE))