Template:InfoEnemy: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
imported>Kiokurashi
No edit summary
Line 28: Line 28:
   |Accuracy100={{#iferror: {{#expr: ceil({{{defence|}}}*1.5)}} }}
   |Accuracy100={{#iferror: {{#expr: ceil({{{defence|}}}*1.5)}} }}
   |Health={{{health|}}}
   |Health={{{health|}}}
   |Defence={{{defence}}}
   |Defence={{{defence|}}}
   |Speed={{{speed|}}}
   |Speed={{{speed|}}}
   |World={{{world|}}}
   |World={{{world|}}}
Line 97: Line 97:
}}
}}
|-
|-
{{#ifeq: {{{hascard}}} | yes | {{#dpl:  
{{#ifeq: {{{hascard|}}} | yes | {{#dpl:  
|namespace=
|namespace=
|category=Cards
|category=Cards

Revision as of 21:02, 4 May 2021

This template defines the table "Enemies". View table.

Usage:
{{InfoEnemy
|attack=example
|health=example
|speed=example
|defence=example (this defines the accuracy values required)
|defence0=How much defence is needed to not take damage.
|exp=example
|world=example
|area=example
|area2=example (optional)
|area3=example (optional)
|crystal=yes (if you want to show the stats for the crystal enemy in the area
|crystalname=example (Crystal Carrot for blunder hills for example)
|hascard=yes
}}