Template:MonsterStats: Difference between revisions

Added Max Hit to the monster stat block and also added the Attacks list
(Now powered by Lua)
(Added Max Hit to the monster stat block and also added the Attacks list)
Line 14: Line 14:
| style="font-weight: bold;" | Attack Speed:  
| style="font-weight: bold;" | Attack Speed:  
| colspan=15 style="text-align: right" | {{formatnum:{{#invoke:Monsters|getMonsterAttackSpeed|{{#var:monster}}}}}} s
| colspan=15 style="text-align: right" | {{formatnum:{{#invoke:Monsters|getMonsterAttackSpeed|{{#var:monster}}}}}} s
|-
| style="font-weight: bold;" | Max Hit:
| colspan=15 style="text-align: right" | {{#invoke:Monsters|getMonsterStyleIcon|{{#var:monster}}|notext=true}} {{formatnum:{{#invoke:Monsters|getMonsterStat|{{#var:monster}}|maxHit}}}}
|-
|-
| style="font-weight: bold;" | Accuracy Rating:  
| style="font-weight: bold;" | Accuracy Rating:  
Line 39: Line 42:
| colspan=3 style="text-align: right;" | {{#invoke:Monsters|getMonsterStat|{{#var:monster}}|rangedLevel}}
| colspan=3 style="text-align: right;" | {{#invoke:Monsters|getMonsterStat|{{#var:monster}}|rangedLevel}}
| colspan=3 style="text-align: right;" | {{#invoke:Monsters|getMonsterStat|{{#var:monster}}|magicLevel}}
| colspan=3 style="text-align: right;" | {{#invoke:Monsters|getMonsterStat|{{#var:monster}}|magicLevel}}
|}</includeonly></onlyinclude>
|}
 
===Attacks===
{{#invoke:Monsters|getMonsterAttacks|{{#var:monster}}}}</includeonly></onlyinclude>