|
|
Line 1: |
Line 1: |
| {{#vardefine:monster|Black Knight}}{| class="wikitable" style="margin: 0rem 1rem;"
| | Trying out new monster autobox. Only needs one argument (the monster's name) and generates everything else from data stored in [[Module:Monsters/data]] |
| |-
| | |
| ! colspan=16 | Combat Stats
| | {{User:Falterfire/MonsterStats|Black Knight}} |
| |-
| |
| | style="font-weight: bold;" | Combat Level:
| |
| | colspan=15 style="text-align: right" | {{#invoke:FalterTest|getMonsterStat|{{#var:monster}}|combatLevel}}
| |
| |-
| |
| | style="font-weight: bold;" | Hitpoints:
| |
| | colspan=15 style="text-align: right" | {{SkillReq|Hitpoints|{{#invoke:FalterTest|getMonsterStat|{{#var:monster}}|hitpoints}}}}
| |
| |-
| |
| | style="font-weight: bold;" | Attack Speed:
| |
| | colspan=15 style="text-align: right" | {{formatnum:{{#invoke:FalterTest|getMonsterStat|{{#var:monster}}|attackSpeed}}}} ms
| |
| |-
| |
| | style="font-weight: bold;" | Accuracy Rating:
| |
| | colspan=15 style="text-align: right" | {{{accuracyRating}}}
| |
| |-
| |
| | rowspan=2 style="font-weight: bold;" | Evasion Ratings:
| |
| | colspan=5 style="text-align: center;" | [[File:Defence (skill).svg|25px|middle|link=Defence]]
| |
| | colspan=5 style="text-align: center;" | [[File:Ranged (skill).svg|25px|middle|link=Ranged]]
| |
| | colspan=5 style="text-align: center;" | [[File:Magic (skill).svg|25px|middle|link=Magic]]
| |
| |-
| |
| | colspan=5 style="text-align: right;" | {{Icon|Melee|notext=true}} {{formatnum:{{#invoke:FalterTest|getMonsterStat|{{#var:monster}}|meleeEvasion}}}}
| |
| | colspan=5 style="text-align: right;" | {{formatnum:{{{rangedEvasionRating}}}}}
| |
| | colspan=5 style="text-align: right;" | {{formatnum:{{{magicEvasionRating}}}}}
| |
| |-
| |
| | rowspan=1 style="font-weight: bold;" | Skill Levels:
| |
| | colspan=3 class="center" | {{SkillReq|Attack|{{#invoke:FalterTest|getMonsterStat|{{#var:monster}}|attackLevel}}}}
| |
| | colspan=3 class="center" | {{SkillReq|Strength|{{#invoke:FalterTest|getMonsterStat|{{#var:monster}}|strengthLevel}}}}
| |
| | colspan=3 class="center" | {{SkillReq|Defence|{{#invoke:FalterTest|getMonsterStat|{{#var:monster}}|defenceLevel}}}}
| |
| | colspan=3 class="center" | {{SkillReq|Ranged|{{#invoke:FalterTest|getMonsterStat|{{#var:monster}}|rangedLevel}}}}
| |
| | colspan=3 class="center" | {{SkillReq|Magic|{{#invoke:FalterTest|getMonsterStat|{{#var:monster}}|magicLevel}}}}
| |
| |}
| |