Ultima IV: Quest of the Avatar/Magic

Classes and magic points
In the NES remake, when the Stranger becomes an Avatar, his/her maximum MP promptly becomes 99. This holds true for every profession (in the subsequent episodes of Ultima, the Avatar will always be the character with the highest MP).

The Shepherd has no Magic Points, but in the NES remake she is the only character who can use the Sheep Flute, an item that casts the Sleep spell on all opponents.

Reagents

 * '' See also the Britannian Yellow Pages #Apothecaries.

Six reagents can be purchased in every apothecary shop, but the remaining two are the subject of side quests.

In the spell lists below, the following abbreviations and prices are used for the reagents:

Spell list

 *  See also: Ultima IV: Quest of the Avatar (NES)/Magic

In the table below, spells are grouped by type, then sorted by the gold cost of reagents. Indeed, what determines the availability of a spell are not magic points, but the gold to buy reagents. The GP cost of reagents does not consider Fungus and Manroot, that can be obtained for free.

Prompt specifies whether a spell is available since the beginning of the game ("yes") or if the characters should find something during the game (the recipe and/or some rare reagents). Three spell prompts are labeled as "new mix": the manual describes a recipe, but the characters can find a better recipe to cast them in the game. In the SMS port, instead, two of those recipes (plus a third one) are completely omitted from the manual, and the player can learn it from the game only.

Spell Types:
 * Healing: spells that can be used both during and after battle (exception: Resurrect);
 * Field: spells that can only be used outside battle;
 * Support: battle spells that target the allies;
 * Disable: battle spells that target the enemies but deal no damage;
 * Attack: battle spells that damage the enemies.

In the recipes, the keyboard button combinations are listed between brackets.

Healing spells

 * Cure poison: necessary; at game start, the Stranger starts with enough reagents to mix three of them; in battle, use it after all poisonous enemies have been defeated.
 * Heal: an emergency spell; otherwise, camping or resting at an inn restores more health to all companions (and all MP) for a similar price.
 * Resurrect: sometimes necessary; highly recommended in Dungeon Hythloth.

Field spells

 * Open: useless; use "Cure poison" instead, that costs the same MP & GP, but is used only after a character actually got poisoned. Both trapped chests and this spell were omitted from the NES remake.
 * Dispel: necessary.
 * Wind change: necessary to direct the "lighter-than-air device".
 * Blink: useful for short-ranged shortcuts, e.g. cross a river while enemies run after you. In the NES remake, it can only be used to flee from battle, without losing Virtue Points.
 * Gate travel: useful for shortcuts to any of the eight towns.

Dungeon spells:
 * Light: more convenient than torches.
 * View: less convenient than magic gems, because of the scarcity of reagents to cast the spell; both View and the Gems are very useful in dungeons, although they can be cast on the surface, too.
 * X (Exit): useful to escape dungeons when the companions are very weakened.
 * Y (Up) & Z (Down): possibly game breakers, actually useful to circumvent a bug in the DOS port. Both omitted from the NES remake.

Support spells

 * Awaken: use it strategically, e.g. after all enemy "sleep"-casters have been defeated; when facing a large number of "sleep"-casters, split your party in two: some attack the enemies, others keep waking up the asleep allies.
 * Protection: especially useful when the party is low on health points.
 * Quickness: useful to speed up a combat, thus reducing suffered damage.

Disabling spells

 * Energy field: creates one of four magic fields, at the caster's choice; cast it exactly on an enemy, because some enemies can walk around the fields. If an enemy receives fatal damage from a field (poison or fire), the companions earn no experience points (the field itself deserves them...). In the NES remake, a large 3x3 fire field is the only available option.
 * Blue lightning field: impassable barrier; can be cast on free tiles only;
 * Purple sleep field: inflicts "sleep" on enemies;
 * Green poison field: inflicts "poison" on enemies;
 * Red fire field: damages enemies.
 * Sleep: easy to cast, but enemies killed in their sleep grant just 3 experience points.
 * Undead: useful against the strongest undead, i.e. phantoms and liches; still, when an undead flees, the companions gain no experience. Omitted from the NES remake.
 * Negate magic: useful against powerful spellcasting enemies, especially reapers.
 * Jinx: when it affects many enemies, it becomes a great defensive-offensive spell: less damage to your party and more damage to enemies.

Attack spells

 * (Sorted by power) Magic missile, Fireball, Iceball, Kill: damage a single opponent; ranged weapons are more convenient, because they have infinite ammunition and they consume no reagents.
 * Tremor: damages all enemies at once; good to speed up battles against large numbers of enemies.