Other spells
Magic · Attack spells · Spell anomalies
In brief
What the other spells do: the conjured weapons that a spell puts in the caster's hand, the healing and curing spells, and the protections, detections and other effects. Healing never goes above the target's maximum hit points and does nothing to a dead or absent character.
Conjured weapons
Shocking Grasp (1d8 + L), Vampiric Touch ((L / 2)d6) and Flame
Blade (1d4 + 4) put a conjured weapon in the caster's free hand for as long
as the spell lasts; when no weapon can be made, "The spell fails!" and the
spell stops. The weapon strikes as a melee weapon,
with MONSTER_DAMAGE_MAGIC and MONSTER_DAMAGE_WEAPON:
- the hand of Shocking Grasp vanishes after its first hit that deals
damage (
ITEM_RUNTIME_VANISHES_AFTER_HIT); - each hit of Vampiric Touch gives the caster as many hit points as it
deals, even above the maximum (
ITEM_RUNTIME_DRAINS_HIT_POINTS), and it also vanishes after that hit; when the spell ends, the hit points come back down to the maximum; - Flame Blade stays until the spell ends.
When the spell ends, only the first conjured weapon found in the caster's hands disappears.
Healing and curing
| Spell | Effect |
|---|---|
| Cure Light Wounds | Heals 1d8. |
| Cure Serious Wounds | Heals 2d8 + 1. |
| Cure Critical Wounds | Heals 3d8 + 3. |
| Heal | Heals up to the maximum hit points; otherwise "no effect.". It cures no condition. |
| Lay on Hands | Heals twice the caster's first level. Every eight hours of rest, a paladin gets it back. |
| Aid | Adds 1d8 hit points, even above the maximum, for as long as the spell lasts; damage takes them back first. Cast again on an aided character, it prints "name is already under the effect of an aid spell." and ends the first Aid. |
| Raise Dead | A dead character (−10 hit points) whose race is not elf comes back with 1 hit point; its food stays at 0. |
| Slow Poison | On a poisoned character: the poison damage, dealt with SCRIPT_DAMAGE_STATUS_CHECK, is cancelled while it lasts; see effects on characters. |
| Neutralize Poison | Cures CHARACTER_STATUS_POISONED and ends Slow Poison's effect bit. |
| Remove Paralysis | Cures CHARACTER_STATUS_PARALYZED on up to four characters. |
| Stone to Flesh | Cures CHARACTER_STATUS_PETRIFIED. |
| Create Food | Sets the food of every living character to 100. |
A curing spell on a character without the condition prints "no effect.".
The conditions are CharacterStatusFlags.
Protection, detection and other spells
| Spell | Effect |
|---|---|
| Armor | The target's defense becomes 6, adjusted by its dexterity, while a reserve of L + 8 points lasts; damage uses up the reserve, and the spell ends when it is gone. A target already better than 6 gets "name already has an armor class better than AC 6." |
| Shield | Defense at most 4; stops Magic Missiles. |
| Magical Vestment | Defense at most 5 + (L − 5) / 3. |
| Detect Magic | Items marked ITEM_RUNTIME_MAGICAL are shown in other colours in the hand. |
| True Seeing | WALL_REFERENCE_ILLUSION walls vanish from view; hidden monsters are shown. |
| Improved Identify | Identifies the items in the caster's hands. |
| Remove Curse | Uncurses and identifies the cursed items the target carries, except in inventory slot 16 and except conjured weapons. |
| Dispel Magic | Ends, silently, every lasting effect of every party member, and clears all their character timers. |
| Wall of Force | A temporary wall on the empty block ahead, for 546 + 273 × L ticks; otherwise "The spell fails". |
Blur, Detect Invisible, Invisibility, Invisibility 10', Improved Invisibility, Haste, Bless, Prayer, Protection from Evil and Protection from Evil 10' have no routine of their own: they only set their lasting effect. Bigby's Clenched Fist and Ressurection do nothing at all.
Sources
Locations refer to the game executable reference.