Skip to content
Carmina16 edited this page May 3, 2018 · 27 revisions

Monsters

The monster races are 1-based. The lists below are indexed by race - 1. There are 24 different monster types.

  • Names: szlist @
  • Level: byte array @42096 (zero-based, as with the player)
  • Hit points: 48-entry WORD array @420DE (min, max format)
  • Base experience: DWORD array @4213E.
  • Experience multiplier: byte array @4219E
  • Sound: byte array @4201E. An index into the VOC szlist @437CD
  • Damage: 48-entry byte array @421B6 (min, max format)
  • Magical effects: WORD array @420AE (these go into the NPC's StatusFlags)
  • Scale: WORD array @42066 (in 1/256s, 0 = 100%)
  • Y offset: signed byte array @42036
  • Has no corpse: byte array @4204E
  • Disease chance: signed byte array @42212. Negative values have special meaning.

TODO: spells and regeneration

Creature experience is calculated as baseExperience + maxHP * experienceMultiplier.

  • Animation: @4222B. Monsters have a special 3-frame death animation at the index 5 (...6).
Clone this wiki locally