Template:Infobox spell
Jump to navigation
Jump to search
This template defines the table "Spells". View table.
Documentation
- See also: Template:SpellQuery and Template:SpellQueryIcon.
A template used for Spell pages. Functions with individual spells and spells with variants using tabbers.
Usage
Individual Spell
Spells with Variants
(Up to 8 tabs are supported; any more will require changes to this template.)
Parameters
Individual Spell
Parameter | Description | Param name in config |
---|---|---|
image |
The name of the image file (without the File: prefix) | |
name |
The name of the spell. This should generally match the name of the page for individual spells. | gun_actions: name
|
id |
The spell's ID, as used in-game. A redirect page from this ID to the spell page should also be created. | gun_actions: id
|
description |
The description of the spell, as listed in-game. | gun_actions: description
|
type |
The type of the spell. There are 8 valid spell types: | gun_actions: type
|
Optional parameters | ||
sortKey |
Can be used to group this spell with other spells sharing the same sortKey value in sorted lists. |
N/A |
tags |
Comma separated list of tagged Spell Categories this spell belongs to. | N/A |
uses |
The number of times a spell can be cast before it is depleted. | gun_actions: max_uses
|
manaDrain |
The amount of mana required to cast the spell. | gun_actions: mana
|
draw |
Some spells (mostly multicast) increase the count of spells remaining to cast. | draw_actions()
|
damageProjectile |
The amount of Impact damage dealt by the spell. | gun_actions: max_uses
|
damageMelee |
The amount of Melee damage dealt by the spell. | damage_by_type: melee
|
damageElectric |
The amount of Electrical damage dealt by the spell. | damage_by_type: electricity
|
damageFire |
The amount of Fire damage dealt by the spell. | damage_by_type: fire
|
damageExplosion |
The amount of Explosive damage dealt by the spell. | config_explosion: damage
|
damageIce |
The amount of Ice damage dealt by the spell. | damage_by_type: ice
|
damageSlice |
The amount of Slicing damage dealt by the spell. | damage_by_type: slice
|
damageDrill |
The amount of Drilling damage dealt by the spell. | damage_by_type: drill
|
damageHealing |
The amount of Healing damage dealt by the spell. | damage_by_type: healing
|
damageHoly |
The amount of Holy damage dealt by the spell. | damage_by_type: holy
|
maxDuraToDestroy |
The highest durability of material this spell can destroy. | max_durability_to_destroy
|
rayEnergy |
Determines how much energy a spell has to destroy materials. | ray_energy
|
dmgEveryXFrames |
By default projectiles do damage every tick, this configures a longer interval | damage_every_x_frames
|
radius |
The radius of the circular area in which the damage of the spell (if any) is dealt. For spells that add radius, prefix with a + . |
explosion_radius
|
spread |
The range of deviation of a spell from the aimed direction. | c.spread_degrees
|
pattern |
Mostly for Formation multicast, the angle of arc subdivided to space projectiles. | c.pattern_degrees
|
speedMin |
Projectile starting speed, lower end of range. | ProjectileComponent: speed_min
|
speedMax |
Projectile starting speed, upper end of range. | ProjectileComponent: speed_max
|
lifetime |
The duration of which a projectile is active - see also lifetimeRandom . This value is not listed ingame. |
ProjectileComponent: lifetime
|
lifetimeRandom |
For spells with variance in base lifetime, this sets the range. Is in the form lifetime ± lifetimeRandom , e.g. 50 ± 7 giving minimum 43, maximum 57. This value is not listed ingame. |
ProjectileComponent: lifetime_randomness
|
altLifetimeMin |
Alternate component lifetime, lower end of range. This imposes a cap on the maximum lifespan of a projectile, overriding lifetime. | LifetimeComponent: lifetime
|
altLifetimeMax |
Alternate component lifetime, upper end of range. This imposes a cap on the maximum lifespan of a projectile, overriding lifetime. | LifetimeComponent: lifetime
|
timerLifetime |
For timer spells, gives the maximum duration before a trigger payload is released. This value is not listed ingame. | gun_actions: add_projectile_trigger_timer
|
hitShooterFrames |
'grace period' before friendly-fire projectile can hurt you. | gun_actions: collide_with_shooter_frames
|
castDelay |
A modifier to the spell cooldown: the minimum time between spell casts. | c.fire_rate_wait
|
rechargeDelay |
A modifier to the wand cooldown, triggered after the last spell in the queue is cast. | gun_actions: current_reload_time
|
spreadMod |
A modifier to the spread of the affected projectile. | c.spread_degrees
|
speedMod |
A modifier to the speed of the affected projectile. | c.speed_multiplier
|
lifetimeMod |
A modifier to the lifetime of the affected projectile. This value is not listed ingame. | lifetime_add
|
recoil |
A modifier to the recoil of the affected projectile. This value is not listed ingame. | shot_effects.recoil_knockback
|
bounces |
A modifier to the number of bounces of the affected projectile. | bounces
|
criticalChance |
The chance that a spell will critically strike. | damage_critical_chance
|
effect |
Additional notes and effects of the spell that do not fall within the previous parameters. E.g. Used in Black Hole | N/A |
spellTier |
Tiers that the spell belongs in listed in a comma-separated value format. | spawn_level
|
spawnProbability |
Spawn Probability per Tier listed in a comma-separated value format. | spawn_probability
|
unlockCondition |
Notes about unlock requirements. | spawn_requires_flag
|
speed |
Deprecated, use speedMin and speedMax instead Projectile starting speed. |
|
Spells with Variants
Parameter | Description |
---|---|
baseName |
The name of base spell. |
sortKey |
Optional. Can be used to group spells sharing the same sortKey value in sorted lists. Variants share the same sortKey , but are automatically suffixed with an index number.
|
commonTags |
Optional. Comma separated list of tagged Spell Categories all variants belong to. |
type |
The type of the spell family. Valid types include: |
tab , tab2 ... tab8 |
Name of the variant (e.g. Timer, Trigger, Large, Giant) |
image , image2 ... image8 |
The name of the image file of the variant without the File: prefix. |
tags , tags2 ... tags8 |
Optional. Comma separated list of tagged Spell Categories this spell variant belongs to (in addition to commonTags ).
|
name , name2 ... name8 |
The full name of the spell variant. |
id , id2 ... id8 |
The code-ID of the spell. |
description , description2 ... description8 |
The description of the spell variant, as listed in-game. |
uses , uses2 ... uses8 |
The number of times a spell variant can be cast before it is depleted. |
manaDrain , manaDrain2 ... manaDrain8 |
The amount of mana required to cast the spell variant. |
damageProjectile , damageProjectile2 ... damageProjectile8 |
The amount of Impact damage dealt by the spell variant. |
damageMelee , damageMelee2 ... damageMelee8 |
The amount of Melee damage dealt by the spell variant. |
damageElectric , damageElectric2 ... damageElectric8 |
The amount of Electrical damage dealt by the spell variant. |
damageFire , damageFire2 ... damageFire8 |
The amount of Fire damage dealt by the spell variant. |
damageExplosion , damageExplosion2 ... damageExplosion8 |
The amount of Explosive damage dealt by the spell variant. |
damageIce , damageIce2 ... damageIce8 |
The amount of Ice damage dealt by the spell variant. |
damageSlice , damageSlice2 ... damageSlice8 |
The amount of Slicing damage dealt by the spell variant. |
damageDrill , damageDrill2 ... damageDrill8 |
The amount of Drilling damage dealt by the spell variant. |
damageHealing , damageHealing2 ... damageHealing8 |
The amount of Healing damage dealt by the spell variant. |
damageHoly , damageHoly2 ... damageHoly8 |
The amount of Holy damage dealt by the spell variant. |
radius , radius2 ... radius8 |
The radius of the circular area in which the damage of the spell variant (if any) is dealt. |
spread , spread2 ... spread8 |
The range of deviation of a spell variant from the aimed direction. |
speed , speed2 ... speed8 |
The rate at which the projectile travels. |
lifetime , lifetime2 ... lifetime8 |
The duration of which a projectile is active. This value is not listed ingame. |
timerLifetime , timerLifetime2 ... timerLifetime8 |
For timer spells, the duration of a projectile after which another spell is cast. This value is not listed ingame. |
castDelay , castDelay2 ... castDelay8 |
A modifier to the spell cooldown: the minimum time between spell casts. |
rechargeDelay , rechargeDelay2 ... rechargeDelay8 |
A modifier to the wand cooldown, triggered after the last spell in the queue is cast. |
spreadMod , spreadMod2 ... spreadMod8 |
A modifier to the spread of the affected projectile. |
speedMod , speedMod2 ... speedMod8 |
A modifier to the speed of the affected projectile. |
lifetimeMod , lifetimeMod2 ... lifetimeMod8 |
A modifier to the lifetime of the affected projectile. This value is not listed ingame. |
recoil , recoil2 ... recoil8 |
A modifier to the recoil of the affected projectile. This value is not listed ingame. |
bounces , bounces2 ... bounces8 |
A modifier to the number of bounces of the affected projectile. |
criticalChance , criticalChance2 ... criticalChance8 |
The chance that a spell variant will critically strike. |
effect , effect2 ... effect8 |
Additional notes and effects of the spell variant that do not fall within the previous parameters. |
spellTier , spellTier2 ... spellTier8 |
Tiers that the spell belongs in listed in a comma-separated value format. |
spawnProbability , spawnProbability2 ... spawnProbability8 |
Spawn Probability per Tier listed in a comma-separated value format. |
unlockCondition , unlockCondition2 ... unlockCondition8 |
Notes about unlock requirements. |
Examples
Individual Spell
Spells with Variants
New theme
Single spells
Beta tag testing
beta in tags (single)
beta in tags (multi)
Using these to test spell tier display (may look broken), should not appear on any real pages.