

NPC
Name - Duh
Type - Sprite
HitDice - Hitpoints Dice (Will get the calc later)
DR - Defense Rate
HR - Hit Ratio
MinBrvy - How aggressively it attacks
ExpDice - Explains itself
ADT - Attack die ADT d ADR + 0
ADR - Attack die
Size - How much space it takes up (cant change it)
Side - 1 Ares 2 Elv 0 Neutral 10 Enemy
ActionLmt - What actions its limited to (explained in earlier post)
ATime - Attack time delay (time between attacks)
RstM - Magic Resistance (Absorb)
Magic - What set of spells it uses (Compare to find out whats what)
DayWeek - Hell if I know
Chat - If you can talk to ie (Ie shopkeeper)
Search - Hell if I know
RegenTime - How long till corpse disappears
Attr - Ill have to look it up later
AbsM - I think this is the actual absorb magic, but not sure will look later
MaxMana - Explains itself
MagicR is the "strength" of the magic...
Attk Range - Explains itself
Magic
DEF_MAGICTYPE_DAMAGE_SPOT 1
DEF_MAGICTYPE_HPUP_SPOT 2
DEF_MAGICTYPE_DAMAGE_AREA 3
DEF_MAGICTYPE_SPDOWN_SPOT 4
DEF_MAGICTYPE_SPDOWN_AREA 5
DEF_MAGICTYPE_SPUP_SPOT 6
DEF_MAGICTYPE_SPUP_AREA 7
DEF_MAGICTYPE_TELEPORT 8
DEF_MAGICTYPE_SUMMON 9
DEF_MAGICTYPE_CREATE 10
DEF_MAGICTYPE_PROTECT 11
DEF_MAGICTYPE_HOLDOBJECT 12
DEF_MAGICTYPE_INVISIBILITY 13
DEF_MAGICTYPE_CREATE_DYNAMIC 14
DEF_MAGICTYPE_POSSESSION 15
DEF_MAGICTYPE_CONFUSE 16
DEF_MAGICTYPE_POISON 17
DEF_MAGICTYPE_BERSERK 18
DEF_MAGICTYPE_DAMAGE_LINEAR 19
DEF_MAGICTYPE_POLYMORPH 20
DEF_MAGICTYPE_DAMAGE_AREA_NOSPOT 21
DEF_MAGICTYPE_TREMOR 22
DEF_MAGICTYPE_ICE 23
//--Num-Name--Type-Delay--Last--ManaCost--range23--
*Num* is Spell Number for casting circle
*Name* is the spell name
*Type* is the magic type listed above
*Delay* is ??? Every spell has 0. I'm guessing for delayed affects?
*Last* is duration of spell. Used for spells like poison, zerk, invis
*ManaCost* is how much mana to cast the spell
*Range23* are 2 numbers for area of affect
---effect456- effect789-effect101112-ReqInt-Cost--Category--Attr
*effect###* as far as I can tell are just used for damages
*ReqInt* is the required Int to buy/cast the spell
*Cost* is gold cost to buy from WzdTwr (if buyable)
*Category* from what I found is 0 - generic spells (can be cast anywhere), 1 - offensive spells, 2 - defensive spells (probably used to determine where you can cast the spell)
*Attr* seems to be spell attributes. 4 - Ice Damage, 3 - Fire Damage, 2 - Lightning damage, 1 - Other Damage?? not sure because spells like Tremor, Poison, EarthwormStrike, Cure are in this category?, 0 - appears general defensive,general NPC affects (berserk, recall, para, invis).