Difference between revisions of "Template:HeroBasic"

From Eurobattle.net WiKi
Jump to navigation Jump to search
Line 58: Line 58:
 
|Armor
 
|Armor
 
|{{{Armor}}}
 
|{{{Armor}}}
|{{#expr:{{HeroAttribute|armor|{{#expr:{{{AGIG}}}*14}}}}+{{HeroAttribute|armor|{{{AGI}}}}} round 1}}
+
|{{#expr:{{HeroAttribute|armor|{{#expr:{{{AGIG}}}*14}}}}+{{HeroAttribute|armor|{{{AGI}}}}} round 0}}
|{{#expr:{{HeroAttribute|armor|{{#expr:{{{AGIG}}}*24}}}}+{{HeroAttribute|armor|{{{AGI}}}}} round 1}}
+
|{{#expr:{{HeroAttribute|armor|{{#expr:{{{AGIG}}}*24}}}}+{{HeroAttribute|armor|{{{AGI}}}}} round 0}}
 
|-
 
|-
 
|Strength
 
|Strength
 
|{{{STR}}}
 
|{{{STR}}}
|{{#expr:{{{STR}}}+{{#expr:{{{STRG}}}*14}} round 1}}
+
|{{#expr:{{{STR}}}+{{#expr:{{{STRG}}}*14}} round 0}}
|{{#expr:{{{STR}}}+{{#expr:{{{STRG}}}*24}} round 1}}
+
|{{#expr:{{{STR}}}+{{#expr:{{{STRG}}}*24}} round 0}}
 
|-
 
|-
 
|Agility
 
|Agility
 
|{{{AGI}}}
 
|{{{AGI}}}
|{{#expr:{{{AGI}}}+{{#expr:{{{AGIG}}}*14}} round 1}}
+
|{{#expr:{{{AGI}}}+{{#expr:{{{AGIG}}}*14}} round 0}}
|{{#expr:{{{AGI}}}+{{#expr:{{{AGIG}}}*24}} round 1}}
+
|{{#expr:{{{AGI}}}+{{#expr:{{{AGIG}}}*24}} round 0}}
 
|-
 
|-
 
|Intelligence
 
|Intelligence
 
|{{{STR}}}
 
|{{{STR}}}
|{{#expr:{{{INT}}}+{{#expr:{{{INTG}}}*14}} round 1}}
+
|{{#expr:{{{INT}}}+{{#expr:{{{INTG}}}*14}} round 0}}
|{{#expr:{{{INT}}}+{{#expr:{{{INTG}}}*24}} round 1}}
+
|{{#expr:{{{INT}}}+{{#expr:{{{INTG}}}*24}} round 0}}
 +
|-
 +
|HP
 +
|{{{HP}}}
 +
|{{#expr:{{HeroAttribute|hp|{{#expr:{{{STRG}}}*14}}}}+{{{HP}}} round 0}}
 +
|{{#expr:{{HeroAttribute|hp|{{#expr:{{{STRG}}}*24}}}}+{{{HP}}} round 0}}
 +
|-
 +
|Mana
 +
|{{{Mana}}}
 +
|{{#expr:{{HeroAttribute|mana|{{#expr:{{{INTG}}}*14}}}}+{{{Mana}}} round 0}}
 +
|{{#expr:{{HeroAttribute|mana|{{#expr:{{{INTG}}}*24}}}}+{{{Mana}}} round 0}}
 
|}
 
|}
  
 
 
HP
 
Level 1
 
{{{HP}}}
 
Level 15
 
{{#expr:{{HeroAttribute|hp|{{#expr:3.0*14}}}}+{{{HP}}}}}
 
Level 25
 
{{#expr:{{HeroAttribute|hp|{{#expr:3.0*24}}}}+{{{HP}}}}}
 
  
 
</includeonly>
 
</includeonly>

Revision as of 15:46, 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>
}}