|
|
Line 1: |
Line 1: |
| Automatic version of [[Template:WeaponStats]] that pulls data via Lua. | | Automatic version of [[Template:WeaponStats]] that pulls data via Lua. |
| {{T|{{PAGENAME}}|Sunset Rapier}} becomes {{{{PAGENAME}}|Sunset Rapier}} | | {{T|{{PAGENAME}}|Sunset Rapier}} becomes {{{{PAGENAME}}|Sunset Rapier}} |
| <includeonly><onlyinclude>{{#vardefine:item|{{{1|{{PAGENAME}}}}}}}{| class="wikitable" | | <includeonly><onlyinclude>{{#invoke:Items|getWeaponStatsBox|{{{1|{{PAGENAME}}}}}}}</onlyinclude></includeonly> |
| |-
| |
| ! colspan="4" style = "border-bottom: solid medium black;"| Weapon Stats
| |
| |-
| |
| ! colspan="2" style = "border-bottom: solid thin black;"| Offensive Stats
| |
| ! colspan="2" style = "border-bottom: solid thin black;"| Defensive Stats
| |
| |-
| |
| ! style ="text-align: right;"| Attack Speed
| |
| | 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;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|meleeDefenceBonus}}
| |
| |-
| |
| ! style ="text-align: right;"| Attack Type
| |
| | 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;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|damageReduction}}%
| |
| |-
| |
| ! 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|meleeStrengthBonus}}
| |
| ! 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;"| [[File:Combat.svg|25px|middle|link=Attack]] Stab Bonus
| |
| | style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|stabAttackBonus}}
| |
| ! style ="text-align: right;border-bottom: solid thin black;"| [[File:Magic (skill).svg|25px|middle|link=Magic]] Defence Bonus
| |
| | style ="text-align: right;border-bottom: solid thin black;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|magicDefenceBonus}}
| |
| |-
| |
| ! style ="text-align: right;"| [[File:Combat.svg|25px|middle|link=Strength]] Slash Bonus
| |
| | style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|slashAttackBonus}}
| |
| ! colspan="2" style = "border-bottom: solid thin black;"| Other
| |
| |-
| |
| ! style ="text-align: right;"| [[File:Combat.svg|25px|middle|link=Defence]] Block Bonus
| |
| | style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|blockAttackBonus}}
| |
| ! style ="text-align: right;"| [[File:Slayer (skill).svg|25px|middle|link=Slayer]] Bonus Slayer XP
| |
| | style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|slayerBonusXP}}%
| |
| |-
| |
| ! style ="text-align: right;"| [[File:Ranged (skill).svg|25px|middle|link=Ranged]] Attack Bonus
| |
| | style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|rangedAttackBonus}}
| |
| ! style ="text-align: right;"| [[File:Attack (skill).svg|25px|middle|link=Attack]] Level Required
| |
| | style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|attackLevelRequired}}
| |
| |-
| |
| ! style ="text-align: right;"| [[File:Ranged (skill).svg|25px|middle|link=Ranged]] Strength Bonus
| |
| | style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|rangedStrengthBonus}}
| |
| ! style ="text-align: right;"| [[File:Ranged (skill).svg|25px|middle|link=Ranged]] Level Required
| |
| | style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|rangedLevelRequired}}
| |
| |-
| |
| ! style ="text-align: right;"| [[File:Magic (skill).svg|25px|middle|link=Magic]] Attack Bonus
| |
| | style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|magicAttackBonus}}
| |
| ! style ="text-align: right;"| [[File:Magic (skill).svg|25px|middle|link=Magic]] Level Required
| |
| | style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|magicLevelRequired}}
| |
| |-
| |
| ! style ="text-align: right;"| [[File:Magic (skill).svg|25px|middle|link=Magic]] % Damage Bonus
| |
| | style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|ForceZero=true|magicDamageBonus}}%
| |
| ! style ="text-align: right;"| Two Handed?
| |
| | style ="text-align: right;"| {{#invoke:Items|getItemStat|{{#var:item}}|isTwoHanded}}
| |
| |}</onlyinclude></includeonly>
| |