Mage and cleric spells
Magic · Attack spells · Other spells ·
SpellDefinitionRuntime
In brief
Every spell name of the game, mage and cleric, with the initial data of its definition: its level, its flags, the lasting effect it sets, its sound and whether it has a routine of its own. IDs are local to each table: mage spell 4 and cleric spell 4 are different spells. Turn undead and Lay on Hands follow rules of their own.
Reading the tables
These tables list every non-empty spell name of the DOS executable, mage and cleric, with the initial data of its definition. How long the lasting ones last is given under lasting spells, and what each spell does on the attack and other spell pages. Appearing here does not prove that a spell can be learned or cast in normal play: the menus and the book offer spell levels 1 to 6 only; see memorizing and praying.
The values are those of the executable's initial data; runtime changes are not covered.
| Column | Meaning |
|---|---|
| Group | The spell level: it chooses the page of the memorize menu and of the spell book, and the ten character slots the spell uses. |
| Definition | Index of the spell's SpellDefinitionRuntime entry. |
| Flags | Initial SpellDefinitionFlags, without the SPELL_FLAG_ prefix. |
| Lasting effect | The SpellEffectFlags of the definition's effect mask, without the SPELL_EFFECT_ prefix: set while the spell lasts on the character with CHARACTER_EFFECT_MASK, on the party with GLOBAL_EFFECT_MASK, on each living member with MEMBERS_EFFECT_MASK. |
| Sound | Sound effect played when the spell starts. |
| Callback | Whether the definition's start routine is set in the initial data. A spell with Null still works through its flags and lasting effect; only Bigby's Fist and Ressurection have neither. |
Mage
| ID | Display name | Group | Definition | Flags | Lasting effect | Sound | Callback |
|---|---|---|---|---|---|---|---|
| 1 | Armor | 1 | 1 | CHARACTER_EFFECT_MASK, RECALCULATE_DEFENSE, NO_REPEAT, CHOOSE_TARGET | ARMOR | 92 | Present |
| 2 | Burning Hands | 1 | 2 | ENDS_INVISIBILITY | — | 87 | Present |
| 3 | Detect Magic | 1 | 3 | GLOBAL_EFFECT_MASK, TIMED, PARTY_DISPLAY | DETECT_MAGIC | 95 | Present |
| 4 | Magic Missile | 1 | 4 | ENDS_INVISIBILITY | — | 85 | Present |
| 5 | Shield | 1 | 5 | CHARACTER_EFFECT_MASK, RECALCULATE_DEFENSE, TIMED, TARGET_DISPLAY | SHIELD | 92 | Null |
| 6 | Shocking Grasp | 1 | 6 | TIMED, TARGET_DISPLAY, NEEDS_FREE_HAND | — | 88 | Present |
| 7 | Blur | 2 | 7 | CHARACTER_EFFECT_MASK, TIMED, TARGET_DISPLAY | BLUR | 75 | Null |
| 8 | Detect Invisible | 2 | 8 | GLOBAL_EFFECT_MASK, TIMED, PARTY_DISPLAY | DETECT_INVISIBLE | 95 | Null |
| 9 | Imp Identify | 2 | 9 | TARGET_DISPLAY | INVISIBILITY | 20 | Present |
| 10 | Invisibility | 2 | 10 | CHARACTER_EFFECT_MASK, CHOOSE_TARGET | INVISIBILITY | 94 | Null |
| 11 | M's Acid Arrow | 2 | 11 | ENDS_INVISIBILITY | — | 96 | Present |
| 12 | Dispel Magic | 3 | 12 | VIEW_ANIMATION | — | 97 | Present |
| 13 | Fireball | 3 | 13 | ENDS_INVISIBILITY | — | 99 | Present |
| 14 | Haste | 3 | 14 | TIMED, PARTY_DISPLAY, MEMBERS_EFFECT_MASK | HASTE | 100 | Null |
| 15 | Hold Person | 3 | 15 | ENDS_INVISIBILITY | — | 101 | Present |
| 16 | Invisibility 10' | 3 | 16 | PARTY_DISPLAY, MEMBERS_EFFECT_MASK | INVISIBILITY | 94 | Null |
| 17 | Lightning Bolt | 3 | 17 | ENDS_INVISIBILITY | — | 71 | Present |
| 18 | Vampiric Touch | 3 | 18 | TIMED, TARGET_DISPLAY, NEEDS_FREE_HAND | — | 102 | Present |
| 19 | Fear | 4 | 19 | ENDS_INVISIBILITY | — | 103 | Present |
| 20 | Ice Storm | 4 | 20 | ENDS_INVISIBILITY | — | 89 | Present |
| 21 | Imp Invisibility | 4 | 21 | CHARACTER_EFFECT_MASK, TIMED, CHOOSE_TARGET | IMPROVED_INVISIBILITY | 8 | Null |
| 22 | Remove Curse | 4 | 22 | CHOOSE_TARGET | — | 83 | Present |
| 23 | Cone of Cold | 5 | 23 | ENDS_INVISIBILITY | — | 118 | Present |
| 24 | Hold Monster | 5 | 24 | ENDS_INVISIBILITY | — | 101 | Present |
| 25 | Wall of Force | 5 | 25 | — | — | 74 | Present |
| 26 | Disintegrate | 6 | 26 | ENDS_INVISIBILITY, VIEW_ANIMATION | — | 119 | Present |
| 27 | Flesh to Stone | 6 | 27 | ENDS_INVISIBILITY | — | 68 | Present |
| 28 | Stone to Flesh | 6 | 28 | CHOOSE_TARGET | — | 69 | Present |
| 29 | True Seeing | 6 | 29 | GLOBAL_EFFECT_MASK, TIMED, PARTY_DISPLAY | TRUE_SEEING | 73 | Present |
| 30 | Finger of Death | 7 | 30 | — | — | 0 | Present |
| 31 | Power Word Stun | 7 | 31 | — | — | 0 | Present |
| 32 | Bigby's Fist | 8 | 32 | — | — | 0 | Null |
Cleric
| ID | Display name | Group | Definition | Flags | Lasting effect | Sound | Callback |
|---|---|---|---|---|---|---|---|
| 1 | Bless | 1 | 34 | GLOBAL_EFFECT_MASK, TIMED, NO_REPEAT, PARTY_DISPLAY | BLESS | 91 | Null |
| 2 | Cause Light Wnds | 1 | 35 | ENDS_INVISIBILITY | — | 107 | Present |
| 3 | Cure Light Wnds | 1 | 36 | CHOOSE_TARGET | — | 104 | Present |
| 4 | Detect Magic | 1 | 37 | GLOBAL_EFFECT_MASK, TIMED, PARTY_DISPLAY | DETECT_MAGIC | 95 | Present |
| 5 | Protect-Evil | 1 | 38 | CHARACTER_EFFECT_MASK, TIMED, CHOOSE_TARGET | PROTECTION_FROM_EVIL | 110 | Null |
| 6 | Aid | 2 | 39 | CHARACTER_EFFECT_MASK, TIMED, NO_REPEAT, CHOOSE_TARGET | — | 91 | Present |
| 7 | Flame Blade | 2 | 40 | TIMED, NEEDS_FREE_HAND, REDRAW_TARGET | — | 99 | Present |
| 8 | Hold Person | 2 | 41 | ENDS_INVISIBILITY | — | 101 | Present |
| 9 | Slow Poison | 2 | 42 | TIMED, CHOOSE_TARGET | SLOW_POISON | 111 | Present |
| 10 | Create Food | 3 | 43 | PARTY_DISPLAY | — | 112 | Present |
| 11 | Dispel Magic | 3 | 44 | VIEW_ANIMATION | — | 97 | Present |
| 12 | Magical Vestment | 3 | 45 | CHARACTER_EFFECT_MASK, TIMED, NO_REPEAT, TARGET_DISPLAY | MAGICAL_VESTMENT | 113 | Null |
| 13 | Prayer | 3 | 46 | GLOBAL_EFFECT_MASK, TIMED, PARTY_DISPLAY | PRAYER | 91 | Null |
| 14 | Remove Paralysis | 3 | 47 | PARTY_DISPLAY | — | 114 | Present |
| 15 | Cause Serious | 4 | 48 | ENDS_INVISIBILITY | — | 108 | Present |
| 16 | Cure Serious | 4 | 49 | CHOOSE_TARGET | — | 105 | Present |
| 17 | Neutral-Poison | 4 | 50 | CHOOSE_TARGET | — | 115 | Present |
| 18 | Protect-Evil 10' | 4 | 51 | TIMED, PARTY_DISPLAY, MEMBERS_EFFECT_MASK | PROTECTION_FROM_EVIL | 110 | Null |
| 19 | Cause Critical | 5 | 52 | ENDS_INVISIBILITY | — | 109 | Present |
| 20 | Cure Critical | 5 | 53 | CHOOSE_TARGET | — | 106 | Present |
| 21 | Flame Strike | 5 | 54 | ENDS_INVISIBILITY | — | 98 | Present |
| 22 | Raise Dead | 5 | 55 | CHOOSE_TARGET | — | 117 | Present |
| 23 | Slay Living | 5 | 56 | ENDS_INVISIBILITY | — | 72 | Present |
| 24 | True Seeing | 5 | 57 | GLOBAL_EFFECT_MASK, TIMED, PARTY_DISPLAY | TRUE_SEEING | 73 | Present |
| 25 | Harm | 6 | 58 | ENDS_INVISIBILITY | — | 70 | Present |
| 26 | Heal | 6 | 59 | CHOOSE_TARGET | — | 84 | Present |
| 27 | Ressurection | 8 | 60 | — | — | 0 | Null |
| 28 | Lay on Hands | 8 | 61 | CHOOSE_TARGET | — | 91 | Present |
| 29 | Turn undead | 0 | 62 | VIEW_ANIMATION | — | 103 | Present |
Special entries
The cleric table includes Turn undead and Lay on Hands, which do not follow the rules of ordinary priest spells. Turn undead, the only entry in group 0, is never offered by the pray menu and uses no slot: every cleric or paladin keeps it in the first slot of level 1, and casting it does not mark that slot used. Lay on Hands is in group 8, which the pray menu never offers: resting writes it among a paladin's level-1 slots, where the book shows it, but leaving the pray menu moves it to the level-8 slots, which the book does not show; see the menu anomalies. Mage ID 32 and cleric ID 27 are empty definitions: no routine, flags, timer or effect. Casting one would only silence the sound in progress (its sound effect is 0), print the cast message and use the slot. Both are of level 8, which no tab shows, and no item of the original game casts them.1
Sources
Locations refer to the game executable reference.