Difference between revisions of "Template:HeroBasic"

From Eurobattle.net WiKi
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
 
 
 
<noinclude>
 
<noinclude>
 
<pre>
 
<pre>
[[File:{{{1}}}.png|alt={{{1}}}|link={{{1}}}]]
 
  
 
Usage:
 
Usage:
Line 27: Line 22:
 
  |Armor=<Start Armor>
 
  |Armor=<Start Armor>
 
  |HP=<StartHP>
 
  |HP=<StartHP>
 +
|Mana=<StartMana>
 
  |Speed=<Movement Speed>
 
  |Speed=<Movement Speed>
 
}}
 
}}
Line 34: Line 30:
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 +
{{{Name}}} the {{{Class}}}
 +
 +
[[File:{{{Icon}}}]]
 +
 +
{{{Description}}}
 +
 +
Attack Type: {{{AttackType}}}
 +
 +
Attack Range: {{#ifeq:{{{AttackType}}}|Melee|128|{{{AttackRange}}}}}
 +
 +
 
{|
 
{|
 
|Attribute
 
|Attribute
Line 58: Line 65:
 
|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
 +
|{{{STR}}}
 +
|{{#expr:{{{STR}}}+{{#expr:{{{STRG}}}*14}} round 0}}
 +
|{{#expr:{{{STR}}}+{{#expr:{{{STRG}}}*24}} round 0}}
 +
|-
 +
|Agility
 +
|{{{AGI}}}
 +
|{{#expr:{{{AGI}}}+{{#expr:{{{AGIG}}}*14}} round 0}}
 +
|{{#expr:{{{AGI}}}+{{#expr:{{{AGIG}}}*24}} round 0}}
 +
|-
 +
|Intelligence
 +
|{{{STR}}}
 +
|{{#expr:{{{INT}}}+{{#expr:{{{INTG}}}*14}} round 0}}
 +
|{{#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>

Latest revision as of 16:56, 22 April 2018


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>
 |Mana=<StartMana>
 |Speed=<Movement Speed>
}}