Talk:Hold Monster/@comment-35012282-20180404081707/@comment-3539497-20180404151143

Unless I miss something, this spell chooses its target by EA.ids, which stores allegiances (GOODCUTOFF, NEUTRAL, ENEMY, CHARMED etc..) while Hold Undead uses GENERAL.ids, which is based on type (HUMANOID, UNDEAD etc...). HU also uses a different type of effect - Hold creature 2 (opcode 185) to bypass the Hold creature (opcode 175) immunity undead creatures usually have, but I can't be sure all undead creeatures in game are immune to opcode 175.