1. Welcome to the Toram Online Forums. Please make sure to read our rules and be friendly to all our members.
    Click here to read the rules before posting.
    Dismiss Notice

Automatic Statting Calculator

Discussion in 'Toram Online Game Guides' started by Lil☆Neko, May 24, 2018.

  1. Lil☆Neko

    Lil☆Neko Well-Known Member

    Joined:
    Jan 26, 2018
    Messages:
    543
    Likes Received:
    537
    IGN:
    Lil☆Neko
    (i hope this is the right place to post this; if it isnt.... pls forgive me *dogeza*)
    I've gotten too bored so, I've created a statting calculator to help determine the potentials needed for each success rate. It's based on the following logic used for statting -
    1. If there are any "repeated" stats that result in penalty, stat as much of the positives as possible - first the positives that result in penalties; if there are none, stick them all on one stat. Stat the biggest potential user first (Int+5%) then put the smaller pot ones in one step at a time until you approach 0 pot left.
    2. Stat all the negs in one go - stat the penalty giving neg first or the bigger pot giving neg (MAtk-7% as opposed to M. Pierce-3%) if the other one has to be left out later to leave one slot open (eg. statting fc15)
    3. If there is any way of avoiding penalty points (steps that cost only 1 potential, such as crit rate, and cast speed) put them in one point at a time.
    4. Fill in the rest of the stats all in one go.

    The site: https://sparkychildcharlie.github.io/statting

    Screenshots:
    [​IMG]
    [​IMG]

    The first pane allows you to enter the stats, and the recipe potential. Pressing [Run!] makes the app run through the potentials from 0 up until it hits 100% and stops. It will list all the potentials and success rates in the centre column. Clicking a row of the table will show the steps (and the newly added mats - not seen in the screenshot) on the rightmost column for the potential/success rate you have chosen.

    I hope you'll all enjoy this and save some mats by letting this determine the formulas and potentials needed for each stat. Please let me know if there are any bugs, things to add, or
    discrepancies - doing research on rounding was a pain.

    (@Ari999 here's the statting success rate booster pack i'm offering ;))
     
    Last edited: May 24, 2018
    • Winner Winner x 18
    • Like Like x 6
    • Friendly Friendly x 2
    • Creative Creative x 1
  2. Ari999

    Ari999 Well-Known Member

    Joined:
    Jan 10, 2018
    Messages:
    860
    Likes Received:
    206
    IGN:
    Arifool
    FB_IMG_1526426487005.jpg
     
    • Funny Funny x 3
  3. Ari999

    Ari999 Well-Known Member

    Joined:
    Jan 10, 2018
    Messages:
    860
    Likes Received:
    206
    IGN:
    Arifool
    Its good!

    Isn't 100% accurate cuz I managed to find a 53% success rate for full crit 15 -aggro 10 if armor has 64pot
    It lists 64 pot success rate as 47%

    But this is definitely good!
     
  4. Arakiel

    Arakiel Well-Known Member

    Joined:
    Aug 20, 2017
    Messages:
    215
    Likes Received:
    108
    IGN:
    Arakiel
    holy shit this saves my life from figuring out myself
     
  5. Lil☆Neko

    Lil☆Neko Well-Known Member

    Joined:
    Jan 26, 2018
    Messages:
    543
    Likes Received:
    537
    IGN:
    Lil☆Neko
    Ahhh thanks for noticing that ^^
    Deciding when to stat the negative along with a repeat positive and when not to is always difficult. I think thats where the error comes from - time to work this out tomorrow when I get back to my laptop!
    I think if after cdamage% and flat its exactly 2 pot left, i should do the last penalty stat together with the bigger negative. otherwise, do them seperately
     
    • Like Like x 3
  6. Ari999

    Ari999 Well-Known Member

    Joined:
    Jan 10, 2018
    Messages:
    860
    Likes Received:
    206
    IGN:
    Arifool
    for automatic its already really good
     
  7. Blues note

    Blues note Well-Known Member

    Joined:
    Oct 27, 2017
    Messages:
    94
    Likes Received:
    39
    Is it possible to add a list of predetermined formulas into the calculator for stats we already know the steps for?

    Just entered the atk7%stat3%cdcr15 formula listed in Vocal’s thread, and I ended with an 84% success rate instead of 92% for 60pot. Interestingly enough the simulator decided to load up all the crit stats first instead of starting off with attack%.

    Vocal’s formula for reference:
    atk+7%, stat+3%, cdmg+15, crit+15
    Minimum Potential: 60
    Step 1: add atk+4% (20pot left)
    Step 2: add cdmg+6 (2pot left)
    Step 3: add crit+1, mp rec-7, hp regen-7% (118pot left)
    Step 4: modify crit 14 times, each time adding +1,to end with crit+15 (104pot left)
    Step 5: add atk+7%, stat+3%, cdmg+15 (-17=92%)

    Overall, not entirely accurate, but a good tool for the more obscure formulas out there. Gives at least a basic formula that can be manually modded for higher success (hopefully).
     
    • Friendly Friendly x 1
  8. t(^_^t)

    t(^_^t) make your mama proud Elite Member

    Joined:
    Nov 16, 2017
    Messages:
    1,622
    Likes Received:
    617
    IGN:
    t(^_^t)
    Very cool
     
  9. Lil☆Neko

    Lil☆Neko Well-Known Member

    Joined:
    Jan 26, 2018
    Messages:
    543
    Likes Received:
    537
    IGN:
    Lil☆Neko
    Thanks I've figured out the error in my logic. I should have left all 1pot stats at +1 and fitted in other stats that would give penalty otherwise after the negs are statted (atk+4%).
    I've fixed it to use a new logic in determining what to stat before applying negatives to the formula. It also has a fourth pane at the right containing common formulas that can be automatically loaded into the calculator. Please gimme a list of those (including negs!) that should also be included there.
    [​IMG]
    Can you show me the formula you used to reach 53% for aggro-10% fc15 - It's not listed on Vocal's thread (in the opening). I just got my statter to 150 a week ago so there may be some tricks to minimizing penalty that i'm missing.

    EDIT: You may or may not need to clear your cache to view the changes
     
    Last edited: May 25, 2018
    • Friendly Friendly x 2
  10. Ari999

    Ari999 Well-Known Member

    Joined:
    Jan 10, 2018
    Messages:
    860
    Likes Received:
    206
    IGN:
    Arifool
    Armor starting pot 64

    Step 1:crit damage +4%, confirm (24 pot remaining)
    Step 2:crit damage +1, confirm and repeat until crit damage +7 (3 pot remaining)
    Step 3:crit rate +1 (2 pot)
    Step 4: crit rate +1% (1 pot)
    Step 5: matk -7% (76 pot)
    Step 6: increase crit rate by 1 and modify until you hit +15 (62 pot remaining)
    Step 7: increase crit rate% by +1 and modify until you hit 15% (48 pot remaining)
    Step 8: crit damage +7%, crit damage +15, aggro -10%
    53% success rate with -16 pot remaining

    received_176742179703396.jpeg received_176741196370161.jpeg
     
    • Friendly Friendly x 1
  11. Lil☆Neko

    Lil☆Neko Well-Known Member

    Joined:
    Jan 26, 2018
    Messages:
    543
    Likes Received:
    537
    IGN:
    Lil☆Neko
    oww thanks!
    oh man i think I know what this is - it's for stat sequences that have a "one-pot" stat (such as crit rate) with 2 other repeat stats of different potentials to be statted before the negs. You have to balance it so that
    Code:
    (starting potential) - (combination of the sums of the 2 different potentials) - (one pot from each stat with 1pot) = 1
    Time to find a way to find the most optimal sum of crit damage % and crit damage (flat) potentials to fill this up. It's one of those annoying "get 150 liters of water with a 7L jug and a 11L jug" type of math problems where you find values (a, b) for ax + by = c.
     
    • Sad Sad x 1
    • Friendly Friendly x 1
  12. Lil☆Neko

    Lil☆Neko Well-Known Member

    Joined:
    Jan 26, 2018
    Messages:
    543
    Likes Received:
    537
    IGN:
    Lil☆Neko
    @Ari999 the optimization has been done for fc15-aggro10% - formulas provided have increased the rates of success for other formulas with "duty free" stats (namely stuff with 1 pot, as those don't yield penalty either way - well maybe until the lv200 update with extra slots resulting in more penalties).

    In the event where at least 2 non-onesie positives and at least 1 onesie positive has to be statted before applying the negatives, the script will now try to end all of that (cd%cd,cr%cr) at exactly one pot before continuing on to the negatives.

    @Blues note this optimization of statting positives has increased the success of a7s3cd15cr15 from 92.04% to 92.40%
    Code:
        getSum(original, max_params, sum, a, ...dividends) {
            let a_count = 1;
            while (a_count * a < sum) {
                let a_total = a_count * a;
                let remainder = sum - a_total;
                if (dividends.length === 1) {
                    // treat that as b
                    let b = dividends[0];
                    let b_count = Math.floor(remainder / b);
                    if (b_count * b !== remainder) {
                        a_count++;
                        continue;
                    }
                    let solution = [a_count, b_count];
                    if (original) {
                        // make sure the multiples are within the max values requested
                        let difference = max_params.map((m, i) => m - solution[i]);
                        if (difference.some(n => n < 0)) {
                            a_count++;
                            continue;
                        }
                    }
                    return solution;
                } else {
                    let results = this.getSum(false, remainder, ...dividends);
                    if (!results) {
                        a_count++;
                        continue;
                    }
                    let solution = [a_count, ...results];
                    if (original) {
                        // make sure the multiples are within the max values requested
                        let difference = max_params.map((m, i) => m - solution[i]);
                        if (difference.some(n => n < 0)) {
                            a_count++;
                            continue;
                        }
                    }
                    return solution;
                }
                a_count++;
            }
    
            return null;
        }
    As usual, deleting your cache may help the page load the updates faster. Thanks to everyone for pointing out stuff to fix, and helping me discover some very interesting quirks in statting that help increase success rates!
     
    • Friendly Friendly x 1
  13. Lil☆Neko

    Lil☆Neko Well-Known Member

    Joined:
    Jan 26, 2018
    Messages:
    543
    Likes Received:
    537
    IGN:
    Lil☆Neko
    (Added a button to generate a max success rate formula for any potential, even if it's 100%+ success rate. The button is next to "Run" where the page will ask you for a potential of your choosing, so you can enter whatever you want and get the formula)
     
    • Like Like x 2
  14. Ari999

    Ari999 Well-Known Member

    Joined:
    Jan 10, 2018
    Messages:
    860
    Likes Received:
    206
    IGN:
    Arifool
    Im7 armor can be done at 35 pot lowest
    Your calculator has it at 40 Screenshot_2018-05-30-17-30-44-811_com.android.chrome.png
     
    • Like Like x 1
  15. Lil☆Neko

    Lil☆Neko Well-Known Member

    Joined:
    Jan 26, 2018
    Messages:
    543
    Likes Received:
    537
    IGN:
    Lil☆Neko
    thanks! that's interesting - adding one point negative to make up for matk 2% going into negative pot...
     
  16. Ari999

    Ari999 Well-Known Member

    Joined:
    Jan 10, 2018
    Messages:
    860
    Likes Received:
    206
    IGN:
    Arifool
    The front page of the stat formula thread has a lot of the best formulas
    I wish they'd update them for more optimal ones but ya lol
     
  17. Lil☆Neko

    Lil☆Neko Well-Known Member

    Joined:
    Jan 26, 2018
    Messages:
    543
    Likes Received:
    537
    IGN:
    Lil☆Neko
    Unfortunately it goes into, "does the potential saved via adding an extra matk point outweigh the stuff that could be gained via penalty for each -accuracy point". For some potentials - I'm sure it does better - everything down to 30 pot i've checked matches out the same with what i had before, but below when you do Matk+2%, acc-3, the performance becomes a lot worse, as you start losing the bonus points gained in accuracy-7 through penalty when statting alongside accuracy-3%.

    This is gonna be super fun and interesting!! As far as I can see, however, this is only useful in cases where there are no repeats among the positives, and only when the positives and the negatives clash to the point where there's only one positive stat applied before the negatives. If you can find other examples of this for me to experiment with to refine the logic even better (say if i'm lucky it'll hit +B), that would be great!

    I think the rule comes down to:
    A special condition after statting all of the positives that cause penalties. If there is NO PENALTY at that point, you can add some of a negative (and one more point in the LAST positive repeat) that does not create penalty, IF the penalty that would normally been created for those points is less than the potential left before this step.
     
    Last edited: May 30, 2018
    • Winner Winner x 1
  18. Shisaku

    Shisaku Active Member

    Joined:
    Mar 15, 2017
    Messages:
    28
    Likes Received:
    10
    Wow! Thank you very much.
    This very help me!
     
  19. Shmeow

    Shmeow Member

    Joined:
    Feb 21, 2017
    Messages:
    8
    Likes Received:
    32
    IGN:
    Shmeow
    Thank you for your hard work c:
     
  20. Limon

    Limon Member

    Joined:
    Apr 10, 2018
    Messages:
    14
    Likes Received:
    1
    IGN:
    Limon
    Your statting simulator for the following formula is broken:
    +Agi%
    +crate
    +cdmg
    +aspd%
    -matk%
    -mpierce%
     
    • Like Like x 1

Share This Page