Difference between revisions of "Template:HeroBasic"
Jump to navigation
Jump to search
| Line 42: | Line 42: | ||
|Attack | |Attack | ||
|{{{DamageMin}}} - {{{DamageMax}}} | |{{{DamageMin}}} - {{{DamageMax}}} | ||
| + | |||
|{{#switch: {{{PrimaryAttribute}}} | |{{#switch: {{{PrimaryAttribute}}} | ||
| STR = {{#expr:{{HeroAttribute|attack|{{#expr:{{{STRG}}}*14}}}}+{{{DamageMin}}}}} - {{#expr:{{HeroAttribute|attack|{{#expr:{{{STRG}}}*14}}}}+{{{DamageMax}}}}} | | STR = {{#expr:{{HeroAttribute|attack|{{#expr:{{{STRG}}}*14}}}}+{{{DamageMin}}}}} - {{#expr:{{HeroAttribute|attack|{{#expr:{{{STRG}}}*14}}}}+{{{DamageMax}}}}} | ||
| Line 47: | Line 48: | ||
| INT = {{#expr:{{HeroAttribute|attack|{{#expr:{{{INTG}}}*14}}}}+{{{DamageMin}}}}} - {{#expr:{{HeroAttribute|attack|{{#expr:{{{INTG}}}*14}}}}+{{{DamageMax}}}}} | | INT = {{#expr:{{HeroAttribute|attack|{{#expr:{{{INTG}}}*14}}}}+{{{DamageMin}}}}} - {{#expr:{{HeroAttribute|attack|{{#expr:{{{INTG}}}*14}}}}+{{{DamageMax}}}}} | ||
| default = ERROR}} | | default = ERROR}} | ||
| + | |||
|{{#switch: {{{PrimaryAttribute}}} | |{{#switch: {{{PrimaryAttribute}}} | ||
| − | | STR = {{#expr:{{HeroAttribute|attack|{{#expr:{{{STRG}}}* | + | | STR = {{#expr:{{HeroAttribute|attack|{{#expr:{{{STRG}}}*24}}}}+{{{DamageMin}}}}} - {{#expr:{{HeroAttribute|attack|{{#expr:{{{STRG}}}*24}}}}+{{{DamageMax}}}}} |
| − | | AGI = {{#expr:{{HeroAttribute|attack|{{#expr:{{{AGIG}}}* | + | | AGI = {{#expr:{{HeroAttribute|attack|{{#expr:{{{AGIG}}}*24}}}}+{{{DamageMin}}}}} - {{#expr:{{HeroAttribute|attack|{{#expr:{{{AGIG}}}*24}}}}+{{{DamageMax}}}}} |
| − | | INT = {{#expr:{{HeroAttribute|attack|{{#expr:{{{INTG}}}* | + | | INT = {{#expr:{{HeroAttribute|attack|{{#expr:{{{INTG}}}*24}}}}+{{{DamageMin}}}}} - {{#expr:{{HeroAttribute|attack|{{#expr:{{{INTG}}}*24}}}}+{{{DamageMax}}}}} |
| default = ERROR}} | | default = ERROR}} | ||
|- | |- | ||
| − | | | + | |Armor |
| − | | | + | |{{{Armor}}} |
| + | |{{#expr:{{HeroAttribute|armor|{{#expr:AGIG*14}}}}+{{HeroAttribute|armor|{{{AGI}}}}}}} | ||
|} | |} | ||
Revision as of 15:34, 22 April 2018
[[File:{{{1}}}.png|alt={{{1}}}|link={{{1}}}]]
Usage:
{{HeroBasic
|Name=<Hero Name>
|Class=<Hero Class>
|Icon=<Icon of the hero>
|Description=<Hero Description>
|PrimaryAttribute=<STR/AGI/INT>
|PrimaryAttributeValue=<Value>
|STR=<Strength>
|STRG=<Strength Growth>
|AGI=<Agility>
|AGIG=<Agility Growth>
|INT=<Intelligence>
|INTG=<Intelligence Growth>
|AttackType=<Melee/Ranged>
|AttackRange=<Ignored if melee>
|DamageMin=<Start Min Damage>
|DamageMax=<Start Max Damage>
|Armor=<Start Armor>
|HP=<StartHP>
|Speed=<Movement Speed>
}}