Eyes of god no longer sees ghosts. (#20311)

This commit is contained in:
Qwertytoforty
2023-03-04 17:13:52 -06:00
committed by GitHub
parent 0aeee5abea
commit 2805bb1d61
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -237,7 +237,7 @@
return
var/light_available = T.get_lumcount() * 10
if(light_available <= 2)
if(M.invisibility != INVISIBILITY_OBSERVER)
if(M.invisibility != INVISIBILITY_LEVEL_TWO)
M.alpha = round(M.alpha * 0.8)
else
M.reset_visibility()
@@ -259,7 +259,7 @@
/datum/mutation/stealth/chameleon/on_life(mob/living/M) //look if a ghost gets this, its an admins problem
if((world.time - M.last_movement) >= 30 && !M.stat && (M.mobility_flags & MOBILITY_STAND) && !M.restrained())
if(M.invisibility != INVISIBILITY_OBSERVER)
if(M.invisibility != INVISIBILITY_LEVEL_TWO)
M.alpha -= 25
else
M.reset_visibility()
@@ -3,7 +3,7 @@
//Don't hear deadchat and are NOT normal ghosts
//Admin-spawn or random event
#define INVISIBILITY_REVENANT 50
#define INVISIBILITY_REVENANT 45
#define REVENANT_NAME_FILE "revenant_names.json"
/mob/living/simple_animal/revenant