Difference between revisions of "Template:Enemy"
Jump to navigation
Jump to search
Skeleton Swordsman
Level 4 Undead
Damage
Protection
Resistances
Defensive stats
Offensive stats
Attributes
Miscellaneous
m |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 76: | Line 76: | ||
--><span style="color:#d5b292;">{{ucfirst:{{#explode: {{#var:Datastring}}|;|3}}}}</span>{{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:{{#var:Page}}.png|link=|class=image2x|alt={{#var:Page}}|{{#var:Page}}]]{{#ifeq:{{#var:Page}}| | -->[[File:{{#var:Page}}.png|link=|class=image2x|alt={{#var:Page}}|{{#var:Page}}]]{{#ifeq:{{#var:Page}}|Occultist|[[File:Occultist (Cowl and dagger).png|link=|class=image2x|alt={{#var:Page}}|{{#var:Page}}]]|}}{{Clear}}<!-- | ||
--><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;">Health: <span style="color:#c75c5d;">{{#explode: {{#var:Datastring}}|;|12}}</span></div><!-- | ||
--><div style="margin-left:5px;margin-right:5px;display:inline-block;">Energy: <span style="color:#4c7fff;">{{#explode: {{#var:Datastring}}|;|13}}</span></div><!-- | --><div style="margin-left:5px;margin-right:5px;display:inline-block;">Energy: <span style="color:#4c7fff;">{{#explode: {{#var:Datastring}}|;|13}}</span></div><!-- | ||
Line 135: | Line 135: | ||
--><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;color:#d5b292;">{{#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><!-- | ||
-->Control Res. <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|34}} | |0|{{#explode: {{#var:Datastring}}|;|34}}}}%</span></div><!-- | -->Control Res. <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|34}} | |0|{{#explode: {{#var:Datastring}}|;|34}}}}%</span><br><!-- | ||
-->Fortitude <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|28}} | |0|{{#explode: {{#var:Datastring}}|;|28}}}}%</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;"><!-- | ||
-->Dodge Chance <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|19}} | |0|{{#explode: {{#var:Datastring}}|;|19}}}}%</span><br><!-- | -->Dodge Chance <span style="float:right;color:#d5b292;">{{#ifeq: {{#explode: {{#var:Datastring}}|;|19}} | |0|{{#explode: {{#var:Datastring}}|;|19}}}}%</span><br><!-- | ||
Line 178: | Line 179: | ||
-->{{Tooltip rule}}<!-- | -->{{Tooltip rule}}<!-- | ||
--- BUTTONS START --- | --- BUTTONS START --- | ||
--><div style="text-align:center;"><span class="mw-collapsible mw-customtoggle-statistics1 mw-customtoggle-statistics2" id="mw-customcollapsible-statistics2" style=" | --><div style="margin: 1.2em 0; text-align:center;"><span class="spoilerShow mw-collapsible mw-customtoggle-statistics1 mw-customtoggle-statistics2" id="mw-customcollapsible-statistics2" style="font-size: 16px;">Show more</span><!-- | ||
--><span class="mw-collapsible mw-collapsed mw-customtoggle-statistics1 mw-customtoggle-statistics2" id="mw-customcollapsible-statistics2" style=" | --><span class="spoilerHide mw-collapsible mw-collapsed mw-customtoggle-statistics1 mw-customtoggle-statistics2" id="mw-customcollapsible-statistics2" style="font-size: 16px;">Show less</span></div><!-- | ||
--- BUTTONS END --- | --- BUTTONS END --- | ||
--- Enemy Description --- | --- Enemy Description --- |
Latest revision as of 12:20, 22 October 2023
Documentation
[purge]
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
Skeleton Swordsman
Level 4 Undead
Health: 65
Energy: 40
Damage
13 Slashing
2 Unholy
Protection
Head 0
Body 2
Arms 1
Legs 1
Resistances
Physical 25%
Slashing 25%
Piercing 35%
Crushing 10%
Rending 25%
Nature 40%
Fire 40%
Frost 40%
Shock 40%
Poison 240%
Caustic 40%
Unholy 99%
Sacred -50%
Defensive stats
Block Chance 10%
Bleed Res. 200%
Pain Res. 100%
Bleed Res. 200%
Pain Res. 100%
Block Power 10
Control Res. 20%
Fortitude 0%
Control Res. 20%
Fortitude 0%
Dodge Chance 0%
Move Res. 0%
Move Res. 0%
Offensive stats
Crit Chance 0%
Counter Chance 0%
Stun Chance 0%
Knockb. Chance 0%
Life Leech 0%
Vision 6
Counter Chance 0%
Stun Chance 0%
Knockb. Chance 0%
Life Leech 0%
Vision 6
Crit Efficiency ×1
Bleed Chance 10%
Daze Chance 0%
Immob. Chance 0%
Energy Leech 0%
Bonus Range 0
Bleed Chance 10%
Daze Chance 0%
Immob. Chance 0%
Energy Leech 0%
Bonus Range 0
Accuracy 70%
Fumble Chance 30%
Stagger Chance 0%
Magic Power 100%
Armor Pen. 10%
Bodypart Dmg 5%
Fumble Chance 30%
Stagger Chance 0%
Magic Power 100%
Armor Pen. 10%
Bodypart Dmg 5%
Attributes
STR: 14
AGL: 12
PRC: 12
VIT: 10
WIL: 10
Miscellaneous
Faction: Undead
Size: medium
XP: 40
Show moreShow less
Hastily armed under the orders of a necromancer, this skeleton is quite capable of dispatching an inexperienced adversary.