Difference between revisions of "Template:Enemy"

From Stoneshard wiki
Jump to navigation Jump to search
(Stagger Chance was missing)
(new 3 column layout with colors)
Line 67: Line 67:
-->{{#vardefine:TotalBleedResistance|{{#expr: {{#var:resbleed}} + {{#var:BleedResistance}}}}}}<!--
-->{{#vardefine:TotalBleedResistance|{{#expr: {{#var:resbleed}} + {{#var:BleedResistance}}}}}}<!--
--- TOOLTIP START ---
--- TOOLTIP START ---
--><div style="width: 300px;">
--><div style="width: 450px;">
<div style="text-align:center;"><br><span style="font-size: 20px;">{{#if:{{#var:Name}}|{{#var:Name}}|{{ROOTPAGENAME}}}}</span><br><!--
<div style="text-align:center;"><br><span style="font-size: 20px;">{{#if:{{#var:Name}}|{{#var:Name}}|{{ROOTPAGENAME}}}}</span><br><!--
--- Level X / Enemy Type with capitalized first letter ---
--- Level X / Enemy Type with capitalized first letter ---
-->Level {{#var:Level}} <!--
-->Level {{#var:Level}} <!--
-->{{ucfirst:{{#explode: {{#var:Datastring}}|;|3}}}}{{Clear}}<!--
--><span style="color:#d5b292;">{{ucfirst:{{#explode: {{#var:Datastring}}|;|3}}}}</span>{{Clear}}<!--
--- Enemy Image + Second Enemy Image for Necromancer (Dagger) only---
--- Enemy Image + Second Enemy Image for Necromancer (Dagger) only---
-->[[File:{{ROOTPAGENAME}}.png|link=|class=image2x|alt={{ROOTPAGENAME}}|{{ROOTPAGENAME}}]]{{#ifeq:{{ROOTPAGENAME}}|Necromancer (Dagger)|[[File:Necromancer (Cowl and dagger).png|link=|class=image2x|alt={{ROOTPAGENAME}}|{{ROOTPAGENAME}}]]|}}{{Clear}}<!--
-->[[File:{{ROOTPAGENAME}}.png|link=|class=image2x|alt={{ROOTPAGENAME}}|{{ROOTPAGENAME}}]]{{#ifeq:{{ROOTPAGENAME}}|Necromancer (Dagger)|[[File:Necromancer (Cowl and dagger).png|link=|class=image2x|alt={{ROOTPAGENAME}}|{{ROOTPAGENAME}}]]|}}{{Clear}}<!--
--><div style="margin-left:5px;margin-right:5px;display:inline-block;">Health: {{#explode: {{#var:Datastring}}|;|12}}</div><!--
--><div style="margin-left:5px;margin-right:5px;display:inline-block;">Health: <span style="color:#c75c5d;">{{#explode: {{#var:Datastring}}|;|12}}</span></div><!--
--><div style="margin-left:5px;margin-right:5px;display:inline-block;">Energy: {{#explode: {{#var:Datastring}}|;|13}}</div><!--
--><div style="margin-left:5px;margin-right:5px;display:inline-block;">Energy: <span style="color:#4c7fff;">{{#explode: {{#var:Datastring}}|;|13}}</span></div><!--
-->{{Tooltip rule}}'''Damage'''<br><!--
-->{{Tooltip rule}}'''Damage'''<br><!--
--- Enemy Damage - only display Damage types that have a value. ---
--- Enemy Damage - only display Damage types that have a value. ---
Line 95: Line 95:
-->'''Protection'''</div><!--
-->'''Protection'''</div><!--
--><div style="display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; justify-content: space-between;"><!--
--><div style="display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; justify-content: space-between;"><!--
--><div style="width: 145px;">Head <span style="float:right;">{{#var:Head DEF}}</span></div><!--
--><div style="width: 145px;">Head <span style="float:right;color:#d5b292;">{{#var:Head DEF}}</span></div><!--
--><div style="width: 145px;">Body <span style="float:right;">{{#var:Body DEF}}</span></div><!--
--><div style="width: 145px;">Body <span style="float:right;color:#d5b292;">{{#var:Body DEF}}</span></div></div><!--
--><div style="width: 145px;">Arms <span style="float:right;">{{#var:Arms DEF}}</span></div><!--
--><div style="display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; justify-content: space-between;"><!--
--><div style="width: 145px;">Legs <span style="float:right;">{{#var:Legs DEF}}</span></div></div><!--
--><div style="width: 145px;">Arms <span style="float:right;color:#d5b292;">{{#var:Arms DEF}}</span></div><!--
--><div style="width: 145px;">Legs <span style="float:right;color:#d5b292;">{{#var:Legs DEF}}</span></div></div><!--
--><div style="text-align:center;"><br>'''Resistances'''</div><!--
--><div style="text-align:center;"><br>'''Resistances'''</div><!--
--><div style="display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; justify-content: space-between;"><!--
--><div style="display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; justify-content: space-between;"><!--
-->{{#ifeq: {{#var:TotalPhysicalResistance}} | 0 | |<div style="width: 145px;">Physical <span style="float:right;">{{#var:TotalPhysicalResistance}}%</span></div>}}<!--
--><div style="width: 142px; float: left; padding-right: 5px; min-height: 1px;"><!--
-->{{#ifeq: {{#var:TotalNatureResistance}} | 0 | |<div style="width: 145px;">Nature <span style="float:right;">{{#var:TotalNatureResistance}}%</span></div>}}<!--
-->{{#ifeq: {{#var:TotalPhysicalResistance}} | 0 | |<div style="width: 145px;border-width: 1px;border-style: none none dotted none;border-color:#71725e;">Physical <span style="float:right;">{{#var:TotalPhysicalResistance}}%</span></div>}}<!--
-->{{#ifeq: {{#var:TotalMagicResistance}} | 0 | |<div style="width: 145px;">Magic <span style="float:right;">{{#var:TotalMagicResistance}}%</span></div>}}<!--
-->{{#ifeq: {{#var:TotalSlashingResistance}} | 0 | |<div style="width: 145px;">Slashing <span style="float:right;">{{#var:TotalSlashingResistance}}%</span></div>}}<!--
-->{{#ifeq: {{#var:TotalSlashingResistance}} | 0 | |<div style="width: 145px;">Slashing <span style="float:right;">{{#var:TotalSlashingResistance}}%</span></div>}}<!--
-->{{#ifeq: {{#var:TotalPiercingResistance}} | 0 | |<div style="width: 145px;">Piercing <span style="float:right;">{{#var:TotalPiercingResistance}}%</span></div>}}<!--
-->{{#ifeq: {{#var:TotalPiercingResistance}} | 0 | |<div style="width: 145px;">Piercing <span style="float:right;">{{#var:TotalPiercingResistance}}%</span></div>}}<!--
-->{{#ifeq: {{#var:TotalCrushingResistance}} | 0 | |<div style="width: 145px;">Crushing <span style="float:right;">{{#var:TotalCrushingResistance}}%</span></div>}}<!--
-->{{#ifeq: {{#var:TotalCrushingResistance}} | 0 | |<div style="width: 145px;">Crushing <span style="float:right;">{{#var:TotalCrushingResistance}}%</span></div>}}<!--
-->{{#ifeq: {{#var:TotalRendingResistance}} | 0 | |<div style="width: 145px;">Rending <span style="float:right;">{{#var:TotalRendingResistance}}%</span></div>}}<!--
-->{{#ifeq: {{#var:TotalRendingResistance}} | 0 | |<div style="width: 145px;">Rending <span style="float:right;">{{#var:TotalRendingResistance}}%</span></div>}}</div><!--
--><div style="width: 142px; float: left; padding-right: 5px; min-height: 1px;"><!--
-->{{#ifeq: {{#var:TotalNatureResistance}} | 0 | |<div style="width: 145px;border-width: 1px;border-style: none none dotted none;border-color:#71725e;">Nature <span style="float:right;">{{#var:TotalNatureResistance}}%</span></div>}}<!--
-->{{#ifeq: {{#var:TotalFireResistance}} | 0 | |<div style="width: 145px;">{{C|Fire}} <span style="float:right;">{{C|Fire|{{#var:TotalFireResistance}}%}}</span></div>}}<!--
-->{{#ifeq: {{#var:TotalFireResistance}} | 0 | |<div style="width: 145px;">{{C|Fire}} <span style="float:right;">{{C|Fire|{{#var:TotalFireResistance}}%}}</span></div>}}<!--
-->{{#ifeq: {{#var:TotalFrostResistance}} | 0 | |<div style="width: 145px;">{{C|Frost}} <span style="float:right;">{{C|Frost|{{#var:TotalFrostResistance}}%}}</span></div>}}<!--
-->{{#ifeq: {{#var:TotalFrostResistance}} | 0 | |<div style="width: 145px;">{{C|Frost}} <span style="float:right;">{{C|Frost|{{#var:TotalFrostResistance}}%}}</span></div>}}<!--
-->{{#ifeq: {{#var:TotalShockResistance}} | 0 | |<div style="width: 145px;">{{C|Shock}} <span style="float:right;">{{C|Shock|{{#var:TotalShockResistance}}%}}</span></div>}}<!--
-->{{#ifeq: {{#var:TotalShockResistance}} | 0 | |<div style="width: 145px;">{{C|Shock}} <span style="float:right;">{{C|Shock|{{#var:TotalShockResistance}}%}}</span></div>}}<!--
-->{{#ifeq: {{#var:TotalPoisonResistance}} | 0 | |<div style="width: 145px;">{{C|Poison}} <span style="float:right;">{{C|Poison|{{#var:TotalPoisonResistance}}%}}</span></div>}}<!--
-->{{#ifeq: {{#var:TotalPoisonResistance}} | 0 | |<div style="width: 145px;">{{C|Poison}} <span style="float:right;">{{C|Poison|{{#var:TotalPoisonResistance}}%}}</span></div>}}<!--
-->{{#ifeq: {{#var:TotalCausticResistance}} | 0 | |<div style="width: 145px;">{{C|Caustic}} <span style="float:right;">{{C|Caustic|{{#var:TotalCausticResistance}}%}}</span></div>}}<!--
-->{{#ifeq: {{#var:TotalCausticResistance}} | 0 | |<div style="width: 145px;">{{C|Caustic}} <span style="float:right;">{{C|Caustic|{{#var:TotalCausticResistance}}%}}</span></div>}}</div><!--
--><div style="width: 142px; float: left; padding-right: 5px; min-height: 1px;"><!--
-->{{#ifeq: {{#var:TotalMagicResistance}} | 0 | |<div style="width: 145px;border-width: 1px;border-style: none none dotted none;border-color:#71725e;">Magic <span style="float:right;">{{#var:TotalMagicResistance}}%</span></div>}}<!--
-->{{#ifeq: {{#var:TotalUnholyResistance}} | 0 | |<div style="width: 145px;">{{C|Unholy}} <span style="float:right;">{{C|Unholy|{{#var:TotalUnholyResistance}}%}}</span></div>}}<!--
-->{{#ifeq: {{#var:TotalUnholyResistance}} | 0 | |<div style="width: 145px;">{{C|Unholy}} <span style="float:right;">{{C|Unholy|{{#var:TotalUnholyResistance}}%}}</span></div>}}<!--
-->{{#ifeq: {{#var:TotalArcaneResistance}} | 0 | |<div style="width: 145px;">{{C|Arcane}} <span style="float:right;">{{C|Arcane|{{#var:TotalArcaneResistance}}%}}</span></div>}}<!--
-->{{#ifeq: {{#var:TotalArcaneResistance}} | 0 | |<div style="width: 145px;">{{C|Arcane}} <span style="float:right;">{{C|Arcane|{{#var:TotalArcaneResistance}}%}}</span></div>}}<!--
-->{{#ifeq: {{#var:TotalSacredResistance}} | 0 | |<div style="width: 145px;">{{C|Sacred}} <span style="float:right;">{{C|Sacred|{{#var:TotalSacredResistance}}%}}</span></div>}}<!--
-->{{#ifeq: {{#var:TotalSacredResistance}} | 0 | |<div style="width: 145px;">{{C|Sacred}} <span style="float:right;">{{C|Sacred|{{#var:TotalSacredResistance}}%}}</span></div>}}<!--
-->{{#ifeq: {{#var:TotalPsionicResistance}} | 0 | |<div style="width: 145px;">{{C|Psionic}} <span style="float:right;">{{C|Psionic|{{#var:TotalPsionicResistance}}%}}</span></div>}}</div><!--
-->{{#ifeq: {{#var:TotalPsionicResistance}} | 0 | |<div style="width: 145px;">{{C|Psionic}} <span style="float:right;">{{C|Psionic|{{#var:TotalPsionicResistance}}%}}</span></div>}}</div></div><!--
--- COLLAPSED SECTION START - because these values are not normally visible ingame and there's a ton of them so it clutters the tooltip. ---
--- COLLAPSED SECTION START - because these values are not normally visible ingame and there's a ton of them so it clutters the tooltip. ---
--- Stats are displayed in two columns. ---
--- Stats are displayed in two columns. ---
Line 122: Line 126:
--><div style="text-align:center;">{{Tooltip rule}}'''Defensive stats'''</div><!--
--><div style="text-align:center;">{{Tooltip rule}}'''Defensive stats'''</div><!--
--><div style="width: 142px; float: left; padding-right: 5px; min-height: 1px;"><!--
--><div style="width: 142px; float: left; padding-right: 5px; min-height: 1px;"><!--
-->Block Chance <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|20}} | |0|{{#explode: {{#var:Datastring}}|;|20}}}}%</span><br><!--
-->Block Chance <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|20}} | |0|{{#explode: {{#var:Datastring}}|;|20}}}}%</span><br><!--
-->Bleed Res. <span style="float:right;">{{#var:TotalBleedResistance}}%</span><br><!--
-->Bleed Res. <span style="float:right;color:#d5b292;">{{#var:TotalBleedResistance}}%</span><br><!--
-->Control Res. <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|34}} | |0|{{#explode: {{#var:Datastring}}|;|34}}}}%</span></div><!--
-->Pain Res. <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|61}} | |0|{{#explode: {{#var:Datastring}}|;|61}}}}%</span></div><!--
--><div style="width: 142px; float: left; padding-left: 5px;  min-height: 1px;"><!--
--><div style="width: 142px; float: left; padding-left: 5px;  min-height: 1px;"><!--
-->Block Power <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|21}} | |0|{{#explode: {{#var:Datastring}}|;|21}}}}</span><br><!--
-->Block Power <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|21}} | |0|{{#explode: {{#var:Datastring}}|;|21}}}}</span><br><!--
-->Pain Res. <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|61}} | |0|{{#explode: {{#var:Datastring}}|;|61}}}}%</span><br><!--
-->Control Res. <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|34}} | |0|{{#explode: {{#var:Datastring}}|;|34}}}}%</span></div><!--
-->Move Res. <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|33}} | |0|{{#explode: {{#var:Datastring}}|;|33}}}}%</span><br><!--
--><div style="width: 142px; float: left; padding-left: 5px;  min-height: 1px;"><!--
-->Dodge Chance <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|19}} | |0|{{#explode: {{#var:Datastring}}|;|19}}}}%</span></div>{{Clear}}<!--
-->Dodge Chance <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|19}} | |0|{{#explode: {{#var:Datastring}}|;|19}}}}%</span><br><!--
-->Move Res. <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|33}} | |0|{{#explode: {{#var:Datastring}}|;|33}}}}%</span></div>{{Clear}}<!--
--><div style="text-align:center;">{{Tooltip rule}}'''Offensive stats'''</div><!--
--><div style="text-align:center;">{{Tooltip rule}}'''Offensive stats'''</div><!--
--><div style="width: 142px; float: left; padding-right: 5px; min-height: 1px;"><!--
--><div style="width: 142px; float: left; padding-right: 5px; min-height: 1px;"><!--
-->Crit Chance <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|23}} | |0|{{#explode: {{#var:Datastring}}|;|23}}}}%</span><br><!--
-->Crit Chance <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|23}} | |0|{{#explode: {{#var:Datastring}}|;|23}}}}%</span><br><!--
-->Accuracy <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|18}} | |0|{{#explode: {{#var:Datastring}}|;|18}}}}%</span><br><!--
-->Counter Chance <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|25}} | |0|{{#explode: {{#var:Datastring}}|;|25}}}}%</span><br><!--
-->Counter Chance <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|25}} | |0|{{#explode: {{#var:Datastring}}|;|25}}}}%</span><br><!--
-->Stun Chance <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|37}} | |0|{{#explode: {{#var:Datastring}}|;|37}}}}%</span><br><!--
-->Stun Chance <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|37}} | |0|{{#explode: {{#var:Datastring}}|;|37}}}}%</span><br><!--
-->Knockb. Chance <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|39}} | |0|{{#explode: {{#var:Datastring}}|;|39}}}}%</span><br><!--
-->Stagger Chance <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|41}} | |0|{{#explode: {{#var:Datastring}}|;|41}}}}%</span><br><!--
-->Life Leech <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|50}} | |0|{{#explode: {{#var:Datastring}}|;|50}}}}%</span><br><!--
-->Knockb. Chance <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|39}} | |0|{{#explode: {{#var:Datastring}}|;|39}}}}%</span><br><!--
-->Vision <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|48}} | |0|{{#explode: {{#var:Datastring}}|;|48}}}}</span></div><!--
-->Life Leech <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|50}} | |0|{{#explode: {{#var:Datastring}}|;|50}}}}%</span><br><!--
--><div style="width: 142px; float: left; padding-left: 5px; min-height: 1px;"><!--
-->Vision <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|48}} | |0|{{#explode: {{#var:Datastring}}|;|48}}}}</span><br><!--
-->Crit Efficiency <span style="float:right;color:#d5b292;">{{x}}{{#expr: ({{#ifeq: {{#explode: {{#var:Datastring}}|;|24}} | |0|{{#explode: {{#var:Datastring}}|;|24}}}} + 100)/100}}</span><br><!--
-->Magic Power <span style="float:right;">{{#expr: {{#ifeq: {{#explode: {{#var:Datastring}}|;|65}} | |0|{{#explode: {{#var:Datastring}}|;|65}}}} + 100}}%</span></div><!--
-->Bleed Chance <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|36}} | |0|{{#explode: {{#var:Datastring}}|;|36}}}}%</span><br><!--
-->Daze Chance <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|38}} | |0|{{#explode: {{#var:Datastring}}|;|38}}}}%</span><br><!--
-->Immob. Chance <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|40}} | |0|{{#explode: {{#var:Datastring}}|;|40}}}}%</span><br><!--
-->Energy Leech <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|51}} | |0|{{#explode: {{#var:Datastring}}|;|51}}}}%</span><br><!--
-->Bonus Range <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|49}} | |0|{{#explode: {{#var:Datastring}}|;|49}}}}</span></div><!--
--><div style="width: 142px; float: left; padding-left: 5px; min-height: 1px;"><!--
--><div style="width: 142px; float: left; padding-left: 5px; min-height: 1px;"><!--
-->Crit Efficiency <span style="float:right;">{{x}}{{#expr: ({{#ifeq: {{#explode: {{#var:Datastring}}|;|24}} | |0|{{#explode: {{#var:Datastring}}|;|24}}}} + 100)/100}}</span><br><!--
-->Accuracy <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|18}} | |0|{{#explode: {{#var:Datastring}}|;|18}}}}%</span><br><!--
-->Bleed Chance <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|36}} | |0|{{#explode: {{#var:Datastring}}|;|36}}}}%</span><br><!--
-->Fumble Chance <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|26}} | |0|{{#explode: {{#var:Datastring}}|;|26}}}}%</span><br><!--
-->Fumble Chance <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|26}} | |0|{{#explode: {{#var:Datastring}}|;|26}}}}%</span><br><!--
-->Stagger Chance <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|41}} | |0|{{#explode: {{#var:Datastring}}|;|41}}}}%</span><br><!--
-->Daze Chance <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|38}} | |0|{{#explode: {{#var:Datastring}}|;|38}}}}%</span><br><!--
-->Magic Power <span style="float:right;color:#d5b292;">{{#expr: {{#ifeq: {{#explode: {{#var:Datastring}}|;|65}} | |0|{{#explode: {{#var:Datastring}}|;|65}}}} + 100}}%</span><br><!--
-->Immob. Chance <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|40}} | |0|{{#explode: {{#var:Datastring}}|;|40}}}}%</span><br><!--
-->Armor Pen. <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|66}} | |0|{{#explode: {{#var:Datastring}}|;|66}}}}%</span></div>{{Clear}}<!--
-->Energy Leech <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|51}} | |0|{{#explode: {{#var:Datastring}}|;|51}}}}%</span><br><!--
-->Bonus Range <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|49}} | |0|{{#explode: {{#var:Datastring}}|;|49}}}}</span><br><!--
-->Armor Pen. <span style="float:right;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|66}} | |0|{{#explode: {{#var:Datastring}}|;|66}}}}%</span></div>{{Clear}}<!--
--><div style="text-align:center;">{{Tooltip rule}}<!--
--><div style="text-align:center;">{{Tooltip rule}}<!--
--- Attributes are displayed in a row. ---
--- Attributes are displayed in a row. ---
-->'''Attributes'''<br><!--
-->'''Attributes'''<br><!--
--><div style="width:15%;display:inline-block;">STR</div><!--
--><div style="width:15%;display:inline-block;">STR: <span style="color:#d5b292;">{{#explode: {{#var:Datastring}}|;|42}}</span></div><!--
--><div style="width:15%;display:inline-block;">AGL</div><!--
--><div style="width:15%;display:inline-block;">AGL: <span style="color:#d5b292;">{{#explode: {{#var:Datastring}}|;|43}}</span></div><!--
--><div style="width:15%;display:inline-block;">PRC</div><!--
--><div style="width:15%;display:inline-block;">PRC: <span style="color:#d5b292;">{{#explode: {{#var:Datastring}}|;|45}}</span></div><!--
--><div style="width:15%;display:inline-block;">VIT</div><!--
--><div style="width:15%;display:inline-block;">VIT: <span style="color:#d5b292;">{{#explode: {{#var:Datastring}}|;|44}}</span></div><!--
--><div style="width:15%;display:inline-block;">WIL</div><br><!--
--><div style="width:15%;display:inline-block;">WIL: <span style="color:#d5b292;">{{#explode: {{#var:Datastring}}|;|46}}</span></div></div></div><!--
--><div style="width:15%;display:inline-block;">{{#explode: {{#var:Datastring}}|;|42}}</div><!--
--><div style="width:15%;display:inline-block;">{{#explode: {{#var:Datastring}}|;|43}}</div><!--
--><div style="width:15%;display:inline-block;">{{#explode: {{#var:Datastring}}|;|45}}</div><!--
--><div style="width:15%;display:inline-block;">{{#explode: {{#var:Datastring}}|;|44}}</div><!--
--><div style="width:15%;display:inline-block;">{{#explode: {{#var:Datastring}}|;|46}}</div></div></div><!--
--- COLLAPSED SECTION END ---
--- COLLAPSED SECTION END ---
--><div style="text-align:center;">{{Tooltip rule}}<!--
--><div style="text-align:center;">{{Tooltip rule}}<!--
-->'''Miscellaneous'''<br><!--
-->'''Miscellaneous'''<br><!--
--><div style="width:30%;display:inline-block;">Faction:<br>{{#explode: {{#var:Datastring}}|;|4}}</div><!--
--><div style="width:30%;display:inline-block;">Faction: <span style="color:#9d9a9a;">{{#explode: {{#var:Datastring}}|;|4}}</span></div><!--
--><div style="width:30%;display:inline-block;">Size:<br>{{#explode: {{#var:Datastring}}|;|8}}<br></div><!--
--><div style="width:30%;display:inline-block;">Size: <span style="color:#9d9a9a;">{{#explode: {{#var:Datastring}}|;|8}}</span></div><!--
--><div style="width:30%;display:inline-block;">XP:<br>{{#explode: {{#var:Datastring}}|;|11}}<br></div></div><!--
--><div style="width:30%;display:inline-block;">XP: <span style="color:#f6bb15;">{{#explode: {{#var:Datastring}}|;|11}}</span></div></div><!--
-->{{Tooltip rule}}<!--
-->{{Tooltip rule}}<!--
--- BUTTONS START ---
--- BUTTONS START ---

Revision as of 19:16, 13 March 2023

Template-info.png Documentation

This is template created for use together with the Template:Tooltip hover box template. Copy this code to a specific Enemy page (for example, Skeleton Swordsman):

{{ {{{1|Tooltip hover box}}}|title= {{Enemy}} }}

It will automatically load the attrbutes from Enemy data and fill them into the format you see below.

You can provide the enemy name as first parameter, otherwise the pagename is used.

Enemy body types

Enemies gain certain additional attributes (mainly Resistances) from their body types. These bonuses are hardcoded in the Enemy template as the "Matter" variable and added to each enemy's base attributes.

Example


Enemy
Level Data does not exist.
Enemy
Health:
Energy:

Damage

Protection
Head 0
Body 0
Arms 0
Legs 0

Resistances

Defensive stats
Block Chance 0%
Bleed Res. 0%
Pain Res. 0%
Block Power 0
Control Res. 0%
Dodge Chance 0%
Move Res. 0%

Offensive stats
Crit Chance 0%
Counter Chance 0%
Stun Chance 0%
Knockb. Chance 0%
Life Leech 0%
Vision 0
Crit Efficiency ×1
Bleed Chance 0%
Daze Chance 0%
Immob. Chance 0%
Energy Leech 0%
Bonus Range 0
Accuracy 0%
Fumble Chance 0%
Stagger Chance 0%
Magic Power 100%
Armor Pen. 0%

Attributes
STR:
AGL:
PRC:
VIT:
WIL:

Miscellaneous
Faction:
Size:
XP:

Show moreShow less
Data does not exist.