Шаблон:Monsterabilities
Level | ||||||||
---|---|---|---|---|---|---|---|---|
Название умения | Тип атаки | С позиции | Бьет на позицию | Шанс попадания | Шанс крита | Урон | Эффект | Эффект на себя |
{{{attack1name}}} | Melee | {{{attack1req}}} | {{{attack1tar}}} | {{{attack1acc}}}% | {{{attack1crit}}}% | {{{attack1damage}}} | {{{attack1effect}}} | {{{attack1self}}}
|
Documentation
This template will insert a table used to present various information about monster abilities.
Code
To use it, copypaste the following code, filling in all variables that you need (inserting info after the equal = sign) and removing those you don't.
{{monsterabilities |level= |attack1name= |attack1type= |attack1req= |attack1tar= |attack1acc= |attack1crit= |attack1damage= |attack1effect= |attack1self= }}
Usage
You can input up to 6 different attacks by copying any "attack1" variable multiple times, changing the number, for example:
{{monsterabilities |level= |attack1name= |attack1type= |attack1req= |attack1tar= |attack1acc= |attack1crit= |attack1damage= |attack1effect= |attack1self= |attack2name= |attack2type= |attack2req= |attack2tar= |attack2acc= |attack2crit= |attack2damage= |attack2effect= |attack2self= }}
And so on until attack6name et cetera.
Variables
Here is the list of all possible variables with their usage. Variables with a # can contain a number from 1 to 6 for multiple attacks.
Variable | Usage |
---|---|
level | In the "level" variable, input a number from 1 to 4, where:
The name and colour of the table will change accordingly. |
attack#name | Name of the attack |
attack#type | Melee or ranged. If it is a melee attack, you can leave this empty and the table with automatically interpret it. |
attack#req | The position requirement to use this attack. Write like so: 1, 2, 3, 4. |
attack#tar | The possible targets for this attack. Write like so: 1, 2, 3, 4. For AoE attacks, write like so: 1+2+3+4. |
attack#acc | The accuracy % of the attack. Write only the number, without the percentage symbol %. |
attack#crit | The crit chance of the attack. Write only the number, without the percentage symbol %. |
attack#damage | The damage of the attack. Write like so: 2-4. |
attack#effect | Additional effects of the attack on the target. You can insert icons aside the effect name. Leave this blank if there is no additional effect: the table will automatically display "No effect". |
attack#self | Additional effects of the attack on self. You can insert icons aside the effect name. Leave this blank if there is no additional effect: the table will automatically display "No effect". |