mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 17:45:02 +01:00
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
This commit is contained in:
@@ -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(..())
|
||||
|
||||
Reference in New Issue
Block a user