Template:AutoArmourStats: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (Fixed strength bonus not pulling properly) |
Falterfire (talk | contribs) (Fixing melee defence bonus) |
||
Line 12: | Line 12: | ||
| style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|meleeStrengthBonus|ForceZero=true}} | | style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|meleeStrengthBonus|ForceZero=true}} | ||
! style ="text-align: right;"| {{Skill|Defence|notext=true}} Defence Bonus | ! style ="text-align: right;"| {{Skill|Defence|notext=true}} Defence Bonus | ||
| style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}| | | style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|meleeDefenceBonus|ForceZero=true}} | ||
|- | |- | ||
! style ="text-align: right;"| [[File:Combat.svg|25px|middle|link=Attack]] Stab Bonus | ! style ="text-align: right;"| [[File:Combat.svg|25px|middle|link=Attack]] Stab Bonus |
Revision as of 18:17, 7 September 2021
Automatic version of Template:ArmourStats that pulls data via Lua.
{{AutoArmourStats|Ragnar God Gloves}}
gives