From fe7fa332e28ef287c5c8402c5a881cd874b7584e Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Sat, 9 Mar 2024 22:20:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=89=E7=8E=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/project/enemys.js | 4 ++-- public/project/floors/sample1.js | 2 +- public/project/plugins.js | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/project/enemys.js b/public/project/enemys.js index 0e505ca..969bd8b 100644 --- a/public/project/enemys.js +++ b/public/project/enemys.js @@ -1,7 +1,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = { - "greenSlime": {"name":"绿头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[27]}, - "redSlime": {"name":"红头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[16,18],"value":10}, + "greenSlime": {"name":"绿头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[25],"hpBuff":100,"atkBuff":100,"defBuff":100,"haloSquare":true,"haloRange":2}, + "redSlime": {"name":"红头怪","hp":1000,"atk":200,"def":200,"money":0,"exp":0,"point":0,"special":[16,18],"value":10}, "blackSlime": {"name":"青头怪","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "slimelord": {"name":"怪王","hp":100,"atk":120,"def":0,"money":10,"exp":0,"point":0,"special":[1,9]}, "bat": {"name":"小蝙蝠","hp":100,"atk":120,"def":0,"money":2,"exp":0,"point":0,"special":[1]}, diff --git a/public/project/floors/sample1.js b/public/project/floors/sample1.js index 840f27e..04eac14 100644 --- a/public/project/floors/sample1.js +++ b/public/project/floors/sample1.js @@ -29,7 +29,7 @@ main.floors.sample1= [151, 0,151,151, 0, 87, 0,152,152,152, 85,153,153], [ 0, 0, 0,151, 0, 0, 0,152,152,221, 0,221,153], [ 0, 0, 0,151, 0, 0, 0,121, 0, 0, 0, 0,153], - [151, 0,151,151, 0,153,153,153,153,153,153,153,153], + [151, 0,151,151,202,153,153,153,153,153,153,153,153], [ 0, 0, 0, 0,201, 0, 0,164, 0, 0,163, 0, 0], [ 1, 1, 1, 1, 0, 20, 0, 0, 0,162, 0,161, 0], [ 1, 0,123, 1, 0, 20,124, 0,121, 0,122, 0,126], diff --git a/public/project/plugins.js b/public/project/plugins.js index cfc5abf..c6c9acd 100644 --- a/public/project/plugins.js +++ b/public/project/plugins.js @@ -1112,9 +1112,9 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { // 施加光环 col.applyHalo(type, range, this, (e, enemy) => { - e.atkBuff += enemy.atkBuff ?? 0; - e.defBuff += enemy.defBuff ?? 0; - e.hpBuff += enemy.hpBuff ?? 0; + e.atkBuff += enemy.enemy.atkBuff ?? 0; + e.defBuff += enemy.enemy.defBuff ?? 0; + e.hpBuff += enemy.enemy.hpBuff ?? 0; }); // 向已施加的光环列表中添加 this.providedHalo.add(25);