User:Falterfire/WeaponStats: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (Automatic Weapon Stats box) |
m (Remove dead link) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
Automatic version of | Automatic version of weapon stats template that pulls data via Lua. | ||
{{User:Falterfire/WeaponStats|Sunset Rapier}} | {{User:Falterfire/WeaponStats|Sunset Rapier}} | ||
<includeonly><onlyinclude>{{#vardefine:item|{{{1|{{PAGENAME}}}}}}}{| class="wikitable" | <includeonly><onlyinclude>{{#vardefine:item|{{{1|{{PAGENAME}}}}}}}{| class="wikitable" | ||
Line 14: | Line 14: | ||
|- | |- | ||
! style ="text-align: right;"| Attack Type | ! style ="text-align: right;"| Attack Type | ||
| style ="text-align: right;"| {{#invoke:Items| | | style ="text-align: right;"| {{#invoke:Items|getWeaponAttackType|{{#var:item}}}} | ||
! style ="text-align: right;"| [[File:Defence (skill).svg|25px|middle|link=Defence]] Damage Reduction | ! style ="text-align: right;"| [[File:Defence (skill).svg|25px|middle|link=Defence]] Damage Reduction | ||
| style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|damageReduction}}% | | style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|damageReduction}}% |
Latest revision as of 23:14, 29 May 2024
Automatic version of weapon stats template that pulls data via Lua.