From Brotato Wiki

(add Attack Type (Thrust/Sweep))
(attack type: update ranged weapons to not have any (instead of returning "-"), this makes it easier to work with in templates)
Line 1,509: Line 1,509:
|special=Pierces up to <span class="colorrarity1">1</span>/<span class="colorrarity2">2</span>/<span class="colorrarity3">3</span>/<span class="colorrarity4">4</span> times on critical hit
|special=Pierces up to <span class="colorrarity1">1</span>/<span class="colorrarity2">2</span>/<span class="colorrarity3">3</span>/<span class="colorrarity4">4</span> times on critical hit
|unlockedby=Default
|unlockedby=Default
|attacktype=-
|attacktype=
|#default=-
|#default=-
}}
}}
Line 1,565: Line 1,565:
|special=Pierces <span class="colorrarity1">2</span>/<span class="colorrarity2">2</span>/<span class="colorrarity3">2</span>/<span class="colorrarity4">3</span> enemy dealing <span class="colorrarity1">-30%</span>/<span class="colorrarity2">-30%</span>/<span class="colorrarity3">-30%</span>/<span class="colorrarity4">-15%</span> less to rest of the enemies
|special=Pierces <span class="colorrarity1">2</span>/<span class="colorrarity2">2</span>/<span class="colorrarity3">2</span>/<span class="colorrarity4">3</span> enemy dealing <span class="colorrarity1">-30%</span>/<span class="colorrarity2">-30%</span>/<span class="colorrarity3">-30%</span>/<span class="colorrarity4">-15%</span> less to rest of the enemies
|unlockedby=Default
|unlockedby=Default
|attacktype=-
|attacktype=
|#default=-
|#default=-
}}
}}
Line 1,621: Line 1,621:
|special=Deals -/<span class="colorrarity2">3x5</span>/<span class="colorrarity3">6x6</span>/<span class="colorrarity4">10x10</span>(100%{{StatIcon|ElementalDamage}}) burning damage<br> Pierces 99 enemies dealing 1 damage
|special=Deals -/<span class="colorrarity2">3x5</span>/<span class="colorrarity3">6x6</span>/<span class="colorrarity4">10x10</span>(100%{{StatIcon|ElementalDamage}}) burning damage<br> Pierces 99 enemies dealing 1 damage
|unlockedby=Default
|unlockedby=Default
|attacktype=-
|attacktype=
|#default=-
|#default=-
}}
}}
Line 1,677: Line 1,677:
|special=+1 [[Max HP]] for every <span class="colorrarity1">20</span>/<span class="colorrarity2">18</span>/<span class="colorrarity3">16</span>/<span class="colorrarity4">12</span> kills in a wave with this weapon
|special=+1 [[Max HP]] for every <span class="colorrarity1">20</span>/<span class="colorrarity2">18</span>/<span class="colorrarity3">16</span>/<span class="colorrarity4">12</span> kills in a wave with this weapon
|unlockedby=Default
|unlockedby=Default
|attacktype=-
|attacktype=
|#default=-
|#default=-
}}
}}
Line 1,733: Line 1,733:
|special=Pierces 1 enemy dealing -25% less to the second enemy
|special=Pierces 1 enemy dealing -25% less to the second enemy
|unlockedby=Default
|unlockedby=Default
|attacktype=-
|attacktype=
|#default=-
|#default=-
}}
}}
Line 1,789: Line 1,789:
|special=
|special=
|unlockedby=Default
|unlockedby=Default
|attacktype=-
|attacktype=
|#default=-
|#default=-
}}
}}
Line 1,845: Line 1,845:
|special=Pierces 1 enemy dealing -50% less to the second enemy
|special=Pierces 1 enemy dealing -50% less to the second enemy
|unlockedby=Default
|unlockedby=Default
|attacktype=-
|attacktype=
|#default=-
|#default=-
}}
}}
Line 2,011: Line 2,011:
|special=Pierces 1 enemy dealing -50% less to the second enemy
|special=Pierces 1 enemy dealing -50% less to the second enemy
|unlockedby=Default
|unlockedby=Default
|attacktype=-
|attacktype=
|#default=-
|#default=-
}}
}}
Line 2,122: Line 2,122:
|special=Projectiles explode on hit
|special=Projectiles explode on hit
|unlockedby=Default
|unlockedby=Default
|attacktype=-
|attacktype=
|#default=-
|#default=-
}}
}}
Line 2,178: Line 2,178:
|special=<span class="colorrarity1">50%</span>/<span class="colorrarity2">65%</span>/<span class="colorrarity3">80%</span>/<span class="colorrarity4">100%</span> chance for projectiles to explode on hit. Pierces 3 enemies dealing 100% damage
|special=<span class="colorrarity1">50%</span>/<span class="colorrarity2">65%</span>/<span class="colorrarity3">80%</span>/<span class="colorrarity4">100%</span> chance for projectiles to explode on hit. Pierces 3 enemies dealing 100% damage
|unlockedby=Default
|unlockedby=Default
|attacktype=-
|attacktype=
|#default=-
|#default=-
}}
}}
Line 2,234: Line 2,234:
|special=Critical hits bounces <span class="colorrarity1">1</span>/<span class="colorrarity2">2</span>/<span class="colorrarity3">3</span>/<span class="colorrarity4">4</span> times
|special=Critical hits bounces <span class="colorrarity1">1</span>/<span class="colorrarity2">2</span>/<span class="colorrarity3">3</span>/<span class="colorrarity4">4</span> times
|unlockedby=Default
|unlockedby=Default
|attacktype=-
|attacktype=
|#default=-
|#default=-
}}
}}
Line 2,290: Line 2,290:
|special=Bounces <span class="colorrarity1">1</span>/<span class="colorrarity2">2</span>/<span class="colorrarity3">3</span>/<span class="colorrarity4">4</span> times
|special=Bounces <span class="colorrarity1">1</span>/<span class="colorrarity2">2</span>/<span class="colorrarity3">3</span>/<span class="colorrarity4">4</span> times
|unlockedby=Default
|unlockedby=Default
|attacktype=-
|attacktype=
|#default=-
|#default=-
}}
}}
Line 2,346: Line 2,346:
|special=
|special=
|unlockedby=Default
|unlockedby=Default
|attacktype=-
|attacktype=
|#default=-
|#default=-
}}
}}
Line 2,457: Line 2,457:
|special=Slows enemies in a radius around the projectile
|special=Slows enemies in a radius around the projectile
|unlockedby=Default
|unlockedby=Default
|attacktype=-
|attacktype=
|#default=-
|#default=-
}}
}}
Line 2,513: Line 2,513:
|special=Deals <span class="colorrarity1">3x3</span>/<span class="colorrarity2">5x4</span>/<span class="colorrarity3">8x5</span>/<span class="colorrarity4">12x6</span>(100%{{StatIcon|ElementalDamage}}) burning damage
|special=Deals <span class="colorrarity1">3x3</span>/<span class="colorrarity2">5x4</span>/<span class="colorrarity3">8x5</span>/<span class="colorrarity4">12x6</span>(100%{{StatIcon|ElementalDamage}}) burning damage
|unlockedby=Default
|unlockedby=Default
|attacktype=-
|attacktype=
|#default=-
|#default=-
}}
}}

Revision as of 11:38, 9 January 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}} 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(50%Melee Damage.png)/s
Crit {{Weapon Data|Hand|crit|1}} 1%(x1.5)
Range {{Weapon Data|Hand|range|1}} 150
Knockback {{Weapon Data|Hand|knockback|1}} 30
Life Steal {{Weapon Data|Hand|lifesteal|1}} 0.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