Monster File Format

The *.DAT files (except BOAT.DAT) contain monster data for the corresponding *.CON sprite sheet.

Format
Each file is 364 bytes in size. It contains 13 records, with each record being 28 bytes long: type MonsterData = record name : string[15]; hp : smallint; xp : smallint; c : byte; d : byte; wpn : byte; arm : byte; maxSize : byte; h : byte; i : byte; ability : byte; end; The maxSize byte determines the maxiumum number that can spawn in a stack.

The i byte is unknown but ranges between 0x0 and 0x3 across all .DAT files.

The ability byte determines additional interactions that the monster can have:


 * 0x0: Nothing
 * 0x1: casts Magic Missile
 * 0x2: casts Fireball
 * 0x3: rusts armor
 * 0x4: debuff? used by Conqueror Worm