Difference between revisions of "Template:HFCalc"

From Fallen Sword Wiki
Jump to: navigation, search
(New page: <noinclude> <center> {| width="100%" style="border:3px dashed #f00;" | align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | Do not edit th...)
 
Line 21: Line 21:
 
|- bgcolor="#eeeeff"
 
|- bgcolor="#eeeeff"
 
| align="left" | '''&bull; Att:'''
 
| align="left" | '''&bull; Att:'''
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{attack|0}}} > 0 | {{#expr:  floor({{{attack|0}}} + ((5+({{{level|0}}}/50))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{attack|0}}} <> 0 | {{#expr:  floor({{{attack|0}}} + ((5+({{{level|0}}}/50))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{attack|0}}} > 0 | {{#expr:  floor({{{attack|0}}} + ((10+(2*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{attack|0}}} <> 0 | {{#expr:  floor({{{attack|0}}} + ((10+(2*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{attack|0}}} > 0 | {{#expr:  floor({{{attack|0}}} + ((15+(3*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{attack|0}}} <> 0 | {{#expr:  floor({{{attack|0}}} + ((15+(3*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{attack|0}}} > 0 | {{#expr:  floor({{{attack|0}}} + ((25+(4*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{attack|0}}} <> 0 | {{#expr:  floor({{{attack|0}}} + ((25+(4*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{attack|0}}} > 0 | {{#expr:  floor({{{attack|0}}} + ((50+(5*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{attack|0}}} <> 0 | {{#expr:  floor({{{attack|0}}} + ((50+(5*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
 
|-
 
|-
 
| align="left" | '''&bull; Def:'''
 
| align="left" | '''&bull; Def:'''
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{defense|0}}} > 0 | {{#expr:  floor({{{defense|0}}} + ((5+({{{level|0}}}/50))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{defense|0}}} <> 0 | {{#expr:  floor({{{defense|0}}} + ((5+({{{level|0}}}/50))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{defense|0}}} > 0 | {{#expr:  floor({{{defense|0}}} + ((10+(2*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{defense|0}}} <> 0 | {{#expr:  floor({{{defense|0}}} + ((10+(2*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{defense|0}}} > 0 | {{#expr:  floor({{{defense|0}}} + ((15+(3*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{defense|0}}} <> 0 | {{#expr:  floor({{{defense|0}}} + ((15+(3*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{defense|0}}} > 0 | {{#expr:  floor({{{defense|0}}} + ((25+(4*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{defense|0}}} <> 0 | {{#expr:  floor({{{defense|0}}} + ((25+(4*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{defense|0}}} > 0 | {{#expr:  floor({{{defense|0}}} + ((50+(5*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{defense|0}}} <> 0 | {{#expr:  floor({{{defense|0}}} + ((50+(5*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
 
|- bgcolor="#eeeeff"
 
|- bgcolor="#eeeeff"
 
| align="left" | '''&bull; Arm:'''
 
| align="left" | '''&bull; Arm:'''
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{armor|0}}} > 0 | {{#expr:  floor({{{armor|0}}} + ((5+({{{level|0}}}/50))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{armor|0}}} <> 0 | {{#expr:  floor({{{armor|0}}} + ((5+({{{level|0}}}/50))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{armor|0}}} > 0 | {{#expr:  floor({{{armor|0}}} + ((10+(2*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{armor|0}}} <> 0 | {{#expr:  floor({{{armor|0}}} + ((10+(2*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{armor|0}}} > 0 | {{#expr:  floor({{{armor|0}}} + ((15+(3*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{armor|0}}} <> 0 | {{#expr:  floor({{{armor|0}}} + ((15+(3*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{armor|0}}} > 0 | {{#expr:  floor({{{armor|0}}} + ((25+(4*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{armor|0}}} <> 0 | {{#expr:  floor({{{armor|0}}} + ((25+(4*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{armor|0}}} > 0 | {{#expr:  floor({{{armor|0}}} + ((50+(5*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{armor|0}}} <> 0 | {{#expr:  floor({{{armor|0}}} + ((50+(5*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
 
|-
 
|-
 
| align="left" | '''&bull; HP:'''
 
| align="left" | '''&bull; HP:'''
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{hp|0}}} > 0 | {{#expr:  floor({{{hp|0}}} + ((5+({{{level|0}}}/50))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{hp|0}}} <> 0 | {{#expr:  floor({{{hp|0}}} + ((5+({{{level|0}}}/50))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{hp|0}}} > 0 | {{#expr:  floor({{{hp|0}}} + ((10+(2*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{hp|0}}} <> 0 | {{#expr:  floor({{{hp|0}}} + ((10+(2*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{hp|0}}} > 0 | {{#expr:  floor({{{hp|0}}} + ((15+(3*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{hp|0}}} <> 0 | {{#expr:  floor({{{hp|0}}} + ((15+(3*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{hp|0}}} > 0 | {{#expr:  floor({{{hp|0}}} + ((25+(4*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{hp|0}}} <> 0 | {{#expr:  floor({{{hp|0}}} + ((25+(4*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{hp|0}}} > 0 | {{#expr:  floor({{{hp|0}}} + ((50+(5*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{hp|0}}} <> 0 | {{#expr:  floor({{{hp|0}}} + ((50+(5*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
 
|- bgcolor="#eeeeff"
 
|- bgcolor="#eeeeff"
 
| align="left" | '''&bull; Dam:'''
 
| align="left" | '''&bull; Dam:'''
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{damage|0}}} > 0 | {{#expr:  floor({{{damage|0}}} + ((5+({{{level|0}}}/50))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{damage|0}}} <> 0 | {{#expr:  floor({{{damage|0}}} + ((5+({{{level|0}}}/50))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{damage|0}}} > 0 | {{#expr:  floor({{{damage|0}}} + ((10+(2*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{damage|0}}} <> 0 | {{#expr:  floor({{{damage|0}}} + ((10+(2*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{damage|0}}} > 0 | {{#expr:  floor({{{damage|0}}} + ((15+(3*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{damage|0}}} <> 0 | {{#expr:  floor({{{damage|0}}} + ((15+(3*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{damage|0}}} > 0 | {{#expr:  floor({{{damage|0}}} + ((25+(4*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{damage|0}}} <> 0 | {{#expr:  floor({{{damage|0}}} + ((25+(4*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{damage|0}}} > 0 | {{#expr:  floor({{{damage|0}}} + ((50+(5*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{damage|0}}} <> 0 | {{#expr:  floor({{{damage|0}}} + ((50+(5*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
 
|-
 
|-
 
| align="left" | '''&bull; Stam:'''
 
| align="left" | '''&bull; Stam:'''
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{stamina|0}}} > 0 | {{#expr:  floor({{{stamina|0}}} + ((5+({{{level|0}}}/50))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{stamina|0}}} <> 0 | {{#expr:  floor({{{stamina|0}}} + ((5+({{{level|0}}}/50))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{stamina|0}}} > 0 | {{#expr:  floor({{{stamina|0}}} + ((10+(2*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{stamina|0}}} <> 0 | {{#expr:  floor({{{stamina|0}}} + ((10+(2*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{stamina|0}}} > 0 | {{#expr:  floor({{{stamina|0}}} + ((15+(3*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{stamina|0}}} <> 0 | {{#expr:  floor({{{stamina|0}}} + ((15+(3*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{stamina|0}}} > 0 | {{#expr:  floor({{{stamina|0}}} + ((25+(4*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{stamina|0}}} <> 0 | {{#expr:  floor({{{stamina|0}}} + ((25+(4*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{stamina|0}}} > 0 | {{#expr:  floor({{{stamina|0}}} + ((50+(5*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}>0|1|0}} + {{#ifexpr: {{{defense|0}}}>0|1|0}} + {{#ifexpr: {{{armor|0}}}>0|1|0}} + {{#ifexpr: {{{hp|0}}}>0|1|0}} + {{#ifexpr: {{{damage|0}}}>0|1|0}} + {{#ifexpr: {{{stamina|0}}}>0|1|0}})))}} | 0 }}}}</tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr: {{{stamina|0}}} <> 0 | {{#expr:  floor({{{stamina|0}}} + ((50+(5*({{{level|0}}}/50)))/({{#ifexpr: {{{attack|0}}}<>0|1|0}} + {{#ifexpr: {{{defense|0}}}<>0|1|0}} + {{#ifexpr: {{{armor|0}}}<>0|1|0}} + {{#ifexpr: {{{hp|0}}}<>0|1|0}} + {{#ifexpr: {{{damage|0}}}<>0|1|0}} + {{#ifexpr: {{{stamina|0}}}<>0|1|0}})))}} | 0 }}}}</tt>
 
|- bgcolor="#eeeeff"
 
|- bgcolor="#eeeeff"
 
| align="left" valign="top" | '''&bull; Cost:'''
 
| align="left" valign="top" | '''&bull; Cost:'''
Line 92: Line 92:
 
* [[Template:HFCalcCrafted]]: This calculator allows a page to show the full range of possible forged stats for a crafted item in various stages of crafting.
 
* [[Template:HFCalcCrafted]]: This calculator allows a page to show the full range of possible forged stats for a crafted item in various stages of crafting.
  
[[Category:Templates]]</noinclude>
+
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 18:46, 25 July 2008

Do not edit this page!

This page is currently under construction and will not function properly.
If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there.

Editing this page may cause the template to stop working properly for other pages currently using this template.




forgelevel.gif
forgelevel.gifforgelevel.gif
forgelevel.gifforgelevel.gifforgelevel.gif
forgelevel.gifforgelevel.gifforgelevel.gifforgelevel.gif
forgelevel.gifforgelevel.gifforgelevel.gifforgelevel.gifforgelevel.gif
• Att: 0 0 0 0 0
• Def: 0 0 0 0 0
• Arm: 0 0 0 0 0
• HP: 0 0 0 0 0
• Dam: 0 0 0 0 0
• Stam: 0 0 0 0 0
• Cost: 7,500 gold_button.gif
7,500 gold_button.gif
15,000 gold_button.gif
22,500 gold_button.gif
30,000 gold_button.gif
52,500 gold_button.gif
60,000 gold_button.gif
112,500 gold_button.gif
120,000 gold_button.gif
232,500 gold_button.gif

How to Use

This is a hellforge calculator. It calculates the new stats and the gold cost for every level of forging. There may be a few discrepancies for items with all 6 stats and also items with craftable stats that have a minimum of 0 may not be calculated at all. The basic formula is close to:

x = original-stat + round-down( ( forge-bonus + level-bonus) / number-of-stats )

To put this template on a page, use the following code:

{{HFCalc
|level=
|attack=
|defense=
|armor=
|hp=
|damage=
|stamina=
}}

Related Templates

  • Template:HFCalc: This is the basic hellforge calculator.
  • Template:HFCalc2: This calculator is specifically designed to be used for items which may have variable stats, such as partially crafted items.
  • Template:HFCalcCrafted: This calculator allows a page to show the full range of possible forged stats for a crafted item in various stages of crafting.