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或关注我们的公众号极客氢云获取最新地址