Template:Spells: Difference between revisions
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
|damage_scaling=String | |damage_scaling=String | ||
|attack_speed=String | |attack_speed=String | ||
|effect=Text | |||
}}<noinclude> | }}<noinclude> | ||
This template declares the Cargo table structure for spells. | This template declares the Cargo table structure for spells. | ||
| Line 46: | Line 47: | ||
|- | |- | ||
| attack_speed || String || Attack speed bonus (e.g., "+10 Attack Speed") || Gold | | attack_speed || String || Attack speed bonus (e.g., "+10 Attack Speed") || Gold | ||
|- | |||
| effect || Text || Secondary effects (slow, stun, burn, etc.) || Columbia | |||
|} | |} | ||
| Line 61: | Line 64: | ||
|magic_scaling=25% Magic | |magic_scaling=25% Magic | ||
|damage_scaling=65% Damage | |damage_scaling=65% Damage | ||
|effect=Inflicts thrash | |||
}} | }} | ||
</pre> | </pre> | ||
Revision as of 23:40, 30 January 2026
This template defines the table "Spells". View table. This template declares the Cargo table structure for spells.
Fields
| 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
{{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
}}