Template:Modifier

From Calamity Mod Wiki
Jump to navigation Jump to search
This template is i18n-ready, which means it is easy to localize for different languages. Please see I18n & l10n for Templates to learn more.
See Template:Modifier/l10n for the localization of this template.
Template-info.svg Documentation The documentation below is transcluded from Template:Modifier/doc. (edit | history)

This template is used to display a weapon's or tool's best modifier.

Usage

{{ modifier | <item category> | plural = 1 (optional) | historical = 1 (optional) }}

List of item categories
Parameter value Description
melee Most melee weapons.
meleealt Weapons that cannot get size modifiers. For example: yoyos, flails, and spears.
speedy Weapons that can receive modifiers to speed, but not to some other stat like mana cost or knockback.
harvest Melee "weapons" that are mainly used for harvesting tiles.
harvestalt Weapons listed on Mining speed where Legendary is equivalent to Light in speed boost.
harvestmech Harvesting tools that do not benefit from Mining speed.
ranged Most ranged weapons.
rangedalt Weapons that cannot get speed modifiers.
rangednokb Ranged weapons with no knockback.
nokb Weapons with no knockback.
nokbalt Weapons with no knockback that do not benefit from higher speed.
magic Most magic weapons.
magicalt Magic weapons with a base use time lower than 5.
magicalt2 Magic weapons with both base use time and mana cost lower than 5.
magicsummon Magic weapons that continue dealing damage after the user switches weapons (and have non-zero knockback).
magicnokb Magic weapons with no knockback.
magiclow Magic weapons with a base mana cost lower than 5.
summon Most summon weapons.
summonnokb Summon weapons with no knockback.
summonalt Summon weapons with low base damage.
summonactive Summon weapons that don't use up minion slots and can be used in quick succession, e.g. Borealis Bomber.
rogue Most rogue weapons.
lowdamage Most low base damage weapons that cannot receive damage modifiers due to rounding.
none Any weapon that can't be reforged.

Examples

{{modifier|melee|plural=1}} → Their best modifier was Legendary. {{modifier|melee|plural=1|historical=1}} → Their best modifier was Legendary.