User:Rainflight24/Attribute

From Monumenta Wiki
Jump to navigation Jump to search


Usage: {{User:Rainflight24/Attribute|attributename|magnitude|isbase|nocategory}}

The third parameter alters display formatting for attributes treated as "base", specifically Attack Damage Add/Attack Speed Add/Projectile Damage Add/Projectile Speed Add on mainhands, and Armor/Agility on armor slot items. Automatic categorization for base attributes is disabled.

Examples

  1. {{User:Rainflight24/Attribute|attribute name add|5}}
    • +5 Attribute Name
    • Category:Attribute Name Items
  2. {{User:Rainflight24/Attribute|Attribute Name Multiply|-0.10}}
    • -10% Attribute Name
    • Category:Attribute Name Percent Items
  3. {{User:Rainflight24/Attribute|Armor Add|-2|true}}
    • -2 Armor
    • No categories are generated for base stats.
  4. {{User:Rainflight24/Attribute|Attribute Name Multiply|0.50|true}}
    • +50% Attribute Name
    • No categories are generated as nocategory is a non-empty value.
List of Some Attributes
Type Result
Speed Add +10 Speed
Speed Multiply +1000% Speed
Attack Damage Add +10 Attack Damage
Attack Damage Multiply +1000% Attack Damage
Attack Speed Add +10 Attack Speed
Attack Speed Multiply +1000% Attack Speed
Projectile Damage Add +10 Projectile Damage
Projectile Damage Multiply +1000% Projectile Damage
Projectile Speed Add +10 Projectile Speed
Projectile Speed Multiply +1000% Projectile Speed
Armor, Armor Add +10 Armor
Armor Multiply +1000% Armor
Agility, Agility Add +10 Agility
Agility Multiply +1000% Agility
Max Health Add +10 Max Health
Max Health Multiply +1000% Max Health
Spell Power, Spell Power Multiply +1000% Spell Power
Magic Damage Add +10 Magic Damage
Magic Damage Multiply +1000% Magic Damage
Knockback Resistance, Knockback Resistance Add +10 Knockback Resistance
Thorns Damage, Thorns Damage Add +10 Thorns Damage
Thorns Damage Multiply +1000% Thorns Damage
Throw Rate, Throw Rate Add +10 Throw Rate
Throw Rate Multiply +1000% Throw Rate

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
1attributename

The attribute name followed by add (if additive stat) or multiply (if percent stat).

Example
Speed Add, Speed Multiply
Stringrequired
2magnitude

Attribute magnitude, as the raw number if add or a percent/100 if multiply.

Example
0.05, -10, +10
Stringrequired
3isbase

Whether or not an attribute is a base. Non-empty values are considered true.

Booleanoptional
4nocategory

Whether or not an attribute should receive categories. Non-empty values are considered true.

Booleanoptional