User:Dr ishmael/Lockpicks

This is a proof-of-concept demonstration of how variables can be used to calculate a player's predicted progression through the interlinked Lucky and Treasure Hunter titles. I had mostly implemented this before using a recursive template, but then Wikia borked that up by severely limiting recursive template calls. I saved the equations into an Excel spreadsheet, and now I am able to transfer them back to the wiki through the use of variables.

A full implementation would have the "Chests to next..." and "New..." sections in a subtemplate. Since there are a total of 13 levels in both titles, the parent template would contain 13 calls to the subtemplate wrapped in #if blocks that would skip it if both titles have been calculated to max. (Say you're already at Treasure rank 3 and Lucky rank 2, you'd only need the first 8 calculations to max both, so the last 5 would be skipped.) The player's current Treasure Hunter and Lucky points would of course be parameters to the parent template. The actual return value of the template would probably be in a table format.


 * Current Lucky rank:


 * Current Treasure Hunter rank:


 * Current retention rate: %
 * Assumes: L20 character, 600g chests in Normal Mode


 * Chests per lockpick:


 * Chests to next Lucky level:


 * Chests to next Treasure level:


 * Chests to next any level:


 * Lockpicks to next any level:


 * New Lucky points at next level:


 * New Treasure points at next level:


 * New Lucky rank:


 * New Treasure rank:


 * New retention rate at next level: %


 * Total lockpicks used:


 * Chests to next Lucky level:


 * Chests to next Treasure level:


 * Chests to next any level:


 * Lockpicks to next any level:


 * New Lucky points at next level:


 * New Treasure points at next level:


 * New Lucky rank:


 * New Treasure rank:


 * New retention rate at next level: %


 * Total lockpicks used: