1. Hello!

    First of all, welcome to MapleLegends! You are currently viewing the forums as a guest, so you can only view the first post of every topic. We highly recommend registering so you can be part of our community.

    By registering to our forums you can introduce yourself and make your first friends, talk in the shoutbox, contribute, and much more!

    This process only takes a few minutes and you can always decide to lurk even after!

    - MapleLegends Administration-
  2. Experiencing disconnecting after inserting your login info? Make sure you are on the latest MapleLegends version. The current latest version is found by clicking here.
    Dismiss Notice

[Release] Scroll Probability Calculator

Discussion in 'Programming' started by ahotbanana, Apr 12, 2019.

Thread Status:
You must be a logged-in, registered member of this site to view further posts in this thread.
  1. ahotbanana
    Offline

    ahotbanana Capt. Latanica Retired Staff

    360
    126
    278
    Sep 27, 2015
    Male
    UK
    3:03 PM
    Hi everyone!

    I've been meaning to make this for quite a while now and I had a slow day at work, so I had the time to actually program it. I don't know how useful it's likely to be to anyone, but here we are:

    upload_2019-4-12_17-32-27.png

    What it does
    Given any combination of scrolls (of the types you can see in the screenshot), this will calculate the probability of each possible outcome, rounded to three significant figures.

    It works on the assumption that you will keep going regardless of failures. Of course, you can use it to determine if it's worth continuing to scroll

    It also assumes that the percentages listed in game are actually true, which often doesn't feel like it's the case :(

    How to use it
    1. For the sake of sanity checking, choose the number of slots on the item (or the number of scrolls you intend to use).
    2. Choose how many of each scroll type you intend to use.
    3. Fill in the bonus you will get to your desired stat for each tier of scroll. You only need to fill in the scrolls you are actually using. Common setups for this can be applied with the Common Configurations buttons: 5/2/1 (eg overall int), 3/2/1 (eg gloves for att) and 2/1/0 (int bonus from gloves for m.att)
    4. Click on calculate and the ugly grey box should be filled in with a table.
    Where to download it
    For now, I've put the exe on my OneDrive and created this link for you to download it: https://1drv.ms/u/s!AsFsUF0eyeDzis5IFfDfnSqRrg15JA

    If, however, you aren't comfortable running a random binary from a stranger, you can view and download the source from https://github.com/ahotbanana/Maple-Scroll-Probability-Calculator and compile it for yourself.

    Final thoughts
    If you like this and have any features you'd like me to add, or indeed anything else you'd like me to program, let me know. I make no guarantees about when, if ever, I'll actually get round to doing any of them, but I will at least think about them.

    If you have any questions about this tool, don't hesitate to ask. You might be better off contacting me in game, though (MerpleLergen).

    If you find any bugs or anything that's not quite right, please do let me know, also.
     

    Attached Files:

    • Great Work Great Work x 13
Thread Status:
You must be a logged-in, registered member of this site to view further posts in this thread.

Share This Page