diff --git a/public/libs/control.js b/public/libs/control.js index 37ca008..15234b6 100644 --- a/public/libs/control.js +++ b/public/libs/control.js @@ -1654,9 +1654,16 @@ control.prototype._updateDamage_extraDamage = function (floorId, onMap) { }); } else { // 电摇嘲讽 - if (core.status.checkBlock.mockery[x + ',' + y]) { + const mockery = core.status.checkBlock.mockery[x + ',' + y]; + if (mockery) { + mockery.sort((a, b) => + a[0] === b[0] ? a[1] - b[1] : a[0] - b[0] + ); + const [tx, ty] = mockery[0]; + const dir = + x > tx ? '←' : x < tx ? '→' : y > ty ? '↑' : '↓'; core.status.damage.extraData.push({ - text: '嘲', + text: '嘲' + dir, px: 32 * x + 16, py: 32 * (y + 1) - 14, color: '#fd4', diff --git a/public/main.js b/public/main.js index f5b2865..0ccb4c3 100644 --- a/public/main.js +++ b/public/main.js @@ -231,8 +231,8 @@ main.prototype.loadScript = async function (src, module) { main.prototype.init = async function (mode, callback) { try { - var a = {}; - var b = {}; + const a = {}; + const b = {}; new Proxy(a, b); new Promise(res => res()); eval('`${123}`'); diff --git a/public/project/enemys.js b/public/project/enemys.js index 056609f..eb332e0 100644 --- a/public/project/enemys.js +++ b/public/project/enemys.js @@ -158,7 +158,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E607": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E608": {"name":"寒冰护卫","hp":25000,"atk":3500,"def":2250,"money":3,"exp":225,"point":0,"special":[]}, "E609": {"name":"具形雪人","hp":7500,"atk":2250,"def":1000,"money":2,"exp":90,"point":0,"special":[25],"melt":15}, - "E610": {"name":"高冷雪人","hp":10000,"atk":2750,"def":1500,"money":0,"exp":0,"point":0,"special":[25],"melt":25}, + "E610": {"name":"高冷雪人","hp":10000,"atk":2750,"def":1500,"money":2,"exp":150,"point":0,"special":[25],"melt":25}, "E611": {"name":"具形雪人法师","hp":12500,"atk":2750,"def":1750,"money":2,"exp":175,"point":0,"special":[13,25],"melt":30}, "E612": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E613": {"name":"寒冰核心","hp":20000,"atk":3000,"def":1500,"money":3,"exp":150,"point":0,"special":[26],"iceCore":20}, diff --git a/public/project/floors/MT42.js b/public/project/floors/MT42.js index dd12f07..72b37bc 100644 --- a/public/project/floors/MT42.js +++ b/public/project/floors/MT42.js @@ -59,6 +59,20 @@ main.floors.MT42= 0, 13 ] + }, + "9,2": { + "floorId": "MT46", + "loc": [ + 3, + 14 + ] + }, + "2,0": { + "floorId": "MT47", + "loc": [ + 7, + 14 + ] } }, "beforeBattle": {}, diff --git a/public/project/floors/MT44.js b/public/project/floors/MT44.js index e67cd03..91fb746 100644 --- a/public/project/floors/MT44.js +++ b/public/project/floors/MT44.js @@ -45,6 +45,13 @@ main.floors.MT44= 0, 5 ] + }, + "6,2": { + "floorId": "MT46", + "loc": [ + 11, + 14 + ] } }, "beforeBattle": {}, @@ -58,7 +65,7 @@ main.floors.MT44= [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0,617, 34,403, 34,600, 0, 0], [ 92, 0,584,584,584, 0,543, 0, 34,604,604,604, 34, 0, 0], - [584, 0,584,390, 33, 0, 0, 0,378, 0,492, 0,378, 0, 0], + [584, 0,584,390, 33,390,403,396,378, 0,492, 0,378, 0, 0], [584, 0,643, 33,441,381, 32,595, 0,602,604,610,70176,70177,70177], [584,584,584,584,584, 0,584,584,494, 0, 34, 0,608, 0, 94], [ 0, 0, 0, 0, 0,274,376, 32,584,614,584,584,70208,70209,70209], diff --git a/public/project/floors/MT46.js b/public/project/floors/MT46.js index 3abccee..0624c6e 100644 --- a/public/project/floors/MT46.js +++ b/public/project/floors/MT46.js @@ -11,13 +11,43 @@ main.floors.MT46= "cannotViewMap": false, "images": [], "ratio": 8, - "defaultGround": "T580", + "defaultGround": "T331", "bgm": "winter.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", - "events": {}, - "changeFloor": {}, + "events": { + "7,12": [ + "\t[初级智人]\b[up,hero]这里也有水!", + "\t[初级智人]\b[up,hero]看来下面的水的源头是这里吗。", + "\t[初级智人]\b[up,hero]喝一口吧,说不定有什么奇效。", + "攻防增加20点,智慧增加1000点", + "\t[初级智人]\b[up,hero]...", + "\t[初级智人]\b[up,hero]果然。", + "\t[初级智人]\b[up,hero]这就是智慧之神给我的引导吗。", + "\t[初级智人]\b[up,hero]前往山顶,走吧。", + { + "type": "hide", + "remove": true + } + ] + }, + "changeFloor": { + "3,14": { + "floorId": "MT42", + "loc": [ + 9, + 2 + ] + }, + "11,14": { + "floorId": "MT44", + "loc": [ + 6, + 2 + ] + } + }, "beforeBattle": {}, "afterBattle": {}, "afterGetItem": {}, @@ -33,17 +63,31 @@ main.floors.MT46= [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + [ 0,376, 33,378, 0,608, 0,494, 0,608, 0,378, 33,376, 0], + [ 0,336,336,336,336, 0,345,494,345, 0,333,333,333,333, 0], + [ 0, 0,617, 34, 0, 0,610, 33,610, 0, 0, 34,600, 0, 0], + [ 0,403,336, 0, 0, 0, 0,643, 0, 0, 0, 0,333,403, 0], + [ 0,378,336,600, 0, 0, 0, 93, 0, 0, 0,617,333,376, 0], + [ 0,336,336, 0, 0, 0, 0,141, 0, 0, 0, 0,333,333, 0], + [ 0,484,492, 0, 0, 0, 0,141, 0, 0, 0, 0,492,484, 0], + [ 0, 0, 0,540, 0, 0, 0,141, 0, 0, 0,540, 0, 0, 0] ], "bgmap": [ - + [20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041], + [20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041], + [20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041], + [20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041], + [20044,20049,20049,20049,20049,20049,20049,20049,20049,20049,20049,20049,20049,20049,20043], + [20042,20057,20057,20057,20057,20057,20057,20057,20057,20057,20057,20057,20057,20057,20040], + [20042,20065,20065,20065,20065,20065,20065,20065,20065,20065,20065,20065,20065,20065,20040], + [20042, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,20040], + [20042, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,20040], + [20042, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,20040], + [20042, 0, 0, 0,20032,20033,20034, 0,20032,20033,20034, 0, 0, 0,20040], + [20042, 0, 0, 0,20040,20041,20042, 0,20040,20041,20042, 0, 0, 0,20040], + [20042, 0, 0, 0,20040,20041,20042, 0,20040,20041,20042, 0, 0, 0,20040], + [20042, 0, 0, 0,20040,20041,20042, 0,20040,20041,20042, 0, 0, 0,20040], + [20036,20033,20034, 0,20040,20041,20042, 0,20040,20041,20042, 0,20032,20033,20035] ], "fgmap": [ diff --git a/public/project/floors/MT47.js b/public/project/floors/MT47.js index 37ee689..8eb350a 100644 --- a/public/project/floors/MT47.js +++ b/public/project/floors/MT47.js @@ -1,45 +1,100 @@ main.floors.MT47= { -"floorId": "MT47", -"title": "冰封高原", -"name": "47", -"width": 15, -"height": 15, -"canFlyTo": true, -"canFlyFrom": true, -"canUseQuickShop": true, -"cannotViewMap": false, -"images": [], -"ratio": 8, -"defaultGround": "T580", -"bgm": "winter.mp3", -"firstArrive": [], -"eachArrive": [], -"parallelDo": "", -"events": {}, -"changeFloor": {}, -"beforeBattle": {}, -"afterBattle": {}, -"afterGetItem": {}, -"afterOpenDoor": {}, -"autoEvent": {}, -"cannotMove": {}, -"cannotMoveIn": {}, -"map": [ - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + "floorId": "MT47", + "title": "冰封高原", + "name": "47", + "width": 15, + "height": 15, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 8, + "defaultGround": "T580", + "bgm": "winter.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": {}, + "changeFloor": { + "7,14": { + "floorId": "MT42", + "loc": [ + 2, + 0 + ] + }, + "7,0": { + "floorId": "MT48", + "loc": [ + 7, + 14 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [ 0, 0,70030, 0, 0, 0,604, 91,604,70029,70029,70029,70029, 0, 0], + [ 0, 0,70030, 0,70031, 0,604, 0,604, 0, 0, 0,70028,70030,70030], + [70030,70030,70030,70031,70031,70031, 0,608, 0,70028,70028,70028,70028, 0, 0], + [ 0, 0, 0,70031, 0, 0, 0,604, 0, 0, 0, 0,70029,70029,70029], + [70031, 0, 0, 0, 0, 0, 0,604, 0, 0,604, 0, 0, 0,604], + [70031,586,586,586,586,586, 0, 0, 0, 0,604, 0,604, 0,604], + [70031, 0, 0, 0, 0,586, 0,604, 0, 0, 0, 0,604, 0,604], + [70031, 0, 0,585, 0, 0, 0,604, 0,587,587,587,587,587,587], + [ 0,585,585,585, 0,586,586,586, 0,587,587, 0, 0, 0,587], + [ 0, 0, 0, 0, 0, 0, 0,586, 0, 0, 0, 0,587, 0,587], + [ 0, 0, 0,584,584, 0,584,584,584, 0,584, 0,585,585,585], + [70029, 0, 0, 0,584, 0, 0,584, 0, 0,584, 0, 0, 0,585], + [70029, 0, 0, 0,584, 0, 0, 0, 0, 0,584, 0, 0, 0,585], + [70029,584,584,584,584,584,584, 0,584,584,584,584,584,584,584], + [70029, 0, 0, 0, 0, 0, 0, 93, 0, 0, 0, 0, 0, 0, 0] ], + "bgmap": [ + [ 0, 0, 0, 0, 0, 0,70056, 0,70058, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,70056, 0,70058, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,70056, 0,70058, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,70056, 0,70058, 0, 0, 0, 0, 0, 0], + [ 0,70048,70049,70049,70049,70049,70051, 0,70052,70049,70049,70049,70049,70049,70049], + [ 0,70056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0,70056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0,70056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0,70056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0,70056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0,70056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0,70056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0,70056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0,70064,70065,70065,70065,70065, 0, 0, 0,70065,70065,70065,70065,70065,70065], + [ 0,70072,70073,70073,70073,70073,70073, 0,70073,70073,70073,70073,70073,70073,70073] +], + "fgmap": [ + +], + "bg2map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,70112,70113,70114, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,70120,70121,70122, 0, 0, 0, 0, 0, 0] +], + "fg2map": [ + +] } \ No newline at end of file diff --git a/public/project/floors/MT48.js b/public/project/floors/MT48.js index 68fdcc4..2db2d6b 100644 --- a/public/project/floors/MT48.js +++ b/public/project/floors/MT48.js @@ -17,7 +17,15 @@ main.floors.MT48= "eachArrive": [], "parallelDo": "", "events": {}, - "changeFloor": {}, + "changeFloor": { + "7,14": { + "floorId": "MT47", + "loc": [ + 7, + 0 + ] + } + }, "beforeBattle": {}, "afterBattle": {}, "afterGetItem": {}, @@ -26,38 +34,24 @@ main.floors.MT48= "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [ 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0], - [ 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1], - [ 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0], - [ 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0], - [ 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0], - [ 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0], - [ 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0], - [ 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0], - [ 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0], - [ 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0], - [ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0] + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 93, 0, 0, 0, 0, 0, 0, 0] ], "bgmap": [ - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300], - [300,300,300,300,300,300,300,300,300,300,300,300,300,300,300] + ], "fgmap": [ diff --git a/public/project/plugin/damage.js b/public/project/plugin/damage.js new file mode 100644 index 0000000..c2c3609 --- /dev/null +++ b/public/project/plugin/damage.js @@ -0,0 +1,15 @@ +/// + +/** + * 计算需要计算伤害的方向 + * @param {number} x + * @param {number} y + * @param {FloorIds} floorId + */ +export function getNeedCalculateDir(x, y, floorId) {} + +export function getEnemyInfo(enemy, hero, x, y, floorId) {} + +export function getDamageInfo(enemy, hero, x, y, floorId) {} + +export function checkBlock(floorId) {} diff --git a/public/project/plugin/hotReload.js b/public/project/plugin/hotReload.js index 68cfdd8..bd6a919 100644 --- a/public/project/plugin/hotReload.js +++ b/public/project/plugin/hotReload.js @@ -1,7 +1,7 @@ /// export {}; -(function () { +/* @__PURE__ */ (function () { if (main.mode !== 'play' || main.replayChecking) return; /** diff --git a/public/project/plugin/skills.js b/public/project/plugin/skills.js index a55cbf2..9d56393 100644 --- a/public/project/plugin/skills.js +++ b/public/project/plugin/skills.js @@ -31,7 +31,9 @@ const jumpIgnoreFloor = [ 'MT42', 'MT43', 'MT44', - 'MT45' + 'MT45', + 'MT46', + 'MT47' ]; // 跳跃 export function jumpSkill() { diff --git a/script/build.ts b/script/build.ts index 45850c9..700b937 100644 --- a/script/build.ts +++ b/script/build.ts @@ -41,6 +41,9 @@ import * as rollup from 'rollup'; ); await fse.remove('./dist/maps/'); // 在线查看什么都看不到,这编辑器难道还需要留着吗? + await fse.remove('./dist/_server'); + await fse.remove('./dist/editor.html'); + await fse.remove('./dist/server.cjs'); } catch {} // 2. 压缩字体 diff --git a/src/data/desc.json b/src/data/desc.json index 6c9bf79..b8dce66 100644 --- a/src/data/desc.json +++ b/src/data/desc.json @@ -49,7 +49,7 @@ "
", "样板版本:V2.10.0", "
", - "游戏版本:V1.0.0", + "游戏版本:V1.0.0-alpha", "
", "游戏作者:古祠", "
", @@ -519,7 +519,7 @@ "1. 电摇嘲讽:", "该特技会撞碎路上的所有地形和门,不需要消耗钥匙,拾取路上的所有道具,与路上的怪物战斗,最后与该怪物战斗。", "如果怪物所在位置可以被嘲讽,那么勇士会被继续嘲讽。如果在被嘲讽的路上可以被其他怪物嘲讽,则不会触发。", - "如果一个点可以被多个怪物嘲讽,那么会优先选择最靠左上角的怪物。", + "如果一个点可以被多个怪物嘲讽,那么会优先选择最靠左上角的怪物。在地图上会标记出勇士的移动方向。", "在被嘲讽之前会自动存档。", "
", "
",