Template:MonsterStats: Difference between revisions

From Melvor Idle
(Created MonsterStats template for auto-generating monster pages.)
 
(Barrier section now only shows up when needed)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This template is for the statblock for monsters.
Template for auto-building monster stat blocks.


Content is automatically generated by a bot and thus any modifications could be lost whenever the game is updated.
For example, <nowiki>{{User:MonsterStats|Magic Golem}}</nowiki> becomes {{MonsterStats|Magic Golem}}
 
<onlyinclude><includeonly>{| class="wikitable" style="margin: 0rem 1rem;"
<includeonly><onlyinclude>== Combat ==
 
{| class="wikitable" style="margin: 0rem 1rem;"
|-
|-
! colspan=16 | Combat Stats
! colspan=16 | Combat Stats
|-
|-
| style="font-weight: bold;" | Combat Level:  
| style="font-weight: bold;" | Combat Level:  
| colspan=15 style="text-align: right" | {{{combatLevel}}}
| colspan=15 style="text-align: right" | {{formatnum:{{#invoke:Monsters|getMonsterCombatLevel|{{{1|{{PAGENAME}}}}}}}}}
|-
|-
| style="font-weight: bold;" | Hitpoints:  
| style="font-weight: bold;" | Hitpoints:  
| colspan=15 style="text-align: right" | {{formatnum:{{{hitpoints}}}}}
| colspan=15 style="text-align: right" | {{Skill|Hitpoints|notext=true}} {{formatnum:{{#invoke:Monsters|getMonsterHP|{{{1|{{PAGENAME}}}}}}}}}
{{#invoke:Monsters|getMonsterBoxBarrierText|{{{1|{{PAGENAME}}}}}}}
|-
|-
| style="font-weight: bold;" | Attack Speed:  
| style="font-weight: bold;" | Attack Speed:  
| colspan=15 style="text-align: right" | {{{attackspeed}}} s
| colspan=15 style="text-align: right" | {{formatnum:{{#invoke:Monsters|getMonsterAttackSpeed|{{{1|{{PAGENAME}}}}}}}}}s
|-
| style="font-weight: bold;" | Max Hit:
| colspan=15 style="text-align: right" | {{#invoke:Monsters|getMonsterStyleIcon|{{{1|{{PAGENAME}}}}}|notext=true}} {{formatnum:{{#invoke:Monsters|getMonsterStat|{{{1|{{PAGENAME}}}}}|maxHit}}}}
|-
|-
| style="font-weight: bold;" | Accuracy Rating:  
| style="font-weight: bold;" | Accuracy Rating:  
| colspan=15 style="text-align: right" | {{{accuracyRating}}}
| colspan=15 style="text-align: right" | {{formatnum:{{#invoke:Monsters|getMonsterAR|{{{1|{{PAGENAME}}}}}}}}}
|-
| style="font-weight: bold;" | Damage Reduction:
| colspan=15 style="text-align: right" | {{formatnum:{{#invoke:Monsters|getMonsterStat|{{{1|{{PAGENAME}}}}}|damageReduction}}}}%
|-
|-
| rowspan=2 style="font-weight: bold;" | Evasion Ratings:
| rowspan=2 style="font-weight: bold;" | Evasion Ratings:
Line 26: Line 30:
| colspan=5 style="text-align: center;" | [[File:Magic (skill).svg|25px|middle|link=Magic]]  
| colspan=5 style="text-align: center;" | [[File:Magic (skill).svg|25px|middle|link=Magic]]  
|-
|-
| colspan=5 style="text-align: right;" | {{formatnum:{{{meleeEvasionRating}}}}}
| colspan=5 style="text-align: right;" | {{formatnum:{{#invoke:Monsters|getMonsterER|{{{1|{{PAGENAME}}}}}|Melee}}}}
| colspan=5 style="text-align: right;" | {{formatnum:{{{rangedEvasionRating}}}}}
| colspan=5 style="text-align: right;" | {{formatnum:{{#invoke:Monsters|getMonsterER|{{{1|{{PAGENAME}}}}}|Ranged}}}}
| colspan=5 style="text-align: right;" | {{formatnum:{{{magicEvasionRating}}}}}
| colspan=5 style="text-align: right;" | {{formatnum:{{#invoke:Monsters|getMonsterER|{{{1|{{PAGENAME}}}}}|Magic}}}}
|-
|-
| rowspan=2 style="font-weight: bold;" | Skill Levels:
| rowspan=2 style="font-weight: bold;" | Skill Levels:
Line 37: Line 41:
| colspan=3 style="text-align: center;" | [[File:Magic (skill).svg|25px|middle|link=Magic]]  
| colspan=3 style="text-align: center;" | [[File:Magic (skill).svg|25px|middle|link=Magic]]  
|-
|-
| colspan=3 style="text-align: right;" | {{{attackLevel}}}
| colspan=3 style="text-align: right;" | {{formatnum:{{#invoke:Monsters|getMonsterLevel|{{{1|{{PAGENAME}}}}}|Attack}}}}
| colspan=3 style="text-align: right;" | {{{strengthLevel}}}
| colspan=3 style="text-align: right;" | {{formatnum:{{#invoke:Monsters|getMonsterLevel|{{{1|{{PAGENAME}}}}}|Strength}}}}
| colspan=3 style="text-align: right;" | {{{defenceLevel}}}
| colspan=3 style="text-align: right;" | {{formatnum:{{#invoke:Monsters|getMonsterLevel|{{{1|{{PAGENAME}}}}}|Defence}}}}
| colspan=3 style="text-align: right;" | {{{rangedLevel}}}
| colspan=3 style="text-align: right;" | {{formatnum:{{#invoke:Monsters|getMonsterLevel|{{{1|{{PAGENAME}}}}}|Ranged}}}}
| colspan=3 style="text-align: right;" | {{{magicLevel}}}
| colspan=3 style="text-align: right;" | {{formatnum:{{#invoke:Monsters|getMonsterLevel|{{{1|{{PAGENAME}}}}}|Magic}}}}
|}
|}


=== Attacks ===
===Attacks===
{{{attacks}}}</onlyinclude></includeonly>
{{#invoke:Monsters|getMonsterAttacks|{{{1|{{PAGENAME}}}}}}}
 
{{#invoke:Monsters|getMonsterPassives|{{{1|{{PAGENAME}}}}}}}</includeonly></onlyinclude>

Latest revision as of 19:11, 14 September 2023

Template for auto-building monster stat blocks.

For example, {{User:MonsterStats|Magic Golem}} becomes

Combat Stats
Combat Level: 167
Hitpoints: 1,250
Barrier: Barrier 625
Attack Speed: 3.8s
Max Hit: Magic 200
Accuracy Rating: 18,236
Damage Reduction: 40%
Evasion Ratings: Defence (skill).svg Ranged (skill).svg Magic (skill).svg
22,116 12,416 14,356
Skill Levels: Attack (skill).svg Strength (skill).svg Defence (skill).svg Ranged (skill).svg Magic (skill).svg
1 1 185 1 185

Attacks

  • 70% Magic Normal Attack
    • 1 - 189 Magic Damage
  • 30% Magic Mudball
    • An avoidable attack that deals damage equal to 200. On a hit, Gives you +20% Attack Interval for 2 of your turns.

Passives

  • End of Turn Healing
    • Heal 8% of current hitpoints every 2 turns
  • Major Reflection
    • +50% Reflect Damage