Difference between revisions of "Template:HeroAttribute"

From Eurobattle.net WiKi
Jump to navigation Jump to search
(Created page with "{{#if: {{{1}}} | Parameter 1 is not defined, or is defined and non-null/non-empty. | Parameter 1 is null. It contains only empty string(s) or breaking space(s) etc.}} Returns...")
 
Line 1: Line 1:
 
{{#if: {{{1}}} | Parameter 1 is not defined, or is defined and non-null/non-empty. | Parameter 1 is null. It contains only empty string(s) or breaking space(s) etc.}}
 
{{#if: {{{1}}} | Parameter 1 is not defined, or is defined and non-null/non-empty. | Parameter 1 is null. It contains only empty string(s) or breaking space(s) etc.}}
  
 +
<noinclude>
 +
<pre>
 
Returns bonus property based on bonus attribute
 
Returns bonus property based on bonus attribute
  
Line 8: Line 10:
 
{{HeroAttribute|attack|x}} bonus damage on x bonus primary stat
 
{{HeroAttribute|attack|x}} bonus damage on x bonus primary stat
 
{{HeroAttribute|armor|x}} bonus armor on x bonus agility
 
{{HeroAttribute|armor|x}} bonus armor on x bonus agility
 
<noinclude>
 
<pre>
 
Returns
 
  
 
</pre>
 
</pre>

Revision as of 16:04, 22 April 2018

Parameter 1 is not defined, or is defined and non-null/non-empty.


Returns bonus property based on bonus attribute

Example: 
{{HeroAttribute|hp|x}} returns bonus HP based on x bonus strenght
{{HeroAttribute|mana|x}} bonus mana on x bonus intelligence
{{HeroAttribute|attack|x}} bonus damage on x bonus primary stat
{{HeroAttribute|armor|x}} bonus armor on x bonus agility