增加了数字的亮度和对比度,减少了背景的亮度;增加了溢出血量的显示

This commit is contained in:
bdf1 2024-08-26 01:16:21 +08:00
parent 26caf75775
commit 406ce0e12b
4 changed files with 4 additions and 3 deletions

View File

@ -994,7 +994,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"startText": [
{
"type": "function",
"function": "function(){\nflags._statusgry_ = 0;\nflags._statusbrg_ = 0.8;\ncore.createSpr0();\ncore.createSprBack();\n}"
"function": "function(){\nflags._statusgry_ = 0;\nflags._statusbrg_ = 0.75;\ncore.createSpr0();\ncore.createSprBack();\n}"
},
{
"type": "comment",

View File

@ -1353,6 +1353,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
// 检查HP上限
if (core.flags.statusBarItems.indexOf('enableHPMax') >= 0) {
if (core.getRealStatus('hpmax')<core.getStatus('hp')) core.addFlag('overflow', core.getStatus('hp') - core.getRealStatus('hpmax'))
core.setStatus('hp', Math.min(core.getRealStatus('hpmax'), core.getStatus('hp')));
}

View File

@ -1413,7 +1413,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
]
}
],
"text": "进行系统设置"
"text": "进行系统设置;你当前溢出了${flag:overflow}点生命"
},
"I359": {
"cls": "items",

View File

@ -2809,7 +2809,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
var m = '';
if (hero[name] < 0)
m = 'invert(100%)';
core.setFilter(ctx, 'hue-rotate(' + (col2 || 0) + 'deg)brightness(1.25)' + m)
core.setFilter(ctx, 'hue-rotate(' + (col2 || 0) + 'deg)brightness(1.25)contrast(1.25)' + m)