Melvor Idle - AutoMastery

Automatically spends mastery when a pool is about to fill up

目前为 2020-10-23 提交的版本。查看 最新版本

作者
Visua
评分
0 0 0
版本
1.1
创建于
2020-10-23
更新于
2020-10-23
大小
3.5 KB
许可证
暂无
适用于

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 a mastery is selected then level up that mastery

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址