Template:AutoWeaponStats: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (Removed icon from next to Attack Speed because it felt wrong.) |
Falterfire (talk | contribs) (Fixed strength bonus not pulling properly) |
||
Line 19: | Line 19: | ||
|- | |- | ||
! style ="text-align: right;"| [[File:Strength (skill).svg|25px|middle|link=Strength]] Strength Bonus | ! style ="text-align: right;"| [[File:Strength (skill).svg|25px|middle|link=Strength]] Strength Bonus | ||
| style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true| | | style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|meleeStrengthBonus}} | ||
! style ="text-align: right;"| [[File:Ranged (skill).svg|25px|middle|link=Ranged]] Defence Bonus | ! style ="text-align: right;"| [[File:Ranged (skill).svg|25px|middle|link=Ranged]] Defence Bonus | ||
| style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|rangedDefenceBonus}} | | style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|rangedDefenceBonus}} |
Revision as of 13:59, 7 September 2021
Automatic version of Template:WeaponStats that pulls data via Lua.
{{AutoWeaponStats|Sunset Rapier}}
becomes