User:Inno/calculator test: Difference between revisions

no edit summary
(Created page with "{{JSCalc}} {{Calc use|Calculator:Thieving/Master farmer success/Template}} This calculator determines the chance of succeeding to pickpocket master farmers. <pre class="jcConfig"> template = Calculator:Thieving/Master farmer success/Template form = Form result = Result param = playername|Name||hs|ThievingLevel_Input,18,1 param = ThievingLevel_Input|Thieving Level|38|int|38-99 param = ArdyDiary|Ardougne Hard Diary Completed|true|check|ischecked,notchecked </pre> {| c...")
 
No edit summary
 
Line 15: Line 15:
<br/>
<br/>
----
----
<div id="Result">{{Calculator:Thieving/Master farmer success/Template}}</div>
<div id="Result">{{Calculator:Test Template}}</div>
 
 
<noinclude>{{Calculator template|Calculator:Thieving/Master farmer success}}</noinclude>
<div style="display:none;">
{{#vardefine:thief|{{{ThievingLevel_Input|99}}}}}
{{#vardefine:chance|{{#switch: {{#expr: floor(((5 / 833 * {{#var:thief}}) + 17/49) * {{#ifeq:{{{ArdyDiary|ischecked}}}|ischecked|1.1|1.0}})}} | -1 = 0 | 1 = 100 | {{#expr:((((5 / 833 * {{#var:thief}}) + 17/49) * {{#ifeq:{{{ArdyDiary|ischecked}}}|ischecked|1.1|1.0}}) * 100) round 2}}}}}}
</div>
 
At level <b>{{#var:thief}}</b> Thieving, you have a <b>{{#var:chance}}%</b> chance to successfully steal from master farmers.
 
At a theoretical maximum efficiency, you can expect to earn up to <b>{{Formatexpr|(43 * ((60 * {{#var:chance}}) / (2 + ((1 - ({{#var:chance}} / 100)) * 8)))) round 0}}</b> {{SCP|Thieving}} experience each hour, the equivalent of <b>{{Formatexpr|((60 * {{#var:chance}}) / (2 + ((1 - ({{#var:chance}} / 100)) * 8))) round 0}}</b> successful pickpockets.
353

edits