Minor genetic instability refactor & minor genetics rebalance

This commit is contained in:
TheDZD
2016-08-18 15:01:19 -04:00
parent 1cf45c60ec
commit fda0953f03
3 changed files with 15 additions and 11 deletions
+10 -10
View File
@@ -176,22 +176,22 @@
if(gene.is_active(src))
speech_problem_flag = 1
gene.OnMobLife(src)
if(gene_stability < 85)
if(gene_stability < GENETIC_DAMAGE_STAGE_1)
var/instability = DEFAULT_GENE_STABILITY - gene_stability
if(prob(instability / 10))
adjustFireLoss(min(6, instability / 12))
if(prob(instability * 0.1))
adjustFireLoss(min(5, instability * 0.67))
to_chat(src, "<span class='danger'>You feel like your skin is burning and bubbling off!</span>")
if(gene_stability < 70)
if(prob(instability / 12))
adjustCloneLoss(min(5, instability / 15))
if(gene_stability < GENETIC_DAMAGE_STAGE_2)
if(prob(instability * 0.83))
adjustCloneLoss(min(4, instability * 0.05))
to_chat(src, "<span class='danger'>You feel as if your body is warping.</span>")
if(prob(instability / 10))
adjustToxLoss(min(6, instability / 12))
if(prob(instability * 0.1))
adjustToxLoss(min(5, instability * 0.67))
to_chat(src, "<span class='danger'>You feel weak and nauseous.</span>")
if(gene_stability < 40 && prob(1))
if(gene_stability < GENETIC_DAMAGE_STAGE_3 && prob(1))
to_chat(src, "<span class='biggerdanger'>You feel incredibly sick... Something isn't right!</span>")
spawn(300)
if(gene_stability < 40)
if(gene_stability < GENETIC_DAMAGE_STAGE_3)
gib()
if(!(species.flags & RADIMMUNE))