降低了UI和剧情文本亮度;GM1更加明显

This commit is contained in:
bdf1 2024-09-01 10:23:13 +08:00
parent ef5b4a5fcc
commit bb5c998dd1
4 changed files with 53 additions and 49 deletions

View File

@ -603,15 +603,15 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"toolsBackground": "url(project/materials/1.png) repeat", "toolsBackground": "url(project/materials/1.png) repeat",
"floorChangingStyle": "background-color: black; color: red", "floorChangingStyle": "background-color: black; color: red",
"statusBarColor": [ "statusBarColor": [
255, 230,
255, 230,
255, 230,
1 1
], ],
"borderColor": [ "borderColor": [
221, 186,
242, 204,
11, 9,
1 1
], ],
"selectColor": [ "selectColor": [
@ -1038,7 +1038,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"startText": [ "startText": [
{ {
"type": "function", "type": "function",
"function": "function(){\nflags._statusgry_ = 0;\nflags._statusbrg_ = 0.75;\ncore.createSpr0();\ncore.createSprBack();\n}" "function": "function(){\nflags._statusgry_ = 0;\nflags._statusbrg_ = 0.6;\ncore.createSpr0();\ncore.createSprBack();\n}"
}, },
{ {
"type": "comment", "type": "comment",

View File

@ -509,17 +509,17 @@ main.floors.GM1=
], ],
"bg2map": [ "bg2map": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0,30196,30196,30196,30196,30196,30196,30196,30196,30196,30196,30196, 0], [ 0,30196,30196, 0,30196,30196, 0,30196,30196, 0,30196,30196, 0],
[ 0,30196, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0,30196, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196, 0], [ 0,30196, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196, 0],
[ 0,30196, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196, 0], [ 0,30196, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0,30196, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196, 0], [ 0,30196, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196, 0],
[ 0,30196, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196, 0], [ 0,30196, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0,30196, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196, 0], [ 0,30196, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196, 0],
[ 0,30196, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196, 0], [ 0,30196,30196, 0,30196,30196, 0,30196,30196, 0,30196,30196, 0],
[ 0,30196, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196, 0],
[ 0,30196, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196, 0],
[ 0,30196, 0, 0, 0, 0, 0, 0, 0, 0, 0,30196, 0],
[ 0,30196,30196,30196,30196,30196,30196,30196,30196,30196,30196,30196, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
], ],
"fg2map": [ "fg2map": [

View File

@ -1257,7 +1257,11 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
core.setFlag('__fromLoad__', true); core.setFlag('__fromLoad__', true);
// TODO增加自己的一些读档处理 // TODO增加自己的一些读档处理
if (!flags.version) {
flags._statusbrg_ -= 0.15
flags.version = 1
core.createSpr0()
}
// 切换到对应的楼层 // 切换到对应的楼层
core.changeFloor(data.floorId, null, data.hero.loc, 0, function () { core.changeFloor(data.floorId, null, data.hero.loc, 0, function () {
// TODO可以在这里设置读档后播放BGM // TODO可以在这里设置读档后播放BGM
@ -1268,7 +1272,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
core.removeFlag('__fromLoad__'); core.removeFlag('__fromLoad__');
if (callback) callback(); if (callback) callback();
}); });
}, },
"getStatusLabel": function (name) { "getStatusLabel": function (name) {
// 返回某个状态英文名的对应中文标签如atk -> 攻击def -> 防御等。 // 返回某个状态英文名的对应中文标签如atk -> 攻击def -> 防御等。
// 请注意此项仅影响 libs/ 下的内容(如绘制怪物手册、数据统计等) // 请注意此项仅影响 libs/ 下的内容(如绘制怪物手册、数据统计等)

View File

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