Jump to content

Template:Spells: Difference between revisions

From Apogea Wiki
Jayarrowz (talk | contribs)
No edit summary
Jayarrowz (talk | contribs)
No edit summary
 
Line 14: Line 14:
|attack_speed=String
|attack_speed=String
|effect=Text
|effect=Text
}}<noinclude>
}}
 
<noinclude>
This template declares the Cargo table structure for spells.
This template declares the Cargo table structure for spells.



Latest revision as of 23:46, 30 January 2026

This template defines the table "Spells". View table.


This template declares the Cargo table structure for spells.

Fields

[edit source]
Field Type Description Color
name String The spell's name
sprite String Sprite name (e.g., "Red Book", "Blue Book")
type String Spell type (Light, Blade, Physical, Death, Fire, etc.)
magic Integer Magic stat requirement
ability Integer Ability stat requirement
cost String Mana or health cost
hp_cast String Whether spell can be cast using health ("yes" or "no")
cooldown String Cooldown in seconds
description Text Spell description
base_damage String Base damage (e.g., "20 Base Damage") Gold
magic_scaling String Magic scaling (e.g., "75% Magic") Purple
damage_scaling String Damage scaling (e.g., "65% Damage") Purple
attack_speed String Attack speed bonus (e.g., "+10 Attack Speed") Gold
effect Text Secondary effects (slow, stun, burn, etc.) Columbia

Example

[edit source]
{{SpellEntry
|name=Crying Arrow
|sprite=Red Book
|type=Arrow
|magic=10
|ability=35
|cost=175
|description=Casts multiple arrows towards direction.
|base_damage=35 Base Damage
|magic_scaling=25% Magic
|damage_scaling=65% Damage
|effect=Inflicts thrash
}}