From 7adfaa3e8b3bbc769eee62e283bd1c8ee5d15edd Mon Sep 17 00:00:00 2001 From: bdf1 Date: Tue, 27 Aug 2024 22:42:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=8B=E4=BB=B6=E4=B8=AD?= =?UTF-8?q?=E6=8C=89=E5=9B=9E=E6=94=BE=E4=BC=9A=E7=A0=B4=E5=9D=8F=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E6=89=A7=E8=A1=8C=EF=BC=9B=E7=A5=9E=E4=B9=8B=E8=A1=80?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E5=9C=A8easy=E4=BC=9A=E5=8F=98=E5=8A=A8?= =?UTF-8?q?=EF=BC=9B=E5=A2=9E=E5=8A=A0=E6=94=BB=E5=87=BB=E5=92=8C=E7=BA=A2?= =?UTF-8?q?=E9=92=A5=E5=8C=99=E8=BE=A8=E8=AF=86=E5=BA=A6=EF=BC=9B=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/floors/BH1.js | 3 ++- project/floors/XY3.js | 4 +++- project/items.js | 14 +++++++------- project/plugins.js | 4 ++-- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/project/floors/BH1.js b/project/floors/BH1.js index e2fdc6e..0c02b79 100644 --- a/project/floors/BH1.js +++ b/project/floors/BH1.js @@ -37,7 +37,8 @@ main.floors.BH1= "steps": [ "up:8" ] - } + }, + "宝箱会显示宝箱内的物品,灰色表示金币。" ], "eachArrive": [], "parallelDo": "", diff --git a/project/floors/XY3.js b/project/floors/XY3.js index 4c3849d..8d19b84 100644 --- a/project/floors/XY3.js +++ b/project/floors/XY3.js @@ -13,7 +13,9 @@ main.floors.XY3= "ratio": 1, "defaultGround": "X20061", "bgm": "bxsgzz.mp3", - "firstArrive": [], + "firstArrive": [ + "你看见骑士的\">4\"了吗,当圣骑士亲密度>4时就可以免打。\n当亲密度>4时骑士会变成一个灰色的44,表示圣骑士会打掉这个骑士,然后主角获得44金币。\n后面同理。\n有些怪会有一个\"黑暗\",表示和黑暗圣子融合后可以免打。" + ], "eachArrive": [], "parallelDo": "", "events": { diff --git a/project/items.js b/project/items.js index bc54f9d..75296cd 100644 --- a/project/items.js +++ b/project/items.js @@ -1112,7 +1112,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "cls": "tools", "name": "琼浆", "canUseItemEffect": "core.status.hero.flags.hard<=3", - "text": "喝下后回复50%生命值", + "text": "${flag:hard>3?\"该难度下不可用!\":\"可以恢复\"+(50*(flags.hard==1?2:1))+\"%生命值\"}", "useItemEvent": [ { "type": "playSound", @@ -1130,7 +1130,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "cls": "tools", "name": "玉露", "canUseItemEffect": "core.status.hero.flags.hard<=3", - "text": "喝下后恢复100%生命值", + "text": "${flag:hard>3?\"该难度下不可用!\":\"喝下后恢复100%生命值\"+(flag:hard==1?\"再得一瓶琼浆\":\"\")}", "useItemEvent": [ { "type": "playSound", @@ -2475,7 +2475,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "I710": { "cls": "tools", "name": "初阶神之血", - "text": "可以恢复5%生命值", + "text": "${flag:hard>3?\"该难度下不可用!\":\"可以恢复\"+(5*(flags.hard==1?2:1))+\"%生命值\"}", "useItemEvent": [ { "type": "comment", @@ -2533,7 +2533,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "I711": { "cls": "tools", "name": "进阶神之血", - "text": "可以恢复10%生命值", + "text": "${flag:hard>3?\"该难度下不可用!\":\"可以恢复\"+(10*(flags.hard==1?2:1))+\"%生命值\"}", "useItemEvent": [ { "type": "comment", @@ -2591,7 +2591,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "I712": { "cls": "tools", "name": "中阶神之血", - "text": "可以恢复15%生命值", + "text": "${flag:hard>3?\"该难度下不可用!\":\"可以恢复\"+(15*(flags.hard==1?2:1))+\"%生命值\"}", "useItemEvent": [ { "type": "comment", @@ -2649,7 +2649,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "I713": { "cls": "tools", "name": "高阶神之血", - "text": "可以恢复20%生命值", + "text": "${flag:hard>3?\"该难度下不可用!\":\"可以恢复\"+(20*(flags.hard==1?2:1))+\"%生命值\"}", "useItemEvent": [ { "type": "comment", @@ -2708,7 +2708,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "cls": "tools", "name": "超阶神之血", "canUseItemEffect": "core.status.hero.flags.hard<=3", - "text": "喝下后回复25%生命值", + "text": "${flag:hard>3?\"该难度下不可用!\":\"可以恢复\"+(25*(flags.hard==1?2:1))+\"%生命值\"}", "useItemEvent": [ { "type": "playSound", diff --git a/project/plugins.js b/project/plugins.js index 4d1e4e7..6cfc401 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -3353,7 +3353,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = main.statusBar.image.shop.onclick(e); break; case 9: - main.core.ui._drawReplay(); + if (!core.status.lockControl) main.core.ui._drawReplay(); } //console.log("点击的位置合法,x:" + x + 'y:' + y); @@ -4025,7 +4025,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = switch (name) { case 'atk': case 'atkper': - color = '#FF7A7A'; + color = '#FF3A3A'; break; case 'def': case 'defper':