[Archive] Recombinator calculator - Lailloken/Lailloken-UI GitHub Wiki

Feature Overview

  • in-client calculator for recombinator probabilities

  • import items with only a few clicks, then choose the preferred affixes

  • imported items can be edited in order to see how probabilities change when adding/removing affixes

User Interface

image

The recombinator calculator is divided into three parts:

  • top half: item 1 on the left and item 2 on the right, with six edit fields for prefixes and suffixes

  • bottom half: checkboxes for the shared affix pools to select the desired affixes of the recombination result

  • bottom edge: approximate probability of the recombination process achieving the desired result

Usage: Regular Mode (load items)

  • omni-click (default: middle mouse-button) an item to open the context-menu, then click 'recombinator'

  • load additional items: while the calculator is open, omni-clicking supported items will add them to calculator

    • the new item will be loaded into the left item-slot

    • a previously-loaded item will move into the right item-slot

  • the calculator does not check item-classes when adding items, so it's possible to load differing classes into the same window

    • this is by design because, this way, it's easier to load multiple pairs of items in quick succession (without having to close and open the calculator in between)

Usage: Blank Calculator & Editing

  • omni-click a recombinator or power core to open a blank calculator

  • whenever edit fields receive inputs, the 'chance of success' label changes to 'refresh' which has to be clicked to apply the changes that have been made

    • it's important to click this because adding/removing mods from the pool significantly affects the calculations

    • checkboxes for newly-added mods only appear after clicking refresh

Remarks

  • thanks to u/TheDiabeetusKing for The Complete Guide to Recombinators

  • thanks to u/myrahz for this google doc that helped me wrap my head around the required calculations and cross-check results

  • as with most features, this is my attempt to integrate something league-/mechanic-related into the game-client

  • this feature helped me understand parsing item information better, which may come in handy in the future

  • this also improved my UI coding a bit, as I found some more efficient methods along the way