> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/0x48lab/skills/llms.txt
> Use this file to discover all available pages before exploring further.

# Spellbook

> Obtain a spellbook, add spells with scrolls, and use it to cast magic.

The spellbook is the primary tool of every mage. You must hold one in your main hand or off-hand to cast any spell learned in it. An empty spellbook contains no spells — you add them one at a time using scrolls.

## Obtaining a spellbook

Buy an empty spellbook from a **level-3 librarian villager** for 30–50 emeralds. Each librarian stocks one at a time, restocked on the normal villager trade-replenishment schedule.

<Note>
  Librarians also sell 1st- and 2nd-circle scrolls at lower levels, so you can start acquiring spells before you can afford the spellbook itself.
</Note>

### Admin commands

Server operators can issue spellbooks directly.

```text theme={null}
/spellbook create          — give yourself a blank spellbook
/spellbook full            — give yourself a spellbook with every spell pre-recorded
/spellbook list            — list all known spell names
```

## Adding spells

<Steps>
  <Step title="Obtain a scroll">
    Scrolls drop from mobs, appear in loot chests, or can be crafted with the Inscription skill via `/scribe <spell>`. See the [scrolls page](/magic/scrolls) for the full list of sources.
  </Step>

  <Step title="Use the scroll">
    Hold the scroll and right-click, or run `/cast` while holding it. The spell is consumed and permanently recorded in your spellbook.
  </Step>

  <Step title="Cast the spell">
    With your spellbook in main hand or off-hand, run `/cast <spell_name>`. The game checks your spellbook, reagents, and mana before starting the cast sequence.
  </Step>
</Steps>

<Warning>
  If you lose or destroy your spellbook, all recorded spells are gone. Keep a backup or store scrolls for relearning them.
</Warning>

## Spellbook lore display

Right-clicking the spellbook opens it as a written book. Each spell occupies one page formatted like this:

```text theme={null}
[Fireball]
━━━━━━━━━━━━━━━━
Circle:   3rd
Mana:     3
Reagents: Gunpowder + Spider Eye
━━━━━━━━━━━━━━━━
Effect:
Hurls a fireball that sets the
target on fire for 3 seconds.
━━━━━━━━━━━━━━━━
Cast: /cast fireball
```

The book header shows the total number of spells recorded, e.g. `Spells: 12`.

## Casting from the spellbook

Run `/cast <spell_name>` while the spellbook is in either hand. Tab-completion lists all spells you have recorded.

```text theme={null}
/cast fireball
/cast greater_heal
/cast gate
/cast cancel        — abort the current cast with no resource cost
```

<Tip>
  You can also speak Power Words — the UO-style incantations displayed in the spellbook — in chat to cast a spell. For example, typing `Vas Flam` fires Fireball. Nearby players within 20 blocks hear the incantation.
</Tip>

## Casting rules

| Requirement                   | Notes                                                          |
| ----------------------------- | -------------------------------------------------------------- |
| Spellbook in main or off-hand | The book is checked at the moment `/cast` is run               |
| Spell recorded in the book    | Scrolls bypass this requirement entirely                       |
| All reagents present          | Checked before casting begins; reagents consumed on resolution |
| Sufficient mana               | Minimum mana for the spell's circle must be available          |

Moving more than **0.5 blocks** or taking damage during the CASTING phase interrupts the spell. Mana is consumed on interruption, but reagents are not.
