Difference between revisions of "Template:LL"

From Tales of Maj'Eyal
Jump to: navigation, search
Line 3: Line 3:
  
 
Use as <nowiki>{{ll|<base hp>|<rank>|<level>|fixed (optional)}}</nowiki>
 
Use as <nowiki>{{ll|<base hp>|<rank>|<level>|fixed (optional)}}</nowiki>
 +
 +
<!---
 +
<base hp> + (life_from_levels)
 +
life_from_levels = (adjusted_rank_value) * level
 +
adjusted_rank_value = (sum of all values(by <rank>) from level 2 -> <level>)
 +
--->
 
</noinclude>
 
</noinclude>
  
<includeonly><onlyinclude>{{#expr: {{{1|}}} + {{#expr: {{arsum|{{liferank/minadj|{{{2|}}}}}|{{liferank/maxadj|{{{2|}}}|{{{3|}}}}}|{{#expr:{{{3|}}}-1}}}}}   </includeonly></onlyinclude>
+
<includeonly><onlyinclude>{{#expr: {{{1|}}} + {{#expr: {{arsum|{{liferank/minadj|{{{2|}}} }}|{{liferank/maxadj|{{{2|}}}|{{{3|}}} }}|{{#expr:{{{3|}}}-1 }} }} }} }}  </includeonly></onlyinclude>

Revision as of 01:53, 12 February 2016

Work in progress

Use as {{ll|<base hp>|<rank>|<level>|fixed (optional)}}