Template:AutoWeaponStats: Difference between revisions

From Melvor Idle
(Created page with "Automatic version of Template:WeaponStats that pulls data via Lua. {{T|{{PAGENAME}}|Sunset Rapier}} becomes {{{{PAGENAME}}|Sunset Rapier}} <includeonly><onlyinclude>{{#var...")
 
(Removed icon from next to Attack Speed because it felt wrong.)
Line 8: Line 8:
! colspan="2" style = "border-bottom: solid thin black;"| Defensive Stats
! colspan="2" style = "border-bottom: solid thin black;"| Defensive Stats
|-
|-
! style ="text-align: right;"| [[File:Combat.svg|25px|middle|link=Combat]] Attack Speed
! style ="text-align: right;"| Attack Speed
| style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|attackSpeed}}
| style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|attackSpeed}}
! style ="text-align: right;"| [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus
! style ="text-align: right;"| [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus

Revision as of 19:39, 22 September 2020

Automatic version of Template:WeaponStats that pulls data via Lua. {{AutoWeaponStats|Sunset Rapier}} becomes

Weapon Stats
Offensive Stats Defensive Stats
Attack Speed 2200 Defence (skill).svg Defence Bonus 0
Attack Type
Error creating thumbnail: File missing
Melee
Defence (skill).svg Damage Reduction 0%
Strength (skill).svg Strength Bonus 0 Ranged (skill).svg Defence Bonus 0
Combat.svg Stab Bonus 72 Magic (skill).svg Defence Bonus 0
Combat.svg Slash Bonus 55 Other
Combat.svg Block Bonus 65 Slayer (skill).svg Bonus Slayer XP 0%
Ranged (skill).svg Attack Bonus 0 Attack (skill).svg Level Required 70
Ranged (skill).svg Strength Bonus 0 Ranged (skill).svg Level Required 0
Magic (skill).svg Attack Bonus 0 Magic (skill).svg Level Required 0
Magic (skill).svg % Damage Bonus 0% Two Handed? false