From Brotato Wiki
(Docs: Rework into a table) |
(Add templatedata) |
||
Line 2,535: | 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> | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"1": { | |||
"label": "Name", | |||
"description": "As shown on the Weapons page", | |||
"example": "Cacti Club", | |||
"type": "string", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"2": { | |||
"label": "Data", | |||
"description": "Options: rarity, types, damage, attackspeed, dps, crit, range, knockback, lifesteal, special, price, unlockedby", | |||
"example": "attackspeed", | |||
"type": "string", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"3": { | |||
"label": "Tier", | |||
"description": "Options: 1, 2, 3, 4", | |||
"example": "1", | |||
"type": "string", | |||
"required": true, | |||
"suggested": true | |||
} | |||
} | |||
} | |||
</templatedata></noinclude> |
Revision as of 03:39, 10 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%) | {{Weapon Data|Hand|damage|common}}
|
Damage Tier 2 | {{Weapon Data|Hand|damage|2}}
|
1(50%) | {{Weapon Data|Hand|damage|rare}}
|
Damage Tier 3 | {{Weapon Data|Hand|damage|3}}
|
1(50%) | {{Weapon Data|Hand|damage|epic}}
|
Damage Tier 4 | {{Weapon Data|Hand|damage|4}}
|
1(50%) | {{Weapon Data|Hand|damage|legendary}}
|
Attack Speed | {{Weapon Data|Hand|attackspeed|1}}
|
1.01s | |
DPS | {{Weapon Data|Hand|dps|1}}
|
1.0(49%)/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%)
16(100%)
20(100%)
24(100%)
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | 1 | As shown on the Weapons page
| String | required |
Data | 2 | Options: rarity, types, damage, attackspeed, dps, crit, range, knockback, lifesteal, special, price, unlockedby
| String | required |
Tier | 3 | Options: 1, 2, 3, 4
| String | required |