Structs List


 
Structs List
Item File Description
Spell File Description
Hex Glossary
Appendices


 

Alignments
From Alignment.ids

0x00 NONE
0x11 LAWFUL_GOOD
0x12 LAWFUL_NEUTRAL
0x13 LAWFUL_EVIL
0x21 NEUTRAL_GOOD
0x22 NEUTRAL
0x23 NEUTRAL_EVIL
0x31 CHAOTIC_GOOD
0x32 CHAOTIC_NEUTRAL
0x33 CHAOTIC_EVIL
0x01 MASK_GOOD
0x02 MASK_GENEUTRAL
0x03 MASK_EVIL
0x10 MASK_LAWFUL
0x20 MASK_LCNEUTRAL
0x30 MASK_CHAOTIC

Classes
From Class.ids
00   ALL
01   MAGE
02   FIGHTER
03   CLERIC
04   THIEF
05   BARD
06   PALADIN
07   FIGHTER_MAGE
08   FIGHTER_CLERIC
09   FIGHTER_THIEF
0A  FIGHTER_MAGE_THIEF
0B  DRUID
0C  RANGER
0D  MAGE_THIEF
0E  CLERIC_MAGE
0F  CLERIC_THIEF
10  FIGHTER_DRUID
11  FIGHTER_MAGE_CLERIC
12  CLERIC_RANGER
65 ANKHEG
66 BASILISK
67 BASILISK_GREATER
68 BEAR_BLACK
69 BEAR_BROWN
6A BEAR_CAVE
6B BEAR_POLAR
6C CARRIONCRAWLER
6D DOG_WILD
6E DOG_WAR
6F DOPPLEGANGER
70 DOPPLEGANGER_GREATER
71 DRIZZT
72 ELMINSTER
73 ETTERCAP
74 GHOUL
75 GHOUL_REVEANT
76 GHOUL_GHAST
77 GIBBERLING
78 GNOLL
79 HOBGOBLIN
7A KOBOLD
7B KOBOLD_TASLOI
7C KOBOLD_XVART
7D OGRE
7E OGRE_MAGE
7F OGRE_HALFOGRE
80 OGRE_OGRILLON
81 SAREVOK
82 FAIRY_SIRINE
83 FAIRY_DRYAD
84 FAIRY_NEREID
85 FAIRY_NYMPH
86 SKELETON
87 SKELETON_WARRIOR
88 SKELETON_BANEGUARD
89 SPIDER_GIANT
8A SPIDER_HUGE
8B SPIDER_PHASE
8C SPIDER_SWORD
8D SPIDER_WRAITH
8E VOLO
8F WOLF
90 WOLF_WORG
91 WOLF_DIRE
92 WOLF_WINTER
93 WOLF_VAMPIRIC
94 WOLF_DREAD
95 WYVERN
96 OLIVE_SLIME
97 MUSTARD_JELLY
98 OCRE_JELLY
99 GREY_OOZE
9A GREEN_SLIME
9B INNOCENT
9C FLAMING_FIST
9D WEREWOLF
9E WOLFWERE
9F DEATHKNIGHT
A0 TANARI
255 NO_CLASS

Creature Types
(from general.ids)
00 - Any
01 - HUMANOID
02 - ANIMAL
03 - DEAD
04 - UNDEAD
05 - GIANTHUMANOID
06 - FROZEN
FF - MONSTER

Damage Types
From: damages.ids
(converted to little-endian)
0x0000 0000 CRUSHING 
0x0000 0001 SLASHING 
0x0000 0002 MAGICFIRE 
0x0000 0004 MAGICCOLD 
0x0000 0008 STUNNING 
0x0000 0100 ACID 
0x0000 0200 COLD 
0x0000 0400 ELECTRICITY 
0x0000 0800 FIRE 
0x0000 1000 PIERCING 
0x0000 2000 POISON 
0x0000 4000 MAGIC 
0x0000 8000 MISSILE

Known Polymorph Values
Discovered By: Mr.Mark, Thorin
08 smoke, can't move
10 wyvern
11 cool daemon
20 sirine
21 Volo
22 Ogre Mage
23 daemon knight
30 Ankheg
50 Human Cleric
51 human fighter
52 human mage
53 h/thief
64 Drizzt
70 half ogre
71 basilisk
72 black bear(pd)
74 dog
75 doppelganger
7A spider
7B wolf(pd)
7C Xart
7D Zombie
7E Werewolf
83 Gnoll (with paper doll)
90 ogre
A0 Baby Wyvern
A1 Carrion Crawler
B0 cow
D0 eagle11

Known values for Locations
Discovered By: Thalic (mainly) 
and ViperSting (With data from Drabur)
00 - belt buckle (when on armor)  and 
       amulets (on robes)
01 - minor color
02 - major color
03 - skin color
04 - strap color (on armor) and minor triming 
       (on robes - the center strip down a robe and 
       the hem on some robes)
05 - armor color (and major triming on robe - 
       cross trim and cape trim on robe of archmagi)
06 - hair color
10 - quillons or crossguard
14 - grip (usually not visible as it's in the 
       character's hand)
15 - blade or major portion of weapon
20 - shield hub
22 - shield panelling
25 - shield rim
30 - helm ornamentation - i.e. wings
31 - helm ornamentation - i.e. feathers/horsehair 
       (by Graf)
34 - unknown, but listed in helm01
35 - helm - the main covering

Known Icons
Courtesy of Mr.Mark
00 charm
01 dire charm
02 rigid thinking
03 confused
04 beserk
05 intoxicated
06 poisoned
07 nauseated
08 blind
09 protection from evil
0A protection from petrification
0B protection from missiles
0C magic armour
0D held
0E sleep
0F shielded
10 protection from fire
11 blessed
12 chant
13 free action
14 barkskin
15 strength
16 heroism
17 invulnerable
18 protection from acid
19 protection from cold
1A resist fire/cold
1B protection from electricity
1C protection from magic
1D protection from undead
1E protection from poison
1F non-detection
20 good luck
21 bad luck
22 silenced
23 cursed
24 panic
25 resist fear
26 haste
27 fatigue
28 bard song
29 slow
2A regenerate
2B domination
2C hopelessness
2D greater malison
2E spirit armour
2F chaos
30 feebleminded
31 defensive harmony
32 champions strength
33 dying
34 mind shield
35 energy drain
36 polymorph self
37 stun
38 regeneration
39 perception
Slot ID's
Taken from slot.ids
Note: decimal values:
0 SLOT_AMULET
1 SLOT_ARMOR
2 SLOT_BELT
3 SLOT_BOOTS
4 SLOT_CLOAK
5 SLOT_GAUNTLETS
6 SLOT_HELMET
7 SLOT_RING_LEFT
8 SLOT_RING_RIGHT
9 SLOT_SHIELD
10 SLOT_FIST
11 SLOT_AMMO
15 SLOT_MISC
35 SLOT_WEAPON
11 SLOT_AMMO0
12 SLOT_AMMO1
13 SLOT_AMMO2
14 SLOT_AMMO3
15 SLOT_MISC0
16 SLOT_MISC1
17 SLOT_MISC2
18 SLOT_MISC3
19 SLOT_MISC4
20 SLOT_MISC5
21 SLOT_MISC6
22 SLOT_MISC7
23 SLOT_MISC8
24 SLOT_MISC9
25 SLOT_MISC10
26 SLOT_MISC11
27 SLOT_MISC12
28 SLOT_MISC13
29 SLOT_MISC14
30 SLOT_MISC15
31 SLOT_MISC16
32 SLOT_MISC17
33 SLOT_MISC18
34 SLOT_MISC19
35 SLOT_WEAPON0
36 SLOT_WEAPON1
37 SLOT_WEAPON2
38 SLOT_WEAPON3

Known Sound Effects
Discovered By: ????
Expanded By: GMAN
EFF_E01 - Draw upon holy might
EFF_E02 - Armor / Free Action
EFF_E03 - Barkskin
EFF_E04 - Protection from evil
EFF_E05 - Hold
EFF_E06 - Silence
EFF_E08 - Hold
EFF_M02 - Blindness
EFF_M04 - Detect Evil
EFF_M05 - Sleep
EFF_M07 - Death spell/ Laroch's drain
EFF_M08 - Strength of One/ Tensers Transformation
EFF_M09 - Dimension Door
EFF_M10 - Dispel/Shapeshift
EFF_M11A - Protection from Petrification
EFF_M11B - Protection from Norm Missles
EFF_M12B - Minor Globe
EFF_M13 - Summon
EFF_M15 - Hold
EFF_M16 - Charm
EFF_M18D - Melf's Acid Arrow
EFF_M26 - Animate Dead
EFF_M28 - Haste/Slow
EFF_M29 - Haste/Slow
EFF_M31C - Grease
EFF_P01 - Remove Fear/Curse
EFF_P02 - Good Berries
EFF_P03 - Invisibility Purge
EFF_P04 - Command/Rigid Thinking
EFF_P07 - Resist Fire/Cold
EFF_P10 - Remove Paralysis
EFF_P11 - Hold Person Priest
EFF_P13 - Miscast Magic
EFF_P16 - Flame Strike
EFF_P18 - Raise Dead/Blindness
EFF_P21C - Sanctuary
EFF_P27 - Web

Known Special Effects 
and an Item/Spell that uses it
By: ViperSting
Priest spells ares marked with *P*
Wizard spells ares marked with *W*
Inate Abilities are marked with *I*
00 - Potion of Healing
01 - Chill Touch
02 - Potion of Healing
04 - Oil of Speed
05 - Potion of Invulnerability
06 - Potion of Cloud Giant Strength
08 - Potion of Genius
09 - Sleep *W*
0A - Antidote
0C - Potion of Absorbtion
0E - Arrow of Dispelling
09 - Hold Person *P*
10 - Potion of Invisibility
12 - Blindness *W*
14 - Chant *P*
16 - Bless *P*
18 - Magic Missile *W*
19 - Chromatic Orb *W*
1A - Spwi984 *W*
1C - Infravision *W*
1E - Detect Evil *I*
20 - Spwi983 *W*
21 - Animal Summoning I *P*
25 - Clairevoyance *W*
26 - Shadow Door *W*

Mage Spells
*T* devotes TotSC spells.
Compiled By: Ken and ViperSting
SPWI001 - FireBall
SPWI002 - Lightning Bolt
SPWI003 - Magic Missile
SPWI004 - Stinking Cloud
SPWI005 -
SPWI101 - Grease
SPWI102 - Armor
SPWI103 - Burning Hands
SPWI104 - Charm Person
SPWI105 - Color Spray
SPWI106 - Blindness
SPWI107 - Friends
SPWI108 - Protection from Petrification
SPWI110 - Identify
SPWI111 - Infravision
SPWI112 - Magic Missile
SPWI113 - Protection from Evil
SPWI114 - Shield
SPWI115 - Shocking Grasp
SPWI116 - Sleep
SPWI117 - Chill Touch
SPWI118 - Chromatic Orb
SPWI119 - Larloch's Minor Drain
SPWI201 - Blur
SPWI202 - Detect Evil
SPWI203 - Detect Invisibility
SPWI204 - Fog Cloud
SPWI205 - Horror
SPWI206 - Invisibility
SPWI207 - Knock
SPWI208 - Know Alignment
SPWI209 - Luck
SPWI210 - Resist Fear
SPWI211 - Melf's Acid Arrow
SPWI212 - Mirror Image
SPWI213 - Stinking Cloud
SPWI214 - Strength
SPWI215 - Web
SPWI216 - Wizard Lock
SPWI217 - Agannazar's Scorcher
SPWI218 - Ghoul Touch
SPWI219 - Vocalize
SPWI299 - Summon Cow
SPWI301 - Clairvoyance
SPWI302 - Dispel Magic
SPWI303 - Flame Arrow
SPWI304 - Fireball
SPWI305 - Haste
SPWI307 - Invisibility 10'
SPWI306 - Hold Person
SPWI308 - Lightning Bolt
SPWI309 - Monster Summoning I
SPWI310 - Non-Detection
SPWI311 - Protection from Normal Missiles
SPWI312 - Slow
SPWI313 - Skull Trap
SPWI314 - Vampiric Touch
SPWI315 - Wraith Form
SPWI316 - Dire Charm
SPWI317 - Ghost Armor
SPWI399 - Lightning Bolt
SPWI401 - Confusion
SPWI402 - Dimension Door
SPWI403 - Fire Shield
SPWI404 - Ice Storm
SPWI405 - Improved Invisibility
SPWI406 - Minor Glove of Invulnerability
SPWI407 - Monster Summoning II
SPWI408 - Stone Skin
SPWI409 - Wall of Fire
SPWI411 - Emotion-Hopelessness *T*
SPWI412 - Greater Malison *T*
SPWI413 - Otiluke's Resilient Sphere *T*
SPWI415 - Polymorph Other *T*
SPWI416 - Polymorph Self *T*
SPWI410 - Remove Curse *T*
SPWI414 - Spirit Armor *T*
SPWI501 - Animate Dead
SPWI502 - Cloudkill
SPWI503 - Cone of Cold
SPWI504 - Monster Summoning III
SPWI505 - Shadow Door
SPWI506 - Domination *T*
SPWI509 - Feeblemind *T*
SPWI507 - Hold Monster *T*
SPWI508 - Chaos *T*
SPWI601 - Invisible Stalker *T*
SPWI602 - Globe of Invulnerability *T*
SPWI603 - Tenser's Transformation *T*
SPWI604 - Flesh to Stone *T*
SPWI605 - Death Spell *T*
SPWI888 - Flame Arrow

Known Colors
Discovered By: Ganryu
Expanded and Corrected By: Sith Wanderer
Palette Dissection By: Burton Radons
00h Red Tinted Black
01h Dark Bronze
02h Dark Gold
03h Light Gold
04h Auburn
05h Light Silver
06h Dark Silver
07h Light Metallic Green
08h Dark Muddish Brown
09h Light Muddish Brown
0Ah Light Pure Gold
0Bh Light Rose Red
0Ch Light Carnation Pink
0Dh Light Pure Silver
0Eh Dark Pure Silver
0Fh Easter Green
10h Silverish Gold 
11h Light Blue 
12h Dark Blue 
13h Dark Rose Red 
14h Dark Moldy Green 
15h Dark Iron Grey 
16h Dark Brown 
17h Light Copper 
18h Dark Gold 
19h Dark Pure Gold 
1Ah Wood 
1Bh Silver 
1Ch Dark Ghostly Greyish Silver 
1Dh Red Tinted Black 
1Eh Light Iron Grey 
1Fh Light Sea Blue 
20h Dark Sea Green 
21h Dark Metallic Purple 
22h Ghostly Green 
23h Dark Ghostly Pink 
24h Light Dirty Yellow 
25h Dark Dirty Yellow 
26h Light Dirtish Brown 
27h Dark Dirtish Brown 
28h Dark Dirty Copper 
29h Dark Brown 
2Ah Light Blurry Grey 
2Bh Dark Blurry Grey 
2Ch Light Purple 
2Dh Dark Purple 
2Eh Light Red 
2Fh Dark Red 
30h Light Bronze 
31h Dark Broze 
32h Dark Yellow 
33h Dark Olive Green 
34h Light Green 
35h Dark Green 
36h Darker Green 
37h Light Sea Blue 
38h Dark Sea Blue 
39h Light Blue 
3Ah Dark Blue 
3Bh Light Purple 
3Ch Dark Purple 
3Dh Light Flowery Purple 
3Eh Dark Flowery Purple 
3Fh Light Grey 
40h Dark Grey 
41h Another Dark Grey 
42h Faded Black(Char. Color)
43h Golden Mac And Cheese
44h Light Metallic Blue 
45h Light Minty Green 
46h Light Metallic Red 
47h Frost Blue 
48h Steel Grey 
49h Christmas Green 
4Ah Pure White 
4Bh Pure Black 
4Ch Pure Red 
4Dh Pure Green (Invisible for Icon) 
4Eh Pure Blue 
4Fh Light Silver 
50h Dark Bronze 
51h Faded Gold 
52h Dark Metallic Blue 
53h Dark Adamantite Grey 
54h Peachy 
55h 21 Carat Gold 
56h Chrome Green 
57h Dark Poopy Brown
58h Chrome Pink 
59h Metallic Pink
5Ah Moldy Gold 
5Bh Dark Chocolate
5Ch Light Chocolate
5Dh Dark Cement Grey 
5Eh Rhubarb 
5Fh Light Dirtish Brown 
60h Chrome Blue 
61h Light Minty Blue 
62h Leaf Green 
63h Dark Gold 
64h Dark Iron Grey 
65h Light Metallic Red 
66h Sea Blue 
67h Forest Green 
68h Dark Chrome Purple 
69h White 
6Ah Pale Pink 
6Bh Khaki
6Ch  Pinkish Gray
6Dh Terra Cotta
6Eh Ash
6Fh Burnt Sienna
70h Seafoam
71h Fog
72h Yet Another Brown
73h Sunkissed
74h Solid Gray
75h Solid Gray
76h Solid Gray
77h Solid Gray 

Saving Throw Types
Discovered By: ViperSting
0x0000 0000 No Saving Throw
0x0100 0000 Save vs. Spells
0x0200 0000 Save vs. Breath Weapons
0x0400 0000 Save vs. Death/Poison
0x0800 0000 Save vs. Wands
0x1000 0000 Save vs. Petrification/Polymorph

Available Default Scripts
From Script.log located in Script.bif
default 
dmonster 
dnpc 
dummy 
rdog 
rdwarf 
relf 
rbear 
rchicken 
rcow 
rhorse 
keyscrip 
ogre 
gateward 
npc 
poghma8 
smarearn 
tethtorl 
reader6 
ar2600 
ewmove 
gorion 
lgarea 
mdarea 
nemove 
nsmove 
nwmove 
randwalk 
smarea 
wait 
wdasight 
wdattwat 
wdrunsgt 
wdrunwat
wtasight 
wtattwat 
wtrunsgt 
wtrunwat 
xzar 
waitattk 
waithold 
waithstl 
waitrun 
wandattk 
wandhold
wandhstl 
wandrun 
innkeep 
watch3 
randfly 
hobgobf 
ccrawler 
dganger 
direwolf 
dreadwlf 
dryad 
ghast 
ghoul 
gibber 
gnollf 
gnollp 
halfogre 
hobgoba 
kobolda 
koboldal 
koboldf 
koboldfl 
ogremage
ogrillon 
revenant 
skeletnw 
skeleton 
slime 
spider 
tasloia 
tasloif 
tasloifl 
vampwolf
wardog
wilddog 
wntrwolf 
wolf 
worg 
xvart 
khalid 
tranzig 
sharteel 
cut 
mtowbe6
ch1cut01 
ch1cut02 
ch1cut03 
initdlg 
wdattkbe 
wdholdbe
wdhstlbe 
wdrunbe 
wtattkbe 
wtholdbe 
wthstlbe 
wtrunbe 
wtturnbe 
guard1 
guard2 
bouncer 
ch1cut04 
ftowna3 
rufie 
vwench 
caldo 
cdryad 
krumm 
helpmul 
dynaheir 
prismcut 
shartel2 
silke 
silkecut 
thalantr 
charlstn 
digcut01 
chasel 
chasel0 
chasel1 
chasel2 
chasel3 
chasel4 
chasel5 
chasel6 
chasel7 
chasel8 
chasel9 
chaser 
chaser0 
chaser1 
chaser2 
chaser3 
chaser4 
chaser5 
chaser6 
chaser7 
chaser8 
chaser9 
claird 
doomdur 
ar0516 
baresh 
digcut02 
digger 
aldcut01 
bancut01
bancut02
bandit 
druid3 
flam10 
flam7 
guard3 
gtfb 
gtar 
gtlb 
gtmm 
gtsc 
act01 
act02 
act03 
act04 
act05 
act06 
act07 
act08 
act09 
act10 
act11 
act12 
act13 
amnise 
amnise2 
ctar 
ctfb 
ctlb 
ctmm 
ctsc 
flamen2 
housen2 
skeletb 
zombieb 
hobgobc 
dguard 
ar0601 
ar0607 
brage 
bragecut
dillar 
scarcut 
scarcut2 
ar0800 
ar2800 
ar3352 
bently 
marl 
ogrebjor 
amnisna 
albert 
ar4800 
ar5100 
laurel 
pbear1 
revent2 
rufcut01 
rufcut02 
bandcap 
ar0900 
bandic 
bandit2 
shoal 
sil 
tazok 
watchen2
melicamp
info01 
info02 
info03 
info04 
info05 
info06 
info07 
info08 
info09 
info10 
info11 
info12 
info13 
info14 
info15 
info16 
ar4900 
fisher 
hull 
nereid 
nymph 
pspider 
tenya 
watcher 
ar2300 
ar3300 
merch2 
merch4 
merch5 
merch6 
mercha 
mysmer 
rat02 
shopkn 
taerom 
info17 
gnolldr 
blbear 
brbear 
cbear 
firebead 
gg300 
ogres 
worgar 
xvarth 
zombiew 
pbear 
davaeorn
drizzt 
imoen 
raiken 
seniyad 
teven 
dplayer 
zombie 
alora 
ship 
trapdis 
shoutdlg 
urntrap1 
urntrap2 
urntrap3 
urntrap4 
urntrap5
urntrap6 
wardtel1 
wardtel2 
ctas 
gtas 
crushtr2 
crushtr3 
ar0511 
ar0514
warddop1
ar0617 
ar0700 
ar1100 
ar1400 
banditcy 
monken 
ar0100 
ar0103 
ar0119 
ar0123 
ar0137 
ar0138 
ar1200 
doppss 
flam6 
yago 
thief 
ar0106 
ar0112 
ar0115 
ar0128 
ar0149 
ar0300 
ar0612 
ar0613 
ar0614 
ar0615 
ar0616 
ar0705 
ar1300 
delorna 
dopple 
dopzorl 
helshara 
irlentre 
ithmeera 
narlen 
obestate 
pumber 
shadow 
zorl 
actboun 
actflam 
ankhegg 
ch6cut01 
flampun2 
gervisse 
mage1 
mage2 
mage3 
mage4 
mage5 
mage6 
priest1 
priest2 
priest3 
priest4 
priest5 
ar0121 
eldcut01 
eldoth 
gbasilsk 
lbasilsk 
ramazith 
kolvar 
dabron 
ar0145 
ar0153 
ar0608 
ar2626 
ar2700 
bandit3 
erik 
jondalar 
narcut01 
tranzi 
wdarsgt 
wtarsgt 
arrest 
bhostile 
naddie 
actnesto 
acttelan 
ar1901 
ar2631 
coran 
flampun 
initdlg2 
jaheira 
kagain 
montaron
noblpa 
sardopp 
shout 
yeslick 
sarrun 
flam10a 
fguard 
ch4end 
ankheg 
ar0108 
ar0125 
ar0200 
ar0225 
ar0600 
ar2100 
ar2301
ar3351 
belt 
capcut01 
capcut02 
davcut01 
dplayer2 
endcut01 
ettercap 
ffhunt 
fgolem 
flamc7 
ftowbez 
ftownaz 
husam2 
liia 
mage7 
mtowbez 
mtownaz 
sarevok 
seeenemy
shadow2 
doorisl 
gooddeat 
killgood 
kirinh 
mendas2 
movep1 
shit 
shoutdl2 
tracea 
ar1002 
tanari 
ocdoor 
chaselz 
andris 
ar0146 
ar1008 
ghastd 
warddop2
wyvern 
ar3304 
attkally 
canto 
drasus
gtweb 
kirian 
lamalha 
molkar 
niemain 
sendai 
teyngan 
vax 
zargal 
zhalimar 
ar1807 
ar4100 
guards 
prat 
rahvin 
ratchild 
runenemy
ar0114 
cythan 
cythandr 
elmins4 
ftowbaz 
gdchange
ldchange
magetest
mtowbaz
noblbaz 
nobwbaz
rieltar 
schlum 
waitturn 
ar2400 
ar2900 
centeol 
flam2 
mage8 
sirspell 
battleho 
gtgw 
gtst 
amnish3 
amnish4 
ar1800 
cleric1 
dopspell 
emerson 
gantol 
initdlg3 
initinv 
reddeath
slave 
bear 
marktrap
angelo 
ar0101 
ar0111 
ar0224 
ar0226 
ar1700 
ar1900 
ar2608 
ar5400 
follow 
initneb 
initobe 
kivan 
pheogurd
quayle 
redbake 
semaj 
tiax 
viconia 
voleta 
winski 
sarevaro 
sarevfir 
sarevsti 
sarevweb 
ch6end 
ar5405 
innke3 
shop03 
shop04 
shop05 
shop06 
shop07 
shop08 
ar5001 
brilla 
digshout 
fergus 
garrcut 
gnarl 
hairtoth 
initmain 
korax 
leavech7 
safana 
endch4 
ar2609 
ar2611 
ajantis 
argha 
baruk 
denak 
flamspel 
lakada 
larys 
narc 
nevill 
thieves 
ar0130 
hama 
narrat2 
noblpa1 
noblpa2 
noblpa3 
noblpa4 
noblpa5 
edwin 
gnoll5 
gnoll5a 
greywolf 
mersil 
minsc 
mulahey 
scar 
phandaly 
initrev 
carsa 
ptd1 
ar1501 
ar1803 
deathkn2
marale 
kaldran 
cultsht 
kaisha 
pheoarch
kescape 
daitel 
fighter4 
thief4 
bassilus 
dplayer3 
guarddlg 
ctlb2 
daese 
islandsi 
ctck 
gtck 
kingdead 
trpblack
trpwhite 
wardfue 
wardisl 
wardkie 
ar0307 
ar0308 
ar0500 
ar0502 
ar0512 
ar1000 
ar1003 
ar1004 
ar1500 
ar2000 
chess 
ctcl 
ctcon 
ctcorb 
ctdc 
ctfs 
cthp 
ctmis 
ctsi 
ctwerewo
cultmage 
cultthf 
daesewlf 
deathini 
deathkni 
dopdop 
dopdur 
dopfue 
dopisl 
dopkie 
dradeel 
dumfue 
dumisl 
dumkie 
follow2 
greed 
gtcl 
gtcon 
gtcorb 
gtdc 
gtfb3 
gtfs 
gthp 
gtmis 
gtsi 
gtwerewo
jellspa 
king 
kryla 
loupgar 
love 
meym 
palin 
phoenix 
pride 
turninvs 
werewolf 
wolfwegl 
wolfwere 
ctar10 
ctar3 
ctar4 
ctar5 
ctar6 
ctar7 
ctar8 
ctar9 
gtar10 
gtar3 
gtar4 
gtar5 
gtar6 
gtar7 
gtar8 
gtar9 
clkanvil 
trppawn 
ctar2 
ctfb2 
gtar2 
gtfb2 
crushtrp 
tbullrsh 
titach 
tmeiala 
tmoorlch 
ttarnor 
ar0507 
ar2001 
doorfue 
dopdur1 
dopdur2 
dopdur3 
fdraket1 
fdraket2 
fdraket3 
fdraket4 
fdraket5 
fdraket6 
fdraket7 
lever1 
lever10 
lever11 
lever2 
lever3
lever4 
lever5 
lever6 
lever7 
lever8 
lever9 
clkgong 
clkengin
clkpress 
firedam 
trpghast 
viking 
wardexit 
durtomb 
trpskel 
dursword
durbook1
durbook2
durbook3
durbook4
wardtele 
doorexit 
shandal

Priest Spells
*T* devotes TotSC spells.
Compiled By: Ken and ViperSting
SPPR101  - Bless
SPPR102  - Command
SPPR103  - Cure Light Wounds
SPPR104  - Detect Evil
SPPR105  - Entangle
SPPR106  - Magic Stone
SPPR107  - Protection From Evil
SPPR108  - Remove Fear
SPPR109  - Sanctuary
SPPR110  - Shillelagh
SPPR201  - Aid
SPPR202  - Barkskin
SPPR203  - Chant
SPPR204  - Charm Person or Mammal
SPPR205  - Find Traps
SPPR205D - Find Traps
SPPR206  - Flame Blade
SPPR207  - Good Berries
SPPR208  - Hold Person
SPPR209  - Know Alignment
SPPR210  - Resist Fire/Cold
SPPR211  - Silence 15' Radius
SPPR212  - Slow Poison
SPPR213  - Spiritual Hammer
SPPR214  - Draw Upon Holy Might
SPPR301  - Animate Dead
SPPR302  - Call Lightning
SPPR303  - Dispel Magic
SPPR304  - Glyph of Warding
SPPR305  - Hold Animal
SPPR306  - Protection From Fire
SPPR307  - Remove Curse
SPPR308  - Remove Paralysis
SPPR309  - Invisibility Purge
SPPR310  - Miscast Magic
SPPR311  - Rigid Thinking
SPPR312  - Strength of One
SPPR401  - Cure Serious Wounds
SPPR402  - Animal Summoning I
SPPR403  - Free Action
SPPR404  - Neutralize Poison
SPPR405  - Mental Domination *T*
SPPR406  - Defensive Harmony *T*
SPPR407  - Protection from Lightning *T*
SPPR408  - Protection from Evil (10' Radius) *T*
SPPR501  - Animal Summoning II
SPPR502  - Cure Critical Wounds
SPPR503  - Flame Strike
SPPR504  - Raise Dead
SPPR506  - Wall of Fire
SPPR507  - Champion's Strength *T*
SPPR508  - Choatic Commands *T*
SPPR999  - Raise Dead

Innate Abilities (they're spells too)
Compiled By: Ken and ViperSting
SPIN101 - Cure Light Wounds
SPIN102 - Slow Poison
SPIN103 - Draw Upon Holy Might
SPIN104 - Larloch's Minor Drain
SPIN105 - Ghoul Touch
SPIN106 - Vampiric Touch
SPIN107 - Shapeshifts Brown Bear
SPIN108 - Charm Animal
SPIN109 - Lay On Hands
SPIN110 - Shapeshifts Wolf
SPIN111 - Shapeshifts Black Bear
SPIN112 - Dispel Magic
SPIN113 - Spiritual Hammer
SPIN114 - Summon Dread Wolf
SPIN115 - Summon Ghast
SPIN116 - Create Poisoned Arrows
SPIN117 - Berserk
SPIN118 - Invisibility
SPIN119 - Charm Person
SPIN120 - Detect Evil
SPIN121 - Protection From Evil
SPIN122 - Shapeshifts Natural Form
SPIN123 - Shapeshifts Natural Form
SPIN124 - Shapeshifts Natural Form

Known Stat Values
01h - ATTACKNO - Attacks per Round Mod. 
06h - CHR -Charisma 
0Ah - CON -Constitution Mod. 
0Fh - DEX -Dexterity Mod. 
11h - HEAL -Current HP Mod. 
12h - HITPOINTS -Maximum HP Mod. 
13h - INT -Intelligence Mod. 
16h - LUCK - Lore Mod. 
1Bh - RESISTACID - Acid Res. Mod. 
1Ch - RESISTCOLD - Cold Res. Mod. 
1Dh - RESISTELECTRICITY - Lightning Res. Mod.
1Eh - RESISTFIRE - Fire Res. Mod. 
1Fh - RESISTMAGIC - Magic Res. Mod. 
21h - SAVEVSDEATH - Save vs. Death Mod. 
22h - SAVEVSWANDS - Save vs. Wands Mod. 
23h - SAVEVSPOLY - Save vs. Petrif./Poly. Mod. 
24h - SAVEVSBREATH - Save vs. Breath Weap. 
25h - SAVEVSSPELL - Save vs. Spells  Mod. 
2Ch - STR - Strength Mod. 
31h - WIS - Wisdom Mod. 
36h - THAC0 -THAC0 Mod. 
3Bh - SKILLSSTEALTH -Stealth Mod. 
49h - DAMAGEMOD -Bonus Damage Mod. 
5Ah - SKILLLOCKPICKING - Open Locks Mod. 
5Bh - SKILLLTRAPS - Find Traps Mod. 
5Ch - SKILLPICKPOCKET - Pick Pockets Mod. 
5Dh - FATIGUE -Fatigue Mod. 
5Eh - INTOXICATION -Intoxication Mod. 
61h - STREXTRA - Strength Bonus Mod. 
7Eh - MOVEMENT_RATE - Speed Mod. ? 

Struct Offset Key
(Note: Some structs may vary, will be noted)
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00 00 00 ßß 00 xx xx xx xx yy yy yy yy ti tm dd dd
01 dd dd pp 00 rr rr rr rr rr rr rr rr dt 00 00 00
02 ds 00 00 00 st st st st sb sb sb sb 00 00 00 00
ßß ßß Target ID(0002h) 01 - TargetSelf
02 - TargetPresetTarget
03 - TargetParty
04 - GlobalTargetIncludingParty
05 - GlobalTargetExcludingParty 
XX xx Parameter1(0004h) See Struct
YY yy Parameter2(0008h) See Struct
TI ti Timing ID(000Ch) 00 - Duration
01 - Permanent
02 - While Equiped
03 - Permanent
TM tm Timing Mod.(000Dh) 01 - Duration
02 - Delay
DD dd Duration(000Eh)
(signed long int, little-endian)
00 00 00 00 for unlimited
PP pp Probability(0012h)
(Hex)
00 - 00%
19 - 25%
32 - 50%
4B - 75%
64 - 100%
RR rr Reference(0014h)
DT dt Dice Throws(001Ch) (i.e. dtD8)
DS ds Die Sides(0020h) (i.e. 1Dds)
SS ss Save vs. Type(0024h) 0x00000000 No Saving Throw
0x01000000 vs. Spells
0x02000000 vs. Breath
0x04000000 vs. Death/Poison
0x08000000 vs. Wands
0x10000000 vs. Petrification/Poly
SB sb Save Bonus(0028h)