Slight decloner damage nerf, Tumors are now a chance (#23102)

Reduces decloner damage so it falls just under the threshold to give a
tumor, on all but the most powerful guns.

Tumors from genetic damage are now also a chance, rather than guaranteed
at any genetic damage over 10.
You are guaranteed to have at least one tumor if your limb reaches
maximum genetic damage.
This commit is contained in:
FenodyreeAv
2026-08-22 01:23:14 +00:00
committed by GitHub
parent 144a6a943b
commit e73f49e9e7
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -1694,7 +1694,7 @@ Note that amputating the affected organ does in fact remove the infection from t
var/last_gene_dam = genetic_degradation
genetic_degradation = min(100,max(0,genetic_degradation + amount))
if(genetic_degradation > 10)
owner.infest_with_parasite(owner, BP_TUMOUR_SPREADING, src)
owner.infest_with_parasite(owner, BP_TUMOUR_SPREADING, src, (genetic_degradation + 10)) //Guarantees at least one tumour if you reach maximum degredation.
if(genetic_degradation > 20)
if(!(status & ORGAN_MUTATED) && prob(genetic_degradation))
mutate()