Difference between revisions of "Template:Enemy"
Jump to navigation
Jump to search
Defensive stats
Offensive stats
old>Realpsojed |
old>Realpsojed m (bonus range is not %) |
||
Line 62: | Line 62: | ||
-->Immob. Chance <span style="float:right;">{{:{{ROOTPAGENAME}}|ImmobilizeChance}}%</span><br><!-- | -->Immob. Chance <span style="float:right;">{{:{{ROOTPAGENAME}}|ImmobilizeChance}}%</span><br><!-- | ||
-->Energy Leech <span style="float:right;">{{:{{ROOTPAGENAME}}|EnergyLeech}}%</span><br><!-- | -->Energy Leech <span style="float:right;">{{:{{ROOTPAGENAME}}|EnergyLeech}}%</span><br><!-- | ||
-->Bonus Range <span style="float:right;">{{:{{ROOTPAGENAME}}|BonusRange}} | -->Bonus Range <span style="float:right;">{{:{{ROOTPAGENAME}}|BonusRange}}</span><br><!-- | ||
-->Armor Pen. <span style="float:right;">{{:{{ROOTPAGENAME}}|ArmorPiercing}}%</span></div>{{Clear}}<!-- | -->Armor Pen. <span style="float:right;">{{:{{ROOTPAGENAME}}|ArmorPiercing}}%</span></div>{{Clear}}<!-- | ||
--><div style="text-align:center;">{{Tooltip rule}}'''Attributes'''<br><!-- | --><div style="text-align:center;">{{Tooltip rule}}'''Attributes'''<br><!-- |
Revision as of 18:11, 2 May 2021
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
Magic Enemy%
Defensive stats
Offensive stats
Crit Chance Enemy%
Accuracy Enemy%
Counter Chance Enemy%
Stun Chance Enemy%
Knockb. Chance Enemy%
Life Leech Enemy%
Vision Enemy
Magic Power Enemy%
Accuracy Enemy%
Counter Chance Enemy%
Stun Chance Enemy%
Knockb. Chance Enemy%
Life Leech Enemy%
Vision Enemy
Magic Power Enemy%