Difference between revisions of "Template:HeroBasic"
Jump to navigation
Jump to search
Line 42: | Line 42: | ||
|Attack | |Attack | ||
|{{{DamageMin}}} - {{{DamageMax}}} | |{{{DamageMin}}} - {{{DamageMax}}} | ||
− | |{{#expr:{{HeroAttribute|attack|{{#expr:{{{ | + | |{{#switch: {{{PrimaryAttribute}}} |
− | |{{#expr:{{HeroAttribute|attack|{{#expr:{{{ | + | | STR = {{#expr:{{HeroAttribute|attack|{{#expr:{{{STRG}}}*14}}}}+{{{DamageMin}}}}} - {{#expr:{{HeroAttribute|attack|{{#expr:{{{STRG}}}*14}}}}+{{{DamageMax}}}}} |
+ | | AGI = {{#expr:{{HeroAttribute|attack|{{#expr:{{{AGIG}}}*14}}}}+{{{DamageMin}}}}} - {{#expr:{{HeroAttribute|attack|{{#expr:{{{AGIG}}}*14}}}}+{{{DamageMax}}}}} | ||
+ | | INT = {{#expr:{{HeroAttribute|attack|{{#expr:{{{INTG}}}*14}}}}+{{{DamageMin}}}}} - {{#expr:{{HeroAttribute|attack|{{#expr:{{{INTG}}}*14}}}}+{{{DamageMax}}}}} | ||
+ | | default = ERROR}} | ||
+ | |{{#switch: {{{PrimaryAttribute}}} | ||
+ | | STR = {{#expr:{{HeroAttribute|attack|{{#expr:{{{STRG}}}*14}}}}+{{{DamageMin}}}}} - {{#expr:{{HeroAttribute|attack|{{#expr:{{{STRG}}}*14}}}}+{{{DamageMax}}}}} | ||
+ | | AGI = {{#expr:{{HeroAttribute|attack|{{#expr:{{{AGIG}}}*14}}}}+{{{DamageMin}}}}} - {{#expr:{{HeroAttribute|attack|{{#expr:{{{AGIG}}}*14}}}}+{{{DamageMax}}}}} | ||
+ | | INT = {{#expr:{{HeroAttribute|attack|{{#expr:{{{INTG}}}*14}}}}+{{{DamageMin}}}}} - {{#expr:{{HeroAttribute|attack|{{#expr:{{{INTG}}}*14}}}}+{{{DamageMax}}}}} | ||
+ | | default = ERROR}} | ||
+ | |||
|- | |- | ||
|Butter | |Butter |
Revision as of 15:31, 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> }}