From 21c4f5b213064e99af03c36efae207def005ffa3 Mon Sep 17 00:00:00 2001 From: kekoven1 Date: Tue, 20 Jan 2026 18:33:01 +0700 Subject: [PATCH 1/3] shadow shaman --- Content.Server/Cloning/CloningSystem.cs | 13 ++++++---- .../Nyanotrasen/metempsychoticHumanoids.yml | 24 +++++++++++++++---- 2 files changed, 27 insertions(+), 10 deletions(-) diff --git a/Content.Server/Cloning/CloningSystem.cs b/Content.Server/Cloning/CloningSystem.cs index 07b3ddfdccf..6c0252c20f0 100644 --- a/Content.Server/Cloning/CloningSystem.cs +++ b/Content.Server/Cloning/CloningSystem.cs @@ -376,12 +376,15 @@ public string GetSpawnEntity(EntityUid oldBody, CloningPodComponent component, S switch (ev.ForcedType) { case ForcedMetempsychosisType.None: - if (!ev.NeverTrulyClone - && chance > 1 - && _random.Prob(chance - 1)) + if (!ev.NeverTrulyClone) { - changeProfile = false; - return oldSpecies.Prototype; + var cloneChance = 1.0f - Math.Clamp(chance, 0, 1); + + if (_random.Prob(Math.Clamp(cloneChance, 0, 1))) + { + changeProfile = false; + return oldSpecies.Prototype; + } } chance = Math.Clamp(chance, 0, 1); diff --git a/Resources/Prototypes/Nyanotrasen/metempsychoticHumanoids.yml b/Resources/Prototypes/Nyanotrasen/metempsychoticHumanoids.yml index ea8cc1ae4c4..c1392efaa10 100644 --- a/Resources/Prototypes/Nyanotrasen/metempsychoticHumanoids.yml +++ b/Resources/Prototypes/Nyanotrasen/metempsychoticHumanoids.yml @@ -8,8 +8,22 @@ Harpy: 1 Moth: 1 Tajaran: 1 # Einstein Engines - Diona: 0.5 - Reptilian: 0.5 - SlimePerson: 0.5 - Vulpkanin: 0.5 - Plasmaman: 0.25 + #wwdp edit start + Diona: 1 # 0.5 -> 1 + Reptilian: 1 # 0.5 -> 1 + SlimePerson: 1 # 0.5 -> 1 + Vulpkanin: 1 # 0.5 -> 1 + Plasmaman: 1 # 0.25 -> 1 + Shadow: 1 + Vox: 1 + Xelthia: 1 + Dwarf: 1 + Arachne: 1 + Kobold: 1 + Skeleton: 1 + Shadowkin: 1 + Abductor: 1 + Thaven: 1 + Gingerbread: 1 + Chitinid: 1 + #wwdp edit end From 5baa64268e42099c8a8e03d989a361c6938fb604 Mon Sep 17 00:00:00 2001 From: kekoven1 Date: Tue, 20 Jan 2026 18:35:44 +0700 Subject: [PATCH 2/3] Update metempsychoticMachine.yml --- .../Entities/Structures/Machines/metempsychoticMachine.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/Resources/Prototypes/Entities/Structures/Machines/metempsychoticMachine.yml b/Resources/Prototypes/Entities/Structures/Machines/metempsychoticMachine.yml index ecb454e2e98..0a61e66e1a6 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/metempsychoticMachine.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/metempsychoticMachine.yml @@ -6,6 +6,7 @@ components: - type: CloningPod doMetempsychosis: true + HumanoidBaseChance: 0.8 biomassCostMultiplier: 0.5 - type: Machine board: MetempsychoticMachineCircuitboard From faa5c68362847397fb3506042c3c266d38b0e115 Mon Sep 17 00:00:00 2001 From: kekoven1 Date: Tue, 20 Jan 2026 18:52:51 +0700 Subject: [PATCH 3/3] Revert "Update metempsychoticMachine.yml" This reverts commit 5baa64268e42099c8a8e03d989a361c6938fb604. --- .../Entities/Structures/Machines/metempsychoticMachine.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/Resources/Prototypes/Entities/Structures/Machines/metempsychoticMachine.yml b/Resources/Prototypes/Entities/Structures/Machines/metempsychoticMachine.yml index 0a61e66e1a6..ecb454e2e98 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/metempsychoticMachine.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/metempsychoticMachine.yml @@ -6,7 +6,6 @@ components: - type: CloningPod doMetempsychosis: true - HumanoidBaseChance: 0.8 biomassCostMultiplier: 0.5 - type: Machine board: MetempsychoticMachineCircuitboard