From 749255624a8751224ad5e26b03aaba5bcc4b5f27 Mon Sep 17 00:00:00 2001 From: bdf1 Date: Tue, 20 Aug 2024 16:14:01 +0800 Subject: [PATCH] =?UTF-8?q?=E9=81=93=E5=85=B7=E4=BB=B7=E6=A0=BC=E4=BC=9A?= =?UTF-8?q?=E9=9A=8F=E8=B4=AD=E4=B9=B0=E6=AC=A1=E6=95=B0=E5=A2=9E=E9=95=BF?= =?UTF-8?q?=EF=BC=9B=E7=99=BD=E5=AE=9D=E7=9F=B3=E4=B8=8D=E8=83=BD=E5=8A=A0?= =?UTF-8?q?=E8=A1=80=EF=BC=9B=E5=A2=9E=E5=8A=A0=E4=BA=86=E4=BA=8C=E5=8C=BA?= =?UTF-8?q?=E4=B8=89=E5=8C=BA=E5=92=8C=E5=85=A8=E5=A1=94=E7=9A=84=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/data.js | 97 +++++++++++++++++++++++++++++++++---------- project/floors/GM2.js | 3 +- project/floors/SN2.js | 3 +- project/floors/XY1.js | 11 ++--- project/items.js | 8 ++++ 5 files changed, 93 insertions(+), 29 deletions(-) diff --git a/project/data.js b/project/data.js index d5609b7..07e3f31 100644 --- a/project/data.js +++ b/project/data.js @@ -1789,19 +1789,25 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = ] }, { - "text": "炸弹(500金币)", - "need": "status:money>=500", + "text": "炸弹(${flag:zhadan*500+500}金币)", + "need": "status:money>=flag:zhadan*500+500", "icon": "bomb", "action": [ { "type": "comment", "text": "新版商店中需要手动扣减金币和增加访问次数" }, + { + "type": "setValue", + "name": "flag:zhadan", + "operator": "+=", + "value": "1" + }, { "type": "setValue", "name": "status:money", "operator": "-=", - "value": "500" + "value": "flag:zhadan*500" }, { "type": "setValue", @@ -1812,19 +1818,25 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = ] }, { - "text": "对称飞行器(500金币)", - "need": "status:money>=500", + "text": "对称飞行器(${flag:fei*500+500}金币)", + "need": "status:money>=flag:fei*500+500", "icon": "centerFly", "action": [ { "type": "comment", "text": "新版商店中需要手动扣减金币和增加访问次数" }, + { + "type": "setValue", + "name": "flag:fei", + "operator": "+=", + "value": "1" + }, { "type": "setValue", "name": "status:money", "operator": "-=", - "value": "500" + "value": "flag:fei*500" }, { "type": "setValue", @@ -1835,8 +1847,8 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = ] }, { - "text": "破墙镐(600金币)", - "need": "status:money>=600", + "text": "破墙镐(${flag:po*300+600}金币)", + "need": "status:money>=flag:po*300+600", "icon": "pickaxe", "action": [ { @@ -1847,7 +1859,13 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "type": "setValue", "name": "status:money", "operator": "-=", - "value": "600" + "value": "flag:po*300+600" + }, + { + "type": "setValue", + "name": "flag:po", + "operator": "+=", + "value": "1" }, { "type": "setValue", @@ -1858,15 +1876,9 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = ] }, { - "text": "为了防止炸录像,本项留空", - "need": "status:money>=1e9", - "icon": "greenSlime", - "action": [] - }, - { - "text": "强力炸弹(2500金币)", - "need": "status:money>=2500", - "icon": "I407", + "text": "破墙镐(${flag:poqiang*300+600}金币)", + "need": "status:money>=flag:poqiang*300+600", + "icon": "pickaxe", "action": [ { "type": "comment", @@ -1876,7 +1888,42 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "type": "setValue", "name": "status:money", "operator": "-=", - "value": "2500" + "value": "flag:poqiang*300+600" + }, + { + "type": "setValue", + "name": "flag:poqiang", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "item:pickaxe", + "operator": "+=", + "value": "1" + } + ] + }, + { + "text": "强力炸弹(${2500+flag:qiangli*2500}金币)", + "need": "status:money>=2500+flag:qiangli*2500", + "icon": "I407", + "action": [ + { + "type": "comment", + "text": "新版商店中需要手动扣减金币和增加访问次数" + }, + { + "type": "setValue", + "name": "flag:qiangli", + "operator": "+=", + "value": "1" + }, + { + "type": "setValue", + "name": "status:money", + "operator": "-=", + "value": "2500*flag:qiangli" }, { "type": "setValue", @@ -1887,19 +1934,25 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = ] }, { - "text": "地震卷轴(3000金币)", - "need": "status:money>=3000", + "text": "地震卷轴(${3000+flag:dizhen*3000}金币)", + "need": "status:money>=3000+flag:dizhen*3000", "icon": "earthquake", "action": [ { "type": "comment", "text": "新版商店中需要手动扣减金币和增加访问次数" }, + { + "type": "setValue", + "name": "flag:dizhen", + "operator": "+=", + "value": "1" + }, { "type": "setValue", "name": "status:money", "operator": "-=", - "value": "3000" + "value": "3000*flag:dizhen" }, { "type": "setValue", diff --git a/project/floors/GM2.js b/project/floors/GM2.js index 0dd7692..b40f2b1 100644 --- a/project/floors/GM2.js +++ b/project/floors/GM2.js @@ -160,7 +160,8 @@ main.floors.GM2= ], "floorId": "GM1", "remove": true - } + }, + "\\c[30]本塔主要加攻击,且需要留怪。" ], "eachArrive": [ { diff --git a/project/floors/SN2.js b/project/floors/SN2.js index 71b98c5..4ed4313 100644 --- a/project/floors/SN2.js +++ b/project/floors/SN2.js @@ -43,7 +43,8 @@ main.floors.SN2= ] ], "remove": true - } + }, + "\t[莫析辉,hero]\b[hero]\\c[30]本层魔力门和白宝石红必须开,否则打不过boss,因为boss有法力燃烧属性。" ] }, "changeFloor": { diff --git a/project/floors/XY1.js b/project/floors/XY1.js index 043dfc3..9ac16e9 100644 --- a/project/floors/XY1.js +++ b/project/floors/XY1.js @@ -20,7 +20,7 @@ main.floors.XY1= "7,8": [ { "type": "confirm", - "text": "确认要打开这个罐子吗? (花费80点魔力)", + "text": "确认要打开这个罐子吗?", "yes": [ { "type": "if", @@ -63,7 +63,7 @@ main.floors.XY1= "5,8": [ { "type": "confirm", - "text": "确认要打开这个罐子吗? (花费80点魔力)", + "text": "确认要打开这个罐子吗?", "yes": [ { "type": "if", @@ -113,7 +113,7 @@ main.floors.XY1= "7,4": [ { "type": "confirm", - "text": "确认要打开这个罐子吗? (花费80点魔力)", + "text": "确认要打开这个罐子吗?", "yes": [ { "type": "if", @@ -156,7 +156,7 @@ main.floors.XY1= "5,4": [ { "type": "confirm", - "text": "确认要打开这个罐子吗? (花费80点魔力)", + "text": "确认要打开这个罐子吗?", "yes": [ { "type": "if", @@ -227,7 +227,8 @@ main.floors.XY1= { "type": "hide", "remove": true - } + }, + "\\c[30]本区boss有法力燃烧属性,且进入下一区的门需要2000魔力打开,请注意留粉宝石。" ], "7,1": { "trigger": null, diff --git a/project/items.js b/project/items.js index 4fcf432..80b0ec8 100644 --- a/project/items.js +++ b/project/items.js @@ -1426,6 +1426,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = }, { "text": "生命+1%", + "need": "false", "action": [ { "type": "setValue", @@ -1483,6 +1484,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = }, { "text": "生命+2%", + "need": "false", "action": [ { "type": "setValue", @@ -1540,6 +1542,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = }, { "text": "生命+4%", + "need": "false", "action": [ { "type": "setValue", @@ -1597,6 +1600,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = }, { "text": "生命+8%", + "need": "false", "action": [ { "type": "setValue", @@ -1654,6 +1658,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = }, { "text": "生命+16%", + "need": "false", "action": [ { "type": "setValue", @@ -1711,6 +1716,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = }, { "text": "生命+32%", + "need": "false", "action": [ { "type": "setValue", @@ -1768,6 +1774,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = }, { "text": "生命+64%", + "need": "false", "action": [ { "type": "setValue", @@ -1825,6 +1832,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = }, { "text": "生命+100%,魔力值+1000", + "need": "false", "action": [ { "type": "setValue",