Melvor Idle - AutoMastery

Automatically spends mastery when a pool is about to fill up

2020-10-29 या दिनांकाला. सर्वात नवीन आवृत्ती पाहा.

लेखक
Visua
रेटिंग
0 0 0
आवृत्ती
1.3
बनवली
2020-10-23
अपडेट केली
2020-10-29
आकार
5.26 KB
License
नाही
यांवर लागू होते:

When a pool is about to fill up it will select the highest mastery that can be leveled without dropping below 95% (or a custom threshold). If there is no mastery cheap enough then it will select the cheapest.

You can see everything it levels up in the console. For example: AutoMastery: Leveling up Teak Logs to 41

You can instead select a specific mastery to focus on via the console by setting autoMasterySelectedMasteries[skill] to the desired mastery id. Default is -1 for automatic selection.

You can change the threshold for a skill via the console by setting autoMasteryThresholds[skill] to the desired percentage. Default is 95.

The mastery to level up gets chosen like this:

if the pool is about to overflow:
    if a specific mastery has been selected by the user via autoMasterySelectedMasteries[skill] then select that
    if the selected mastery is 99+ or if no mastery selected:
        select the highest mastery that can be leveled while staying above the threshold (95% or custom via autoMasteryThresholds[skill])
        (if the highest value appears multiple times then select the last one in the list)
    if no mastery selected:
        select the cheapest to level mastery (because this will drop the pool below the threshold)
        (if the lowest value appears multiple times then select the last one in the list)
    if a mastery is selected then level up that mastery