From Brotato Wiki

(1.1 patch)
(1.1 patch)
Line 956: Line 956:
|damage={{#switch:{{lc:{{{3|}}}}}
|damage={{#switch:{{lc:{{{3|}}}}}
|1|common=10(50%{{StatIcon|MeleeDamage}}50%{{StatIcon|ElementalDamage}}50%{{StatIcon|Engineering}})
|1|common=10(50%{{StatIcon|MeleeDamage}}50%{{StatIcon|ElementalDamage}}50%{{StatIcon|Engineering}})
|2|rare=15(55%{{StatIcon|MeleeDamage}}55%{{StatIcon|ElementalDamage}}55%{{StatIcon|Engineering}})
|2|rare=15(60%{{StatIcon|MeleeDamage}}60%{{StatIcon|ElementalDamage}}60%{{StatIcon|Engineering}})
|3|epic=20(60%{{StatIcon|MeleeDamage}}60%{{StatIcon|ElementalDamage}}60%{{StatIcon|Engineering}})
|3|epic=20(70%{{StatIcon|MeleeDamage}}70%{{StatIcon|ElementalDamage}}70%{{StatIcon|Engineering}})
|4|legendary=25(65%{{StatIcon|MeleeDamage}}65%{{StatIcon|ElementalDamage}}65%{{StatIcon|Engineering}})
|4|legendary=25(80%{{StatIcon|MeleeDamage}}80%{{StatIcon|ElementalDamage}}80%{{StatIcon|Engineering}})
|#default=-}}
|#default=-}}
|attackspeed={{#switch:{{lc:{{{3|}}}}}
|attackspeed={{#switch:{{lc:{{{3|}}}}}
Line 967: Line 967:
|#default=-}}
|#default=-}}
|dps={{#switch:{{lc:{{{3|}}}}}
|dps={{#switch:{{lc:{{{3|}}}}}
|1|common=8.1(40%{{StatIcon|MeleeDamage}}40%{{StatIcon|ElementalDamage}}40%{{StatIcon|Engineering}})/s
|1|common=8.1(41%{{StatIcon|MeleeDamage}}41%{{StatIcon|ElementalDamage}}41%{{StatIcon|Engineering}})/s
|2|rare=13.2(48%{{StatIcon|MeleeDamage}}48%{{StatIcon|ElementalDamage}}48%{{StatIcon|Engineering}})/s
|2|rare=13.2(53%{{StatIcon|MeleeDamage}}53%{{StatIcon|ElementalDamage}}53%{{StatIcon|Engineering}})/s
|3|epic=18.9(56%{{StatIcon|MeleeDamage}}56%{{StatIcon|ElementalDamage}}56%{{StatIcon|Engineering}})/s
|3|epic=18.9(66%{{StatIcon|MeleeDamage}}66%{{StatIcon|ElementalDamage}}66%{{StatIcon|Engineering}})/s
|4|legendary=25.5(66%{{StatIcon|MeleeDamage}}66%{{StatIcon|ElementalDamage}}66%{{StatIcon|Engineering}})/s
|4|legendary=25.5(82%{{StatIcon|MeleeDamage}}82%{{StatIcon|ElementalDamage}}82%{{StatIcon|Engineering}})/s
|#default=-}}
|#default=-}}
|crit={{#switch:{{lc:{{{3|}}}}}
|crit={{#switch:{{lc:{{{3|}}}}}

Revision as of 09:04, 31 October 2024

Database for all Weapon stats. Use the template to get data for the specified Weapon.

Usage

{{Weapon Data
|any weapon name
|rarity/types/damage/attackspeed/dps/crit/range/knockback/lifesteal/special/price/unlockedby
|common/rare/epic/legendary/1/2/3/4
}}

Examples

Data Code Preview Alias
Class {{Weapon Data|Hand|type|1}} Unarmed, Support
Damage Tier 1 {{Weapon Data|Hand|damage|1}} 1(50%Melee Damage.png) {{Weapon Data|Hand|damage|common}}
Damage Tier 2 {{Weapon Data|Hand|damage|2}} 1(50%Melee Damage.png) {{Weapon Data|Hand|damage|rare}}
Damage Tier 3 {{Weapon Data|Hand|damage|3}} 1(50%Melee Damage.png) {{Weapon Data|Hand|damage|epic}}
Damage Tier 4 {{Weapon Data|Hand|damage|4}} 1(50%Melee Damage.png) {{Weapon Data|Hand|damage|legendary}}
Attack Speed {{Weapon Data|Hand|attackspeed|1}} 1.01s
DPS {{Weapon Data|Hand|dps|1}} 1.0(49%Melee Damage.png)/s
Crit {{Weapon Data|Hand|crit|1}} x1.5 (1%)
Range {{Weapon Data|Hand|range|1}} 150
Knockback {{Weapon Data|Hand|knockback|1}} 30
Life Steal {{Weapon Data|Hand|lifesteal|1}} 0
Special Effects {{Weapon Data|Hand|special|1}} +3/+6/+9/+18 Harvesting
Price {{Weapon Data|Hand|price|1}} 10
Unlocked By {{Weapon Data|Hand|unlockedby|1}} Default
Attack Type {{Weapon Data|Hand|attacktype|1}} Thrust

Error

  • {{Weapon Data|Invalid name|damage|common}} = Weapon name not found

Tier Colors

Wrap the template in Template:Color to show tier colors:

  • {{Color|tier1|{{Weapon Data|Wrench|damage|1}}}} = 12(100%Melee Damage.png)
  • {{Color|tier2|{{Weapon Data|Wrench|damage|2}}}} = 16(100%Melee Damage.png)
  • {{Color|tier3|{{Weapon Data|Wrench|damage|3}}}} = 20(100%Melee Damage.png)
  • {{Color|tier4|{{Weapon Data|Wrench|damage|4}}}} = 24(100%Melee Damage.png)

No description.

Template parameters

ParameterDescriptionTypeStatus
Name1

As shown on the Weapons page

Example
Cacti Club
Stringrequired
Data2

Options: rarity, types, damage, attackspeed, dps, crit, range, knockback, lifesteal, special, price, unlockedby

Example
attackspeed
Stringrequired
Tier3

Options: 1, 2, 3, 4

Example
1
Stringrequired