Moved undead check to basecreature