Jump to content

Template:Spells

From Apogea Wiki
Revision as of 22:38, 30 January 2026 by Jayarrowz (talk | contribs) (Created page with "{{#cargo_declare:_table=Spells |name=String |sprite=String |type=String |magic=Integer |ability=Integer |cost=String |hp_cast=String |cooldown=String |description=Text |formula=String }}<noinclude> This template declares the Cargo table structure for spells. == Fields == {| class="wikitable" |- ! Field !! Type !! Description |- | name || String || The spell's name |- | sprite || String || Custom sprite override (defaults to type-based spellbook) |- | type || String || S...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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