User:Rainflight24/Attribute
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
{{User:Rainflight24/Attribute|attribute name add|5}}
- +5 Attribute Name
- Category:Attribute Name Items
- +5 Attribute Name
{{User:Rainflight24/Attribute|Attribute Name Multiply|-0.10}}
- -10% Attribute Name
- Category:Attribute Name Percent Items
- -10% Attribute Name
{{User:Rainflight24/Attribute|Armor Add|-2|true}}
- -2 Armor
- No categories are generated for base stats.
- -2 Armor
{{User:Rainflight24/Attribute|Attribute Name Multiply|0.50|true}}
- +50% Attribute Name
- No categories are generated as nocategory is a non-empty value.
- +50% Attribute Name
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 |
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | attributename | The attribute name followed by add (if additive stat) or multiply (if percent stat).
| String | required |
2 | magnitude | Attribute magnitude, as the raw number if add or a percent/100 if multiply.
| String | required |
3 | isbase | Whether or not an attribute is a base. Non-empty values are considered true. | Boolean | optional |
4 | nocategory | Whether or not an attribute should receive categories. Non-empty values are considered true. | Boolean | optional |