From a273cb4bd199e1ed6ab9646920b17fcaeb9ad01e Mon Sep 17 00:00:00 2001 From: bdf1 Date: Fri, 23 Aug 2024 13:28:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=BA=86=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E7=9A=84=E7=99=BD=E5=AE=9D=E7=9F=B3=EF=BC=9B=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E4=BA=86=E5=9C=A3=E9=AA=91=E5=A3=AB=E5=90=8D=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/enemys.js | 2 +- project/floors/BH11.js | 2 +- project/floors/BH16.js | 2 +- project/floors/BH20.js | 5 +- project/icons.js | 6 +- project/items.js | 192 +---------------------------------------- project/maps.js | 4 - project/plugins.js | 4 +- 8 files changed, 12 insertions(+), 205 deletions(-) diff --git a/project/enemys.js b/project/enemys.js index cf70065..7606965 100644 --- a/project/enemys.js +++ b/project/enemys.js @@ -321,7 +321,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E798": {"name":"金色武士","hp":1050000,"atk":215000,"def":118000,"money":480,"exp":0,"point":0,"special":[],"level":"三阶无上","displayIdInBook":null}, "E799": {"name":"墨武骑士","hp":1650000,"atk":240000,"def":136000,"money":520,"exp":0,"point":0,"special":[],"level":"四阶无上","displayIdInBook":null}, "E800": {"name":"黑影武士","hp":1480000,"atk":252000,"def":125000,"money":500,"exp":0,"point":0,"special":[30],"level":"四阶无上","displayIdInBook":null,"value30_1":3000,"value30_2":30}, - "E801": {"name":"血色骑士","hp":2080000,"atk":232000,"def":65000,"money":500,"exp":0,"point":0,"special":[36,37],"level":"四阶无上","displayIdInBook":null,"value30_1":3000,"value30_2":30,"X":60,"Y":20,"beforeBattle":[{"type":"if","condition":"(flag:shengqishi>=55)","true":[{"type":"animate","name":"yijianzhanqianye"},"\t[唐佳成,N510]\b[this]让我来!","金币+550",{"type":"setValue","name":"status:money","operator":"+=","value":"550"}],"false":[]}]}, + "E801": {"name":"血色骑士","hp":2080000,"atk":232000,"def":65000,"money":500,"exp":0,"point":0,"special":[36,37],"level":"四阶无上","displayIdInBook":null,"value30_1":3000,"value30_2":30,"X":60,"Y":20,"beforeBattle":[{"type":"if","condition":"(flag:shengqishi>=55)","true":[{"type":"animate","name":"yijianzhanqianye"},"\t[${flag:shengqishi_name},N510]\b[this]让我来!","金币+550",{"type":"setValue","name":"status:money","operator":"+=","value":"550"}],"false":[]}]}, "E802": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E803": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E804": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, diff --git a/project/floors/BH11.js b/project/floors/BH11.js index db51353..b1a6dac 100644 --- a/project/floors/BH11.js +++ b/project/floors/BH11.js @@ -70,7 +70,7 @@ main.floors.BH11= [20318,20289,130019,130031,130019,130029, 0,20318,130031,130019,130019,20318,130019], [130029,130019, 21, 21, 21, 82, 0, 82,711,711,711,130029,130018], [20300,130018,20318,130019,130018,130029, 0,130018,130029,130019,20318,130018,20289], - [ 92, 0, 0, 0, 0, 0,538, 83,1123,1123,1123,20301,20300], + [ 92, 0, 0, 0, 0, 0,538, 83,1097,1097,1097,20301,20300], [130019,130031,20289,130018,130031,20301, 0,130018,130019,20318,130031,130018,130018], [130031,130029,684,684,684, 81, 0, 81,684,684,684,20301,20300], [130018,130029,130029,130018,20319,130031, 0,130019,130018,20318,130019,20289,130031], diff --git a/project/floors/BH16.js b/project/floors/BH16.js index 947018e..dca87ae 100644 --- a/project/floors/BH16.js +++ b/project/floors/BH16.js @@ -54,7 +54,7 @@ main.floors.BH16= [130019, 0,800, 81,685,130031,20301, 81,130019,130018,20301,130018,130031], [130018,348, 0,20308, 0,797, 0,685, 0,796, 0,685,130019], [130019,130031,130018,130019,800,130018, 81,130031,130018,130019,130031, 81,20301], - [20301,347, 0,130018, 0,130019,798,130018,1124, 21,130019,798,20308], + [20301,347, 0,130018, 0,130019,798,130018,1098, 21,130019,798,20308], [20311, 0,799, 81,348,130019,685,130019, 21, 21,130018,348,130019], [130019, 21, 0,130019,686,130019, 0,20308, 0,801, 82,686,20301], [20311,130019,130031,20308,130019,20308, 93,130019,130031,20311,130018,20311,130031] diff --git a/project/floors/BH20.js b/project/floors/BH20.js index cfab5a1..873f95b 100644 --- a/project/floors/BH20.js +++ b/project/floors/BH20.js @@ -30,7 +30,7 @@ main.floors.BH20= "type": "if", "condition": "(flag:shengqishi>55)", "true": [ - "\t[希羽,demonPriest]\b[this,6,3]辉儿,你那个守护骑士唐佳成,去了哪里呀?", + "\t[希羽,demonPriest]\b[this,6,3]辉儿,你那个守护骑士${flag:shengqishi_name},去了哪里呀?", "\t[莫析辉,hero]\b[hero]哦,岳父大人,教皇陛下要我去取一件宝物,所以我让他先回去一趟" ], "false": [] @@ -142,7 +142,8 @@ main.floors.BH20= ], "time": 500, "keep": true - } + }, + "\t[莫析辉,hero]\b[hero]打完希羽后,会自爆,勇者血量会变成一血!!" ], "eachArrive": [], "parallelDo": "", diff --git a/project/icons.js b/project/icons.js index 690a2b9..4d26e2a 100644 --- a/project/icons.js +++ b/project/icons.js @@ -1052,11 +1052,7 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "I1115": 267, "I1116": 268, "I1117": 269, - "I1118": 270, - "I1123": 271, - "I1124": 272, - "I1125": 273, - "I1126": 274 + "I1118": 270 }, "autotile": { "autotile": 0, diff --git a/project/items.js b/project/items.js index 51da909..e82839a 100644 --- a/project/items.js +++ b/project/items.js @@ -2891,7 +2891,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = }, "I1097": { "cls": "items", - "name": "九阶白宝石。", + "name": "九阶白宝石", "canUseItemEffect": "true", "useItemEvent": [ { @@ -2937,7 +2937,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = }, "I1098": { "cls": "items", - "name": "十阶白宝石。", + "name": "十阶白宝石", "canUseItemEffect": "true", "useItemEvent": [ { @@ -2983,7 +2983,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = }, "I1099": { "cls": "items", - "name": "十一阶白宝石。", + "name": "十一阶白宝石", "canUseItemEffect": "true", "useItemEvent": [ { @@ -3029,7 +3029,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = }, "I1100": { "cls": "items", - "name": "十二阶白宝石。", + "name": "十二阶白宝石", "canUseItemEffect": "true", "useItemEvent": [ { @@ -3227,189 +3227,5 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "itemEffectTip": ",生命翻倍", "useItemEffect": "core.status.hero.hp *= 2", "canUseItemEffect": "true" - }, - "I1123": { - "cls": "items", - "name": "九阶白宝石", - "canUseItemEffect": "true", - "useItemEvent": [ - { - "type": "choices", - "choices": [ - { - "text": "攻击+200", - "action": [ - { - "type": "setValue", - "name": "status:atk", - "operator": "+=", - "value": "200" - } - ] - }, - { - "text": "防御+200", - "action": [ - { - "type": "setValue", - "name": "status:def", - "operator": "+=", - "value": "200" - } - ] - }, - { - "text": "生命上限+10000", - "action": [ - { - "type": "setValue", - "name": "status:hpmax", - "operator": "+=", - "value": "10000" - } - ] - } - ] - } - ], - "text": "进行加点" - }, - "I1124": { - "cls": "items", - "name": "十阶白宝石", - "canUseItemEffect": "true", - "useItemEvent": [ - { - "type": "choices", - "choices": [ - { - "text": "攻击+400", - "action": [ - { - "type": "setValue", - "name": "status:atk", - "operator": "+=", - "value": "400" - } - ] - }, - { - "text": "防御+400", - "action": [ - { - "type": "setValue", - "name": "status:def", - "operator": "+=", - "value": "400" - } - ] - }, - { - "text": "生命上限+20000", - "action": [ - { - "type": "setValue", - "name": "status:hpmax", - "operator": "+=", - "value": "20000" - } - ] - } - ] - } - ], - "text": "进行加点" - }, - "I1125": { - "cls": "items", - "name": "十一阶白宝石", - "canUseItemEffect": "true", - "useItemEvent": [ - { - "type": "choices", - "choices": [ - { - "text": "攻击+800", - "action": [ - { - "type": "setValue", - "name": "status:atk", - "operator": "+=", - "value": "800" - } - ] - }, - { - "text": "防御+800", - "action": [ - { - "type": "setValue", - "name": "status:def", - "operator": "+=", - "value": "800" - } - ] - }, - { - "text": "生命上限+40000", - "action": [ - { - "type": "setValue", - "name": "status:hpmax", - "operator": "+=", - "value": "40000" - } - ] - } - ] - } - ], - "text": "进行加点" - }, - "I1126": { - "cls": "items", - "name": "十二阶白宝石", - "canUseItemEffect": "true", - "useItemEvent": [ - { - "type": "choices", - "choices": [ - { - "text": "攻击+1600", - "action": [ - { - "type": "setValue", - "name": "status:atk", - "operator": "+=", - "value": "1600" - } - ] - }, - { - "text": "防御+1600", - "action": [ - { - "type": "setValue", - "name": "status:def", - "operator": "+=", - "value": "1600" - } - ] - }, - { - "text": "生命上限+80000", - "action": [ - { - "type": "setValue", - "name": "status:hpmax", - "operator": "+=", - "value": "80000" - } - ] - } - ] - } - ], - "text": "进行加点" } } \ No newline at end of file diff --git a/project/maps.js b/project/maps.js index 9bbe7d5..8a9d887 100644 --- a/project/maps.js +++ b/project/maps.js @@ -1020,10 +1020,6 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "1120": {"cls":"enemy48","id":"E1120"}, "1121": {"cls":"enemy48","id":"E1121"}, "1122": {"cls":"enemy48","id":"E1122"}, - "1123": {"cls":"items","id":"I1123"}, - "1124": {"cls":"items","id":"I1124"}, - "1125": {"cls":"items","id":"I1125"}, - "1126": {"cls":"items","id":"I1126"}, "10013": {"cls":"tileset","id":"X10013","canBreak":true}, "10041": {"cls":"tileset","id":"X10041","canBreak":true}, "10110": {"cls":"tileset","id":"X10110","canBreak":false}, diff --git a/project/plugins.js b/project/plugins.js index 41fa48b..f180ece 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -3918,6 +3918,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = // 跟数据统计原理一样 执行效果 前后比较 core.setFlag('__statistics__', true); try { + var addPoint = { 'I359': 1, 'I598': 2, 'I599': 4, 'I600': 8, 'I601': 16, 'I602': 32, 'I603': 64, 'I604': 100, 'I1097': 200, 'I1098': 400, 'I1099': 800, 'I1100': 1600 }; if (box.includes(block.event.id)) { for (var i of (block.event.data[0].yes[0].false)) if (i.type == 'setValue') { @@ -3940,14 +3941,11 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = //core.events.setValue(i.name, i.operator, i.value); }; diff['mana'] += { 'X10110': 50, 'X60549': 200, 'X60408': 80 } [block.event.id] || 0; - var addPoint = { 'I359': 1, 'I598': 2, 'I599': 4, 'I600': 8, 'I601': 16, 'I602': 32, 'I603': 64, 'I604': 100 }; diff['point'] = 0; for (var i in addPoint) if (diff[i]) diff['point'] += diff[i] * addPoint[i], diff[i] = 0; } else { - eval(item.itemEffect); - var addPoint = { 'I359': 1, 'I598': 2, 'I599': 4, 'I600': 8, 'I601': 16, 'I602': 32, 'I603': 64, 'I604': 100 }; if (addPoint[block.event.id]) diff['point'] = addPoint[block.event.id] }