Template:MonsterStats: Difference between revisions

From Melvor Idle
(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>

Revision as of 20:59, 18 September 2020

Template for auto-building monster stat blocks.

For example, {{User:Falterfire/MonsterStats|Aeris}} becomes

Combat Stats
Combat Level: 752
Hitpoints:
Error creating thumbnail: File missing
10,000
Attack Speed: 3 s
Max Hit:
Error creating thumbnail: File missing
600
Accuracy Rating: 51,776
Evasion Ratings: Defence (skill).svg Ranged (skill).svg Magic (skill).svg
23,409 66,096 31,616
Skill Levels: Attack (skill).svg Strength (skill).svg Defence (skill).svg Ranged (skill).svg Magic (skill).svg

Attacks

  • 30%
    Error creating thumbnail: File missing
    Barrage
    • Perform 6 fast unavoidable attacks that deal 100 damage each.
  • 25%
    Error creating thumbnail: File missing
    Wind Blade
    • Launch 3 avoidable slicing winds that deal 350 damage each.
  • 20%
    Error creating thumbnail: File missing
    Whirlwind
    • Launch a large avoidable gust of wind that deals 550 damage. On a hit, applies stun for 1 turn
  • 15%
    Error creating thumbnail: File missing
    Tornado
    • Create an unavoidable tornado that slowly hits you 3 times for 400 damage each.
  • 10%
    Error creating thumbnail: File missing
    Cyclone
    • Surrounds the enemy in wind for 3.6s, while dealing 600 unavoidable damage 7 times. Gives the enemy +10% Global Evasion and +300 Reflect Damage until the end of the attack.