Calculator:Template/ItemEconomy/doc: Difference between revisions

m (Correct optionality of parameters)
Line 41: Line 41:


==Example==
==Example==
The following calculates how many bars the player will get from smelting 1000 mithril ores.
The following calculates how many [[Spirit Rune]]s the player will receive when using up 1,000 [[Rune Essence]]. The following assumes boosts like the [[Runecrafting Skillcape]], the [[Crow]], 99 mastery and some other boosts.
<pre>
<pre>
{{:Calculator:Template/ItemEconomy
{{:Calculator:Template/ItemEconomy
|targetAmount=1000
|targetAmount = 1000
|economyType=Output
|inputsPerAction = 1
|preservationChance=75
|outputsPerAction = 16
|duplicationChance=45
|preservationChance = 51
|extraItemChance=20
|duplicationChance = 26
|extraItemChance = 10
|extraItemAmount = 1
|flatExtraItems = 7
|extraBaseItemChance = 0
|extraBaseItems = 0
}}
}}
</pre>
</pre>
Line 54: Line 59:
The following is the result:
The following is the result:
{{:Calculator:Template/ItemEconomy
{{:Calculator:Template/ItemEconomy
|targetAmount=1000
|targetAmount = 1000
|economyType=Output
|inputsPerAction = 1
|preservationChance=75
|outputsPerAction = 16
|duplicationChance=45
|preservationChance = 51
|extraItemChance=20
|duplicationChance = 26
|extraItemChance = 10
|extraItemAmount = 1
|flatExtraItems = 7
|extraBaseItemChance = 0
|extraBaseItems = 0
}}
}}
2,875

edits