Anonymous

Template:AutoArmourStats: Difference between revisions

From Melvor Idle
Fixing melee defence bonus
(Fixed strength bonus not pulling properly)
(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}}|defenceBonus|ForceZero=true}}
| 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