add support for CustomNPC mod

this patch kill custom NPC only when want kill npcs