runtime error: Cannot modify null.Frozen.
proc name: DeathCheck (/mob/proc/DeathCheck)
usr: Forerunnerz (/mob/create_character)
src: Forerunnerz (/mob/create_character)
call stack:
Forerunnerz (/mob/create_character): DeathCheck(null)
Forerunnerz (/mob/create_character): Punch()
Problem description: The following only happens to NPC's: When NPC's get deleted the "DeathCheck()" still checks if the enemy is frozen and sometimes if the enemy is dead or alive. How would I set it so if the enemy is dead before the proc, the proc doesn't activate. I tried "if(M)" but it also came with a null runtime error. Is it even possible to fix this?
Should actually work.
Please post the relevant code so we can see if it is being applied correctly?