Know I am missing something easy here, trying to determine if a target is undead. Using the subroutine below. Any NPC creature returns that it is an undead. Any help is greatly appreciated.
--:UndeadCheck|
--&Type|undead
--&Compare|[*T:npc_type]
--? “[&Compare]”
-inc “[&Type]”|[
--=Undead|1
--<|
--]|[
--=Undead|0
--<| --]|