From Brotato Wiki

(Screwdriver: Confirm landmine damage stat (via: items\all\landmines\landmine_stats.tres))
(Docs: Rework into a table)
Line 2,432: Line 2,432:
}}
}}
|#default=Weapon name not found}}</includeonly><noinclude>
|#default=Weapon name not found}}</includeonly><noinclude>
Usage:
Database for all [[Weapons|Weapon]] stats. Use the template to get data for the specified [[Weapons|Weapon]].
 
==Usage==
<pre>
<pre>
{{Weapon Data
{{Weapon Data
Line 2,440: Line 2,442:
}}
}}
</pre>
</pre>
<pre>
 
{{Weapon Data|Cacti Club|damage|common}}
==Examples==
</pre>
{| class="wikitable"
{{Weapon Data|Cacti Club|damage|common}}{{Weapon Data|Cacti Club|damage|rare}}
!Data
<pre>
!Code
{{Weapon Data|Cacti Club|attackspeed|common}}
!Preview
</pre>
!Alias
{{Weapon Data|Cacti Club|attackspeed|common}}
|-
<pre>
|Class
{{Weapon Data|Cacti Club|types|common}}
|<code><nowiki>{{Weapon Data|Hand|type|1}}</nowiki></code>
</pre>
|{{Weapon Data|Hand|types|common}}
{{Weapon Data|Cacti Club|types|common}}
|
|-
|Damage Tier 1
|<code><nowiki>{{Weapon Data|Hand|damage|1}}</nowiki></code>
|{{Weapon Data|Hand|damage|1}}
|<code><nowiki>{{Weapon Data|Hand|damage|common}}</nowiki></code>
|-
|Damage Tier 2
|<code><nowiki>{{Weapon Data|Hand|damage|2}}</nowiki></code>
|{{Weapon Data|Hand|damage|2}}
|<code><nowiki>{{Weapon Data|Hand|damage|rare}}</nowiki></code>
|-
|Damage Tier 3
|<code><nowiki>{{Weapon Data|Hand|damage|3}}</nowiki></code>
|{{Weapon Data|Hand|damage|3}}
|<code><nowiki>{{Weapon Data|Hand|damage|epic}}</nowiki></code>
|-
|Damage Tier 4
|<code><nowiki>{{Weapon Data|Hand|damage|4}}</nowiki></code>
|{{Weapon Data|Hand|damage|4}}
|<code><nowiki>{{Weapon Data|Hand|damage|legendary}}</nowiki></code>
|-
|Attack Speed
|<code><nowiki>{{Weapon Data|Hand|attackspeed|1}}</nowiki></code>
|{{Weapon Data|Hand|attackspeed|common}}
|
|-
|DPS
|<code><nowiki>{{Weapon Data|Hand|dps|1}}</nowiki></code>
|{{Weapon Data|Hand|dps|common}}
|
|-
|Crit
|<code><nowiki>{{Weapon Data|Hand|crit|1}}</nowiki></code>
|{{Weapon Data|Hand|crit|common}}
|
|-
|Range
|<code><nowiki>{{Weapon Data|Hand|range|1}}</nowiki></code>
|{{Weapon Data|Hand|range|common}}
|
|-
|Knockback
|<code><nowiki>{{Weapon Data|Hand|knockback|1}}</nowiki></code>
|{{Weapon Data|Hand|knockback|common}}
|
|-
|Life Steal
|<code><nowiki>{{Weapon Data|Hand|lifesteal|1}}</nowiki></code>
|{{Weapon Data|Hand|lifesteal|common}}
|
|-
|Special Effects
|<code><nowiki>{{Weapon Data|Hand|special|1}}</nowiki></code>
|{{Weapon Data|Hand|special|common}}
|
|-
|Price
|<code><nowiki>{{Weapon Data|Hand|price|1}}</nowiki></code>
|{{Weapon Data|Hand|price|common}}
|
|-
|Unlocked By
|<code><nowiki>{{Weapon Data|Hand|unlockedby|1}}</nowiki></code>
|{{Weapon Data|Hand|unlockedby|common}}
|
|}
 
===Error===
<pre>
<pre>
{{Weapon Data|Acid|damage|common}}
{{Weapon Data|Acid|damage|common}}
Line 2,457: Line 2,527:
{{Weapon Data|Acid|damage|common}}
{{Weapon Data|Acid|damage|common}}


===Coloured Rarity Text===
<code><nowiki><span class="colorrarity1">{{Weapon Data|Wrench|damage|1}}</nowiki><nowiki></span></nowiki></code>


<pre>
<pre>
Line 2,463: Line 2,535:
<span class="colorrarity1">{{Weapon Data|Wrench|damage|1}}<br></span><span class="colorrarity2">{{Weapon Data|Wrench|damage|2}}<br></span><span class="colorrarity3">{{Weapon Data|Wrench|damage|3}}<br></span><span class="colorrarity4">{{Weapon Data|Wrench|damage|4}}</span>
<span class="colorrarity1">{{Weapon Data|Wrench|damage|1}}<br></span><span class="colorrarity2">{{Weapon Data|Wrench|damage|2}}<br></span><span class="colorrarity3">{{Weapon Data|Wrench|damage|3}}<br></span><span class="colorrarity4">{{Weapon Data|Wrench|damage|4}}</span>


{{Weapon Data|Cacti Club|price|4}}
</noinclude>
</noinclude>

Revision as of 01:59, 9 November 2022

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}} 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

Error

{{Weapon Data|Acid|damage|common}}

Weapon name not found

Coloured Rarity Text

<span class="colorrarity1">{{Weapon Data|Wrench|damage|1}}</span>

<span class="colorrarity1">{{Weapon Data|Wrench|damage|1}}<br></span><span class="colorrarity2">{{Weapon Data|Wrench|damage|2}}<br></span><span class="colorrarity3">{{Weapon Data|Wrench|damage|3}}<br></span><span class="colorrarity4">{{Weapon Data|Wrench|damage|4}}</span>

12(100%Melee Damage.png)
16(100%Melee Damage.png)
20(100%Melee Damage.png)
24(100%Melee Damage.png)