Template:PickPocketTable/Calculate

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:40, 17 October 2024 (Created page with "<includeonly>{{#vardefine:numerator1|{{{1}}}}}{{#vardefine:numerator99|{{{2}}}}}{{#vardefine:lvl|{{{3}}}}}{{#vardefine:mult|{{{4}}}}}{{#vardefine:percAt1|{{#expr: ({{#var:mult}} * {{#var:numerator1}}) / 255 }} }}{{#vardefine:percAt99|{{#expr: ({{#var:mult}} * {{#var:numerator99}}) / 255 }} }}{{#vardefine:diff|{{#expr: {{#var:percAt99}} - {{#var:percAt1}} }} }}{{#vardefine:cpl|{{#expr: {{#var:diff}} / 98}} }}{{#vardefine:reconstructed|{{#expr: ({{#var:cpl}} * 99)+ {{#va..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This subtemplate does the actual calculation. Example, using data for Guards, the Diary bonus, and level 90 thieving:

{{PickPocketTable/Calculate|50|240|90|1.1}}

96%

Example, using data for Guards, Gloves of Silence, and level 60 thieving:

{{PickPocketTable/Calculate|50|240|60|1.05}}

67.7%