Difference between revisions of "Template:HFCalc"

From Fallen Sword Wiki
Jump to: navigation, search
(fixed typo in costs.)
 
(2 intermediate revisions by one user not shown)
Line 14: Line 14:
 
</noinclude>{| cellspacing="0" cellpadding="0" width="100%"
 
</noinclude>{| cellspacing="0" cellpadding="0" width="100%"
 
| width="7%" | <br><br>
 
| width="7%" | <br><br>
| width="{{#expr: 95/5}}%" align="center" | <span>http://cdn.fallensword.com/hellforge/forgelevel.gif</span><br>
+
| width="{{#expr: 95/5}}%" align="center" | {{Hellforged1}}<br>
| width="{{#expr: 95/5}}%" align="center" | <span>http://cdn.fallensword.com/hellforge/forgelevel.gif</span><span>http://cdn.fallensword.com/hellforge/forgelevel.gif</span><br>
+
| width="{{#expr: 95/5}}%" align="center" | {{Hellforged2}}<br>
| width="{{#expr: 95/5}}%" align="center" | <span>http://cdn.fallensword.com/hellforge/forgelevel.gif</span><span>http://cdn.fallensword.com/hellforge/forgelevel.gif</span><span>http://cdn.fallensword.com/hellforge/forgelevel.gif</span><br>
+
| width="{{#expr: 95/5}}%" align="center" | {{Hellforged3}}<br>
| width="{{#expr: 95/5}}%" align="center" | <span>http://cdn.fallensword.com/hellforge/forgelevel.gif</span><span>http://cdn.fallensword.com/hellforge/forgelevel.gif</span><span>http://cdn.fallensword.com/hellforge/forgelevel.gif</span><span>http://cdn.fallensword.com/hellforge/forgelevel.gif</span><br>
+
| width="{{#expr: 95/5}}%" align="center" | {{Hellforged4}}<br>
| width="{{#expr: 95/5}}%" align="center" | <span>http://cdn.fallensword.com/hellforge/forgelevel.gif</span><span>http://cdn.fallensword.com/hellforge/forgelevel.gif</span><span>http://cdn.fallensword.com/hellforge/forgelevel.gif</span><span>http://cdn.fallensword.com/hellforge/forgelevel.gif</span><span>http://cdn.fallensword.com/hellforge/forgelevel.gif</span><br>
+
| width="{{#expr: 95/5}}%" align="center" | {{Hellforged5}}<br>
 
|- bgcolor="#eeeeff"
 
|- bgcolor="#eeeeff"
 
| align="left" | '''&bull; Att:'''
 
| align="left" | '''&bull; Att:'''
Line 63: Line 63:
 
|- bgcolor="#eeeeff"
 
|- bgcolor="#eeeeff"
 
| align="left" valign="top" | '''&bull; Cost:'''
 
| align="left" valign="top" | '''&bull; Cost:'''
| align="center" | <tt>{{formatnum:{{#ifexpr:{{{level|1}}}<=50|7500|{{#expr:{{{level|1}}}*150}}}}}}&nbsp;http://cdn.fallensword.com/skin/gold_button.gif<br><span style="border-top:1px solid #acacac">{{formatnum:{{#ifexpr:{{{level|1}}}<=50|7500|{{#expr:{{{level|1}}}*150}}}}}}&nbsp;http://cdn.fallensword.com/skin/gold_button.gif</span></tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr:{{{level|1}}}<=50|7500|{{#expr:{{{level|1}}}*150}}}}}}&nbsp;{{Gold}}<br><span style="border-top:1px solid #acacac">{{formatnum:{{#ifexpr:{{{level|1}}}<=50|7500|{{#expr:{{{level|1}}}*150}}}}}}&nbsp;{{Gold}}</span></tt>
| align="center" | <tt>{{formatnum:{{#ifexpr:{{{level|1}}}<=50|15000|{{#expr:{{{level|1}}}*300}}}}}}&nbsp;http://cdn.fallensword.com/skin/gold_button.gif<br><span style="border-top:1px solid #acacac">{{formatnum:{{#expr: {{#ifexpr:{{{level|1}}}<=50|7500|{{#expr:{{{level|1}}}*150}}}}+{{#ifexpr:{{{level|1}}}<=50|15000|{{#expr:{{{level|1}}}*300}}}}}}}}&nbsp;http://cdn.fallensword.com/skin/gold_button.gif</span></tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr:{{{level|1}}}<=50|15000|{{#expr:{{{level|1}}}*300}}}}}}&nbsp;{{Gold}}<br><span style="border-top:1px solid #acacac">{{formatnum:{{#expr: {{#ifexpr:{{{level|1}}}<=50|7500|{{#expr:{{{level|1}}}*150}}}}+{{#ifexpr:{{{level|1}}}<=50|15000|{{#expr:{{{level|1}}}*300}}}}}}}}&nbsp;{{Gold}}</span></tt>
| align="center" | <tt>{{formatnum:{{#ifexpr:{{{level|1}}}<=50|30000|{{#expr:{{{level|1}}}*600}}}}}}&nbsp;http://cdn.fallensword.com/skin/gold_button.gif<br><span style="border-top:1px solid #acacac">{{formatnum:{{#expr: {{#if:{{{level|1}}}<=50|7500|{{#expr:{{{level|1}}}*150}}}}+{{#ifexpr:{{{level|1}}}<=50|15000|{{#expr:{{{level|1}}}*300}}}}+{{#ifexpr:{{{level|1}}}<=50|30000|{{#expr:{{{level|1}}}*600}}}}}}}}&nbsp;http://cdn.fallensword.com/skin/gold_button.gif</span></tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr:{{{level|1}}}<=50|30000|{{#expr:{{{level|1}}}*600}}}}}}&nbsp;{{Gold}}<br><span style="border-top:1px solid #acacac">{{formatnum:{{#expr: {{#if:{{{level|1}}}<=50|7500|{{#expr:{{{level|1}}}*150}}}}+{{#ifexpr:{{{level|1}}}<=50|15000|{{#expr:{{{level|1}}}*300}}}}+{{#ifexpr:{{{level|1}}}<=50|30000|{{#expr:{{{level|1}}}*600}}}}}}}}&nbsp;{{Gold}}</span></tt>
| align="center" | <tt>{{formatnum:{{#ifexpr:{{{level|1}}}<=50|60000|{{#expr:{{{level|1}}}*1200}}}}}}&nbsp;http://cdn.fallensword.com/skin/gold_button.gif<br><span style="border-top:1px solid #acacac">{{formatnum:{{#expr: {{#if:{{{level|1}}}<=50|7500|{{#expr:{{{level|1}}}*150}}}}+{{#ifexpr:{{{level|1}}}<=50|15000|{{#expr:{{{level|1}}}*300}}}}+{{#ifexpr:{{{level|1}}}<=50|30000|{{#expr:{{{level|1}}}*600}}}}+{{#ifexpr:{{{level|1}}}<=50|60000|{{#expr:{{{level|1}}}*1200}}}}}}}}&nbsp;http://cdn.fallensword.com/skin/gold_button.gif</span></tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr:{{{level|1}}}<=50|60000|{{#expr:{{{level|1}}}*1200}}}}}}&nbsp;{{Gold}}<br><span style="border-top:1px solid #acacac">{{formatnum:{{#expr: {{#if:{{{level|1}}}<=50|7500|{{#expr:{{{level|1}}}*150}}}}+{{#ifexpr:{{{level|1}}}<=50|15000|{{#expr:{{{level|1}}}*300}}}}+{{#ifexpr:{{{level|1}}}<=50|30000|{{#expr:{{{level|1}}}*600}}}}+{{#ifexpr:{{{level|1}}}<=50|60000|{{#expr:{{{level|1}}}*1200}}}}}}}}&nbsp;{{Gold}}</span></tt>
| align="center" | <tt>{{formatnum:{{#ifexpr:{{{level|1}}}<=50|120000|{{#expr:{{{level}}}*2400}}}}}}&nbsp;http://cdn.fallensword.com/skin/gold_button.gif<br><span style="border-top:1px solid #acacac">{{formatnum:{{#expr: {{#ifexpr:{{{level|1}}}<=50|7500|{{#expr:{{{level|1}}}*150}}}}+{{#ifexpr:{{{level|1}}}<=50|15000|{{#expr:{{{level}}}*300}}}}+{{#ifexpr:{{{level|1}}}<=50|30000|{{#expr:{{{level|1}}}*600}}}}+{{#ifexpr:{{{level|1}}}<=50|60000|{{#expr:{{{level|1}}}*1200}}}}+{{#ifexpr:{{{level|1}}}<=50|120000|{{#expr:{{{level|1}}}*2400}}}}}}}}&nbsp;http://cdn.fallensword.com/skin/gold_button.gif</span></tt>
+
| align="center" | <tt>{{formatnum:{{#ifexpr:{{{level|1}}}<=50|120000|{{#expr:{{{level}}}*2400}}}}}}&nbsp;{{Gold}}<br><span style="border-top:1px solid #acacac">{{formatnum:{{#expr: {{#ifexpr:{{{level|1}}}<=50|7500|{{#expr:{{{level|1}}}*150}}}}+{{#ifexpr:{{{level|1}}}<=50|15000|{{#expr:{{{level}}}*300}}}}+{{#ifexpr:{{{level|1}}}<=50|30000|{{#expr:{{{level|1}}}*600}}}}+{{#ifexpr:{{{level|1}}}<=50|60000|{{#expr:{{{level|1}}}*1200}}}}+{{#ifexpr:{{{level|1}}}<=50|120000|{{#expr:{{{level|1}}}*2400}}}}}}}}&nbsp;{{Gold}}</span></tt>
 
|}
 
|}
 
<noinclude>
 
<noinclude>

Latest revision as of 14:00, 29 March 2022

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.png
forgelevel.pngforgelevel.png
forgelevel.pngforgelevel.pngforgelevel.png
forgelevel.pngforgelevel.pngforgelevel.pngforgelevel.png
forgelevel.pngforgelevel.pngforgelevel.pngforgelevel.pngforgelevel.png
• 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 0.png
7,500 0.png
15,000 0.png
22,500 0.png
30,000 0.png
52,500 0.png
60,000 0.png
112,500 0.png
120,000 0.png
232,500 0.png

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 = round-down( original-stat + ( ( 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.