ID:142395
 
Problem description:
In my Charmed game when people revive they become invisible.. can someone help?
We are not psychic - thus we cannot see your source. We need to see your revival snippet and any other relevant code to help you.
In response to GhostAnime
mob/proc/deathcheck(mob/M as mob)//handles death
if(M.health<=0)//if is a player
M.overlays += new /obj/explosion
M.health = M.maxhealth//resets powerlevel
M<<"[src] killed you!"//tells you, you were killed.
M.Deaths += 1//resets powerlevel
src << "You killed [M]"
if(M.seenmagic==1)
src.exposed-=1
src<<"You killed someone who was exposed to magic"
M.seenmagic=0
if(M.Rajin==1)
src.Rajin_defeated = 1
src<<"You vanquished Rajin"
src.Experience += 500
if(M.Furio==1)
src.Furio_defeated = 1
src<<"You vanquished Furio"
src.Experience += 200
src.kills += 1
src.Intelligence += 2
src.Money += M.Money
M.Money = 0
M.death=1
src.maxhealth += 10
M.maxhealth -= 5
M.Strength -= 5
M.power -= 5
M.Freeze = 1
M.Freeze = 0
src.Experience += (125 * M.level)
src.Levelup()
M.exposed=0
M.inmagicschool=0
M.indemonschool=0
sleep(1)
if(M.rank=="Dark Force Cultist")
M.Experience+=1000
M.Levelup()
if(M.NPC >= 1)
M.overlays = null
M.loc = locate(/turf/NPCDeadzone)
if(M.good==1)
src.alignpoint -= 1
if(M.evil==1)
src.alignpoint += 1
M.death=0
M.Money += 50
if(M.Source==1)
world<<"<FONT COLOR=red>War information</FONT>: The Source has been vanquished by [src.name] [src.lastname]"
src.Experience += 5000
src.Levelup()
return
if(M.race=="Kittie")
world<<"<FONT COLOR=red>War information</FONT>: [src.name] [src.lastname] has killed Kittie!"
if(M.good == 1)
src.alignpoint -= 3
M.loc = locate(/turf/Area/GoodDeath)
M.overlays = null
M.icon = 'Goodwitchs.dmi'
M.icon_state = "death-good"
src.Experience += 10
return
else
if(M.evil==1)
src.alignpoint += 3
M.loc = locate(/turf/Area/EvilDeath)
M.icon = 'Goodwitchs.dmi'
M.icon_state = "death-evil"
src.Experience += 10
M.overlays = null
src.AlignmentChecker()
I would guess that you made a mistake setting their icon_state somewhere.