From Brotato Wiki

No edit summary
(Revolver)
Tag: Reverted
Line 8: Line 8:
|3|epic=30(80%{{StatIcon|MeleeDamage}})
|3|epic=30(80%{{StatIcon|MeleeDamage}})
|4|legendary=50(80%{{StatIcon|MeleeDamage}})
|4|legendary=50(80%{{StatIcon|MeleeDamage}})
|#default=-}}
|#defaultR
|attackspeed={{#switch:{{lc:{{{3|}}}}}
|attackspeed={{#switch:{{lc:{{{3|}}}}}
|1|common=1.66s
|1|common=1.66s
Line 2,224: Line 2,224:
|4|legendary=130
|4|legendary=130
|#default=-}}
|#default=-}}
|special=Cooldown is 3.47s every 6 shots
|special=Cooldown is <span class="colorrarity1">3.47s</span>/<span class="colorrarity2">3.33s</span>/<span class="colorrarity3">3.20s</span>/<span class="colorrarity4">3.07s</span> every 6 shots
|unlockedby=Default
|unlockedby=Default
|#default=-
|#default=-

Revision as of 23:13, 23 February 2023

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}} {{#switch:hand cacti club = Primitive, Heavy
Damage Tier 1 {{Weapon Data|Hand|damage|1}} {{#switch:hand cacti club = 10(80%Melee Damage.png) {{Weapon Data|Hand|damage|common}}
Damage Tier 2 {{Weapon Data|Hand|damage|2}} {{#switch:hand cacti club = 20(80%Melee Damage.png) {{Weapon Data|Hand|damage|rare}}
Damage Tier 3 {{Weapon Data|Hand|damage|3}} {{#switch:hand cacti club = 30(80%Melee Damage.png) {{Weapon Data|Hand|damage|epic}}
Damage Tier 4 {{Weapon Data|Hand|damage|4}} {{#switch:hand cacti club = 50(80%Melee Damage.png) {{Weapon Data|Hand|damage|legendary}}
Attack Speed {{Weapon Data|Hand|attackspeed|1}} {{#switch:hand cacti club = Weapon name not found
DPS {{Weapon Data|Hand|dps|1}} {{#switch:hand cacti club = Weapon name not found
Crit {{Weapon Data|Hand|crit|1}} {{#switch:hand cacti club = Weapon name not found
Range {{Weapon Data|Hand|range|1}} {{#switch:hand cacti club = Weapon name not found
Knockback {{Weapon Data|Hand|knockback|1}} {{#switch:hand cacti club = Weapon name not found
Life Steal {{Weapon Data|Hand|lifesteal|1}} {{#switch:hand cacti club = Weapon name not found
Special Effects {{Weapon Data|Hand|special|1}} {{#switch:hand cacti club = Weapon name not found
Price {{Weapon Data|Hand|price|1}} {{#switch:hand cacti club = Weapon name not found
Unlocked By {{Weapon Data|Hand|unlockedby|1}} {{#switch:hand cacti club = Weapon name not found
Attack Type {{Weapon Data|Hand|attacktype|1}} {{#switch:hand cacti club = Weapon name not found

Error

  • {{Weapon Data|Invalid name|damage|common}} = {{#switch:acid

|cacti club = 10(80%Melee Damage.png)

Tier Colors

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

  • {{Color|tier1|{{Weapon Data|Wrench|damage|1}}}} = {{#switch:wrench

|cacti club = 10(80%Melee Damage.png)

  • {{Color|tier2|{{Weapon Data|Wrench|damage|2}}}} = {{#switch:wrench

|cacti club = 20(80%Melee Damage.png)

  • {{Color|tier3|{{Weapon Data|Wrench|damage|3}}}} = {{#switch:wrench

|cacti club = 30(80%Melee Damage.png)

  • {{Color|tier4|{{Weapon Data|Wrench|damage|4}}}} = {{#switch:wrench

|cacti club = 50(80%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