# XPCOST (Data: spells.lst)

## Status

None

## Syntax

`XPCOST:x`

## Parameters

- x: Number (Spell XP Cost)

## What it does

Denotes how much the spell costs to cast, used for determining potion, wand, etc costs.

XPCOST must be an integer >= 0

## Example

`XPCOST:1250`

Spell costs 1250 Experience points to cast.

.MOD Example (Overwriting):

Initial Spell: `<spell name> <tab> XPCOST:1250`

Modified By: `<spell name>.MOD <tab> XPCOST:750`

Is Equivalent To: `<spell name> <tab> XPCOST:750`

Spell costs 750 Experience points to cast.

Documentation built with Hugo using the Material theme.