From 4a76033e4827fa8e02cfc98dbfa5e06d68aaa643 Mon Sep 17 00:00:00 2001 From: Oisin100 Date: Wed, 12 Aug 2015 20:07:58 +0200 Subject: [PATCH] Bugfix And Feature addition. Chameleon And Stealth Mutations Bug: Noticed this a while ago that the Chameleon And the Stealth(Cloak Of Darkness) Dont work together. As the stealth mutation will instantly change the players visibility to visible. So i have added a check to see if the player has the Chameleon mutation and if they dont THEN change their visibility to visible Feature: Due to the checks nature having both mutations will cause you to go invisible double speed in the dark --- code/datums/mutations.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/datums/mutations.dm b/code/datums/mutations.dm index b517e417d93..f9516df1068 100644 --- a/code/datums/mutations.dm +++ b/code/datums/mutations.dm @@ -364,7 +364,8 @@ if(T.lighting_lumcount <= 2) owner.alpha -= 25 else - owner.alpha = round(255 * 0.80) + if(!owner.dna.check_mutation("Chameleon")) + owner.alpha = round(255 * 0.80) /datum/mutation/human/stealth/on_losing(mob/living/carbon/human/owner) if(..())