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':