Difference between revisions of "Template:Enemy"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(Created page with "<includeonly>{| width=500px; |style="text-align:center;"|<span style="font-size: 20px;">{{ROOTPAGENAME}}</span><br>Level {{:{{ROOTPAGENAME}}|Level}} {{:{{ROOTPAGENAME}}|Type}}...")
 
old>Realpsojed
(testing out 300px width)
Line 1: Line 1:
<includeonly>{| width=500px;
<includeonly>{| width=300px;
|style="text-align:center;"|<span style="font-size: 20px;">{{ROOTPAGENAME}}</span><br>Level {{:{{ROOTPAGENAME}}|Level}} {{:{{ROOTPAGENAME}}|Type}}
|style="text-align:center;"|<span style="font-size: 20px;">{{ROOTPAGENAME}}</span><br>Level {{:{{ROOTPAGENAME}}|Level}} {{:{{ROOTPAGENAME}}|Type}}
|-
|-

Revision as of 12:42, 4 September 2020

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 Enemy Enemy
Enemy
Health: Enemy Energy: Enemy
STR
AGL
PRC
VIT
WIL

Enemy Enemy Damage
Enemy Enemy Damage
Enemy Enemy Damage
Enemy Enemy Damage

Accuracy: Enemy%
Block.C: Enemy%
Crit.C: Enemy%
Armor Piercing: Enemy%

Bleed.C: Enemy%
Stun.C: Enemy%
Knockback.C: Enemy%
Bonus Range: Enemy
Protection: Enemy
Block.P: Enemy
Crit.E: Enemy%
 

Bleed.R: Enemy%
Daze.C: Enemy%
Immobilize.C: Enemy%
Life Leech: Enemy%
Dodge.C: Enemy%
Fumble.C: Enemy%
Counter.C: Enemy%
Magic Power: Enemy%

Pain.R: Enemy%
Control.R: Enemy%
Move.R: Enemy%
Energy Leech: Enemy%

Physical: Enemy

Slashing: Enemy
Piercing: Enemy
Crushing: Enemy
Rending: Enemy
 
Nature: Enemy

Fire: Enemy
Frost: Enemy
Shock: Enemy
Caustic: Enemy
Poison: Enemy
Magic: Enemy

Arcane: Enemy
Unholy: Enemy
Sacred: Enemy
Psionic: Enemy
 

Faction: Enemy
Size: Enemy
XP: Enemy

Enemy