你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/27642-dh2-fixed/discussions/30385,源站連結 點此以跳轉

DH2 Fixed

Improve Diamond Hunt 2

< 脚本 DH2 Fixed 的反馈

评价:好评 - 脚本运行良好

§
发布于:2017-08-15
编辑于:2017-08-15

Visual bug for exp bars once you reach level 100

Hi

Once you reach level 100 in a category the progress bar at the top will just keep growing and overlap the next category

Zorbing作者
§
发布于:2017-08-16

I've fixed it in the development version and will release it in the next update.

Thanks for reporting the issue :)

§
发布于:2017-11-10
编辑于:2017-12-06

Hi ridaren (and anyone else who has found this thread), here's a quick manual fix.

1. Edit the .js file in which ever userscript plugin you use (tampermonkey, greasemonkey, etc)

2. Search the document for "if (progress)" without the quotes (it should be line #8466)

3. Change...

if (progress)
{
progress.style.width = perc + '%';
}


...to...

if (progress)
{
if (perc >= 100)
{
perc = 100;
}
progress.style.width = perc + '%';
}


4. Save (obviously) and refresh your diamondhunt.co page.

5. (Optional) If you want it to look a bit more fancy (make level 100 skill bars show as yellow)...

if (progress)
{
if (currentLevelXp >= 10000000)
{
perc = 100;
progress.style.backgroundColor = "yellow";
}
progress.style.width = perc + '%';
}

发布留言

登录以发布留言。