Template:Spells
This template defines the table "Spells". View table. This template declares the Cargo table structure for spells.
Fields
| Field | Type | Description |
|---|---|---|
| name | String | The spell's name |
| sprite | String | Custom sprite override (defaults to type-based spellbook) |
| type | String | Spell type (Light, Blade, Physical, Death, Fire, Arrow, Time, Energy, Heal, Holy, Earth, Mystic, Defense, Water, Conjure) |
| magic | Integer | Magic stat requirement |
| ability | Integer | Ability stat requirement |
| cost | String | Mana or health cost (can be a range like "50-250") |
| hp_cast | String | Whether spell can be cast using health ("yes" or "no") |
| cooldown | String | Cooldown in seconds |
| description | Text | Spell description |
| formula | String | Damage/healing formula |