From 935ff411a5de4ec42e1acb24c4db2083936ed6ed Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Mon, 6 Feb 2017 16:01:28 -0500 Subject: [PATCH 1/2] Adds cloneloss to DNA Injectors Makes sense, doesn't it? Messing with your genes? Each one doubles your cloneloss, starting at 2. --- code/game/objects/items/weapons/dna_injector.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/objects/items/weapons/dna_injector.dm b/code/game/objects/items/weapons/dna_injector.dm index 33b93f6210f..582a5e5a098 100644 --- a/code/game/objects/items/weapons/dna_injector.dm +++ b/code/game/objects/items/weapons/dna_injector.dm @@ -67,7 +67,8 @@ if(istype(M,/mob/living)) var/mob/living/L = M L.apply_effect(rand(5,20), IRRADIATE, check_protection = 0) - + L.apply_damage(min(2,L.getCloneLoss()), CLONE) //VOREStation Add - Enjoy. + if (!(NOCLONE in M.mutations)) // prevents drained people from having their DNA changed if (buf.types & DNA2_BUF_UI) if (!block) //isolated block? From 8f1899613325724ee91820af71893248352551b5 Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Mon, 6 Feb 2017 16:21:06 -0500 Subject: [PATCH 2/2] This should be the other way around --- code/game/objects/items/weapons/dna_injector.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/weapons/dna_injector.dm b/code/game/objects/items/weapons/dna_injector.dm index 582a5e5a098..92519a0ee24 100644 --- a/code/game/objects/items/weapons/dna_injector.dm +++ b/code/game/objects/items/weapons/dna_injector.dm @@ -67,7 +67,7 @@ if(istype(M,/mob/living)) var/mob/living/L = M L.apply_effect(rand(5,20), IRRADIATE, check_protection = 0) - L.apply_damage(min(2,L.getCloneLoss()), CLONE) //VOREStation Add - Enjoy. + L.apply_damage(max(2,L.getCloneLoss()), CLONE) //VOREStation Add - Enjoy. if (!(NOCLONE in M.mutations)) // prevents drained people from having their DNA changed if (buf.types & DNA2_BUF_UI)