mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
DNA injectors cause cloneloss. (#4958)
This commit is contained in:
@@ -67,6 +67,7 @@
|
|||||||
if(istype(M,/mob/living))
|
if(istype(M,/mob/living))
|
||||||
var/mob/living/L = M
|
var/mob/living/L = M
|
||||||
L.apply_effect(rand(5,20), IRRADIATE, check_protection = 0)
|
L.apply_effect(rand(5,20), IRRADIATE, check_protection = 0)
|
||||||
|
L.apply_damage(max(2,L.getCloneLoss()), CLONE)
|
||||||
|
|
||||||
if (!(NOCLONE in M.mutations)) // prevents drained people from having their DNA changed
|
if (!(NOCLONE in M.mutations)) // prevents drained people from having their DNA changed
|
||||||
if (buf.types & DNA2_BUF_UI)
|
if (buf.types & DNA2_BUF_UI)
|
||||||
|
|||||||
Reference in New Issue
Block a user