diff --git a/package.json b/package.json index 816fa89..ace29af 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "@ant-design/icons-vue": "^6.1.0", "ant-design-vue": "^3.2.15", "axios": "^1.2.2", - "chart.js": "^4.1.1", + "chart.js": "^4.1.2", "lodash": "^4.17.21", "lz-string": "^1.4.4", "mutate-animate": "^1.0.2", @@ -32,7 +32,7 @@ "@vitejs/plugin-legacy": "^2.3.1", "@vitejs/plugin-vue": "^3.2.0", "@vitejs/plugin-vue-jsx": "^2.1.1", - "compressing": "^1.6.3", + "compressing": "^1.7.0", "fontmin": "^0.9.9", "form-data": "^4.0.0", "fs-extra": "^10.1.0", @@ -42,6 +42,6 @@ "typescript": "^4.9.4", "unplugin-vue-components": "^0.22.12", "vite": "^3.2.5", - "vue-tsc": "^1.0.22" + "vue-tsc": "^1.0.24" } } \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 29cce2b..32cca95 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ specifiers: '@vitejs/plugin-vue-jsx': ^2.1.1 ant-design-vue: ^3.2.15 axios: ^1.2.2 - chart.js: ^4.1.1 - compressing: ^1.6.3 + chart.js: ^4.1.2 + compressing: ^1.7.0 fontmin: ^0.9.9 form-data: ^4.0.0 fs-extra: ^10.1.0 @@ -27,13 +27,13 @@ specifiers: unplugin-vue-components: ^0.22.12 vite: ^3.2.5 vue: ^3.2.45 - vue-tsc: ^1.0.22 + vue-tsc: ^1.0.24 dependencies: '@ant-design/icons-vue': 6.1.0_vue@3.2.45 ant-design-vue: 3.2.15_vue@3.2.45 axios: 1.2.2 - chart.js: 4.1.1 + chart.js: 4.1.2 lodash: 4.17.21 lz-string: 1.4.4 mutate-animate: 1.0.2 @@ -48,7 +48,7 @@ devDependencies: '@vitejs/plugin-legacy': 2.3.1_terser@5.16.1+vite@3.2.5 '@vitejs/plugin-vue': 3.2.0_vite@3.2.5+vue@3.2.45 '@vitejs/plugin-vue-jsx': 2.1.1_vite@3.2.5+vue@3.2.45 - compressing: 1.6.3 + compressing: 1.7.0 fontmin: 0.9.9 form-data: 4.0.0 fs-extra: 10.1.0 @@ -58,7 +58,7 @@ devDependencies: typescript: 4.9.4 unplugin-vue-components: 0.22.12_vue@3.2.45 vite: 3.2.5_25ccpcpgpj6lg6lpj5keiqybuq - vue-tsc: 1.0.22_typescript@4.9.4 + vue-tsc: 1.0.24_typescript@4.9.4 packages: @@ -482,8 +482,8 @@ packages: '@jridgewell/sourcemap-codec': 1.4.14 dev: true - /@kurkle/color/0.3.1: - resolution: {integrity: sha512-hW0GwZj06z/ZFUW2Espl7toVDjghJN+EKqyXzPSV8NV89d5BYp5rRMBJoc+aUN0x5OXDMeRQHazejr2Xmqj2tw==} + /@kurkle/color/0.3.2: + resolution: {integrity: sha512-fuscdXJ9G1qb7W8VdHi+IwRqij3lBkosAm4ydQtEmbY58OzHXqQhvlxqEkoz0yssNVn38bcpRWgA9PP+OGoisw==} dev: false /@nodelib/fs.scandir/2.1.5: @@ -645,43 +645,43 @@ packages: vue: 3.2.45 dev: true - /@volar/language-core/1.0.22: - resolution: {integrity: sha512-hiJeCOqxNdtG/04FRGLGI9H9DVz2l6cTqPDBzwqplHXAWfMxjzUaGUrn9sfTG7YMFNZUgK4EYxJnRfhqdtbSFQ==} + /@volar/language-core/1.0.24: + resolution: {integrity: sha512-vTN+alJiWwK0Pax6POqrmevbtFW2dXhjwWiW/MW4f48eDYPLdyURWcr8TixO7EN/nHsUBj2udT7igFKPtjyAKg==} dependencies: - '@volar/source-map': 1.0.22 + '@volar/source-map': 1.0.24 muggle-string: 0.1.0 dev: true - /@volar/source-map/1.0.22: - resolution: {integrity: sha512-cv4gypHSP4MWVR82ed/+1IpI6794qAl0Q0+KJ+VGMVF8rVugsiF9QbyMCgjel9wNRsssQsazzsf6txOR9vHQiw==} + /@volar/source-map/1.0.24: + resolution: {integrity: sha512-Qsv/tkplx18pgBr8lKAbM1vcDqgkGKQzbChg6NW+v0CZc3G7FLmK+WrqEPzKlN7Cwdc6XVL559Nod8WKAfKr4A==} dependencies: muggle-string: 0.1.0 dev: true - /@volar/typescript/1.0.22: - resolution: {integrity: sha512-VPyEicealSD4gqlE5/UQ1j3ietsO6Hfat40KtUEh/K+XEZ7h02b1KgFV64YEuBkBOaZ5hgvRW/WXKtQgXCl7Iw==} + /@volar/typescript/1.0.24: + resolution: {integrity: sha512-f8hCSk+PfKR1/RQHxZ79V1NpDImHoivqoizK+mstphm25tn/YJ/JnKNjZHB+o21fuW0yKlI26NV3jkVb2Cc/7A==} dependencies: - '@volar/language-core': 1.0.22 + '@volar/language-core': 1.0.24 dev: true - /@volar/vue-language-core/1.0.22: - resolution: {integrity: sha512-Ki0G/ZdBj2/GLw+/VVH3n9XR/JL6krMIth02EekFn6JV4PGN3mNxbvoh6lOPSDZLR6biOU5nJPnnjpKy8nuXhw==} + /@volar/vue-language-core/1.0.24: + resolution: {integrity: sha512-2NTJzSgrwKu6uYwPqLiTMuAzi7fAY3yFy5PJ255bGJc82If0Xr+cW8pC80vpjG0D/aVLmlwAdO4+Ya2BI8GdDg==} dependencies: - '@volar/language-core': 1.0.22 - '@volar/source-map': 1.0.22 + '@volar/language-core': 1.0.24 + '@volar/source-map': 1.0.24 '@vue/compiler-dom': 3.2.45 '@vue/compiler-sfc': 3.2.45 '@vue/reactivity': 3.2.45 '@vue/shared': 3.2.45 - minimatch: 5.1.2 + minimatch: 5.1.4 vue-template-compiler: 2.7.14 dev: true - /@volar/vue-typescript/1.0.22: - resolution: {integrity: sha512-2T1o5z86PAev31OMtVOv/qp4P3ZVl9ln/2KTmykQE8Fh4A5F+868MW4nf5J7XQ6RNyx7RH9LhzgjvbqJpAfiYw==} + /@volar/vue-typescript/1.0.24: + resolution: {integrity: sha512-9a25oHDvGaNC0okRS47uqJI6FxY4hUQZUsxeOUFHcqVxZEv8s17LPuP/pMMXyz7jPygrZubB/qXqHY5jEu/akA==} dependencies: - '@volar/typescript': 1.0.22 - '@volar/vue-language-core': 1.0.22 + '@volar/typescript': 1.0.24 + '@volar/vue-language-core': 1.0.24 dev: true /@vue/babel-helper-vue-transform-on/1.0.2: @@ -730,7 +730,7 @@ packages: '@vue/shared': 3.2.45 estree-walker: 2.0.2 magic-string: 0.25.9 - postcss: 8.4.20 + postcss: 8.4.21 source-map: 0.6.1 /@vue/compiler-ssr/3.2.45: @@ -972,7 +972,7 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001441 + caniuse-lite: 1.0.30001444 electron-to-chromium: 1.4.284 node-releases: 2.0.8 update-browserslist-db: 1.0.10_browserslist@4.21.4 @@ -1031,7 +1031,7 @@ packages: '@npmcli/move-file': 2.0.1 chownr: 2.0.0 fs-minipass: 2.1.0 - glob: 8.0.3 + glob: 8.1.0 infer-owner: 1.0.4 lru-cache: 7.14.1 minipass: 3.3.6 @@ -1071,8 +1071,8 @@ packages: engines: {node: '>=10'} dev: true - /caniuse-lite/1.0.30001441: - resolution: {integrity: sha512-OyxRR4Vof59I3yGWXws6i908EtGbMzVUi3ganaZQHmydk1iwDhRnvaPG2WaR0KcqrDFKrxVZHULT396LEPhXfg==} + /caniuse-lite/1.0.30001444: + resolution: {integrity: sha512-ecER9xgJQVMqcrxThKptsW0pPxSae8R2RB87LNa+ivW9ppNWRHEplXcDzkCOP4LYWGj8hunXLqaiC41iBATNyg==} dev: true /chalk/2.4.2: @@ -1084,11 +1084,11 @@ packages: supports-color: 5.5.0 dev: true - /chart.js/4.1.1: - resolution: {integrity: sha512-P0pCosNXp+LR8zO/QTkZKT6Hb7p0DPFtypEeVOf+6x06hX13NIb75R0DXUA4Ksx/+48chDQKtCCmRCviQRTqsA==} + /chart.js/4.1.2: + resolution: {integrity: sha512-9L1w6WLPq6ztiWVVOYtDtpo0CUsBKDWPrUEdwChAyzczaikqeSwNKEv3QpJ7EO4ICcLSi6UDVhgvcnUhRJidRA==} engines: {pnpm: ^7.0.0} dependencies: - '@kurkle/color': 0.3.1 + '@kurkle/color': 0.3.2 dev: false /chokidar/3.5.3: @@ -1182,8 +1182,8 @@ packages: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} dev: true - /compressing/1.6.3: - resolution: {integrity: sha512-BPkE937R8kXT1k55PgnVgMpCAs4Ws5ZgROx+qZEaYIi0tA4nvB9s5HAX/YH5suYp9njGGJOKEAOHhB3OQ5/IJA==} + /compressing/1.7.0: + resolution: {integrity: sha512-3OGtkZaBLZ6tHCfsEUiSUNmbyQhSrpjXafAAM+aXp8DU5I3BWsOqMrD3XhDnOsE2akpRaoije7gmcCNSR2b9Vw==} engines: {node: '>= 4.0.0'} dependencies: flushwritable: 1.0.0 @@ -1689,8 +1689,8 @@ packages: optional: true dev: false - /fonteditor-core/2.1.10: - resolution: {integrity: sha512-NQvTBstkzkJeNTb6UUaliQs493mHj4Su0yH2d8eHQbQZQK9fIOh7X/pzKdW7BtQpDQZPSjh65ruLBqOqwGTHKQ==} + /fonteditor-core/2.1.11: + resolution: {integrity: sha512-zgO5tHw5vzqYqkeb9jthIANbOOGwWqNWovINCMyIDLh9xmujsHPqloWJdk0PMbJHbZmiLG1F/kygfuWS8+TDfA==} dependencies: '@xmldom/xmldom': 0.8.6 dev: true @@ -1704,7 +1704,7 @@ packages: buffer-to-vinyl: 1.1.0 code-points: 2.0.0-1 concat-stream: 2.0.0 - fonteditor-core: 2.1.10 + fonteditor-core: 2.1.11 get-stdin: 9.0.0 is-otf: 0.1.2 is-svg: 4.3.2 @@ -1851,14 +1851,14 @@ packages: path-is-absolute: 1.0.1 dev: true - /glob/8.0.3: - resolution: {integrity: sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==} + /glob/8.1.0: + resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} engines: {node: '>=12'} dependencies: fs.realpath: 1.0.0 inflight: 1.0.6 inherits: 2.0.4 - minimatch: 5.1.2 + minimatch: 5.1.4 once: 1.4.0 dev: true @@ -2397,8 +2397,8 @@ packages: brace-expansion: 1.1.11 dev: true - /minimatch/5.1.2: - resolution: {integrity: sha512-bNH9mmM9qsJ2X4r2Nat1B//1dJVcn3+iBLa3IgqJ7EbGaDNepL9QSHOxN4ng33s52VMMhhIfgCYDk3C4ZmlDAg==} + /minimatch/5.1.4: + resolution: {integrity: sha512-U0iNYXt9wALljzfnGkhFSy5sAC6/SCR3JrHrlsdJz4kF8MvhTRQNiC59iUi1iqsitV7abrNAJWElVL9pdnoUgw==} engines: {node: '>=10'} dependencies: brace-expansion: 2.0.1 @@ -2713,8 +2713,8 @@ packages: dev: true optional: true - /postcss/8.4.20: - resolution: {integrity: sha512-6Q04AXR1212bXr5fh03u8aAwbLxAQNGQ/Q1LNa0VfOI06ZAlhPHtQvE4OIdpj4kLThXilalPnmDSOD65DcHt+g==} + /postcss/8.4.21: + resolution: {integrity: sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==} engines: {node: ^10 || ^12 || >=14} dependencies: nanoid: 3.3.4 @@ -3336,7 +3336,7 @@ packages: fast-glob: 3.2.12 local-pkg: 0.4.2 magic-string: 0.27.0 - minimatch: 5.1.2 + minimatch: 5.1.4 resolve: 1.22.1 unplugin: 1.0.1 vue: 3.2.45 @@ -3475,7 +3475,7 @@ packages: '@types/node': 18.11.18 esbuild: 0.15.18 less: 4.1.3 - postcss: 8.4.20 + postcss: 8.4.21 resolve: 1.22.1 rollup: 2.79.1 terser: 5.16.1 @@ -3490,14 +3490,14 @@ packages: he: 1.2.0 dev: true - /vue-tsc/1.0.22_typescript@4.9.4: - resolution: {integrity: sha512-xSxwgWR3czhv7sLKHWu6lzj9Xq6AtsCURVL45AY4TLGFszv2L2YlMgygXvqslyCM5bz9cyoIKSaZnzHqHTHjzA==} + /vue-tsc/1.0.24_typescript@4.9.4: + resolution: {integrity: sha512-mmU1s5SAqE1nByQAiQnao9oU4vX+mSdsgI8H57SfKH6UVzq/jP9+Dbi2GaV+0b4Cn361d2ln8m6xeU60ApiEXg==} hasBin: true peerDependencies: typescript: '*' dependencies: - '@volar/vue-language-core': 1.0.22 - '@volar/vue-typescript': 1.0.22 + '@volar/vue-language-core': 1.0.24 + '@volar/vue-typescript': 1.0.24 typescript: 4.9.4 dev: true diff --git a/public/libs/control.js b/public/libs/control.js index d139dd1..b4d8727 100644 --- a/public/libs/control.js +++ b/public/libs/control.js @@ -1031,7 +1031,6 @@ control.prototype.tryMoveDirectly = function (destX, destY) { if (canMoveDirectlyArray[i] < 0) continue; if (core.control.moveDirectly(dx, dy, canMoveDirectlyArray[i])) { if (dir) { - console.log(dir); core.moveHero(dir, function () {}); } return true; @@ -3271,6 +3270,9 @@ control.prototype.removeSwitch = function (x, y, floorId, name) { ////// 锁定状态栏,常常用于事件处理 ////// control.prototype.lockControl = function () { core.status.lockControl = true; + if (!main.replayChecking) { + core.plugin.showFixed.value = false; + } }; ////// 解锁状态栏 ////// diff --git a/public/libs/maps.js b/public/libs/maps.js index f45173b..dd32a1f 100644 --- a/public/libs/maps.js +++ b/public/libs/maps.js @@ -37,14 +37,13 @@ maps.prototype._resetFloorImages = function () { } }; -maps.prototype._setHDCanvasSize = function (ctx, width, height, isTempCanvas) { +maps.prototype._setHDCanvasSize = function (ctx, width, height) { ctx.setTransform(1, 0, 0, 1, 0, 0); - var ratio = core.domStyle.ratio; - if (ctx === core.bigmap.tempCanvas) ratio = core.domStyle.scale; - if (isTempCanvas) ratio = core.domStyle.ratio; - if (width != null) ctx.canvas.width = width * ratio * devicePixelRatio; - if (height != null) ctx.canvas.height = height * ratio * devicePixelRatio; - ctx.scale(ratio * devicePixelRatio, ratio * devicePixelRatio); + var ratio = core.domStyle.scale; + ratio *= devicePixelRatio; + if (width != null) ctx.canvas.width = width * ratio; + if (height != null) ctx.canvas.height = height * ratio; + ctx.scale(ratio, ratio); ctx.canvas.setAttribute('isHD', 1); }; @@ -2620,11 +2619,6 @@ maps.prototype._drawThumbnail_drawTempCanvas = function ( } options.ctx = tempCanvas; - tempCanvas.imageSmoothingEnabled = core.getLocalStorage( - 'antiAliasing', - true - ); - // 地图过大的缩略图不绘制显伤 if (width * height > core.bigmap.threshold) options.damage = false; @@ -2650,6 +2644,10 @@ maps.prototype._drawThumbnail_realDrawTempCanvas = function ( blocks, options ) { + options.ctx.imageSmoothingEnabled = core.getLocalStorage( + 'antiAliasing', + true + ); // 缩略图:背景 this.drawBg(floorId, options); // 缩略图:事件 @@ -2678,6 +2676,7 @@ maps.prototype._drawThumbnail_realDrawTempCanvas = function ( } // 缩略图:前景 this.drawFg(floorId, options); + options.ctx.imageSmoothingEnabled = true; // 缩略图:显伤 if (options.damage && core.hasItem('book')) { core.updateCheckBlock(floorId); @@ -2704,10 +2703,6 @@ maps.prototype._drawThumbnail_drawToTarget = function (floorId, options) { if (centerY == null) centerY = Math.floor(height / 2); var tempCanvas = core.bigmap.tempCanvas; - if (!core.getLocalStorage('antiAliasing')) { - ctx.imageSmoothingEnabled = false; - } - if (options.inFlyMap) { ctx.drawImage( tempCanvas.canvas, @@ -2720,7 +2715,6 @@ maps.prototype._drawThumbnail_drawToTarget = function (floorId, options) { options.w, options.h ); - ctx.imageSmoothingEnabled = true; return; } diff --git a/public/libs/ui.js b/public/libs/ui.js index 4f3b72a..5b28e9b 100644 --- a/public/libs/ui.js +++ b/public/libs/ui.js @@ -180,7 +180,7 @@ ui.prototype.fillBoldText = function ( } ctx.strokeStyle = strokeStyle; ctx.lineWidth = - 1 * + 1.5 * (core.domStyle.isVertical ? core.domStyle.ratio : core.domStyle.scale); ctx.fillStyle = style; ctx.strokeText(text, x, y); @@ -1739,7 +1739,9 @@ ui.prototype._drawTextContent_draw = function (ctx, tempCtx, content, config) { var block = config.blocks[config.index++]; if (block != null) { // It works, why? - const scale = config.isHD ? devicePixelRatio ** 2 : 1; + const scale = config.isHD + ? devicePixelRatio * core.domStyle.scale + : 1; core.drawImage( ctx, tempCtx.canvas, @@ -4193,23 +4195,17 @@ ui.prototype.rotateCanvas = function (name, angle, centerX, centerY) { }; ////// canvas重置 ////// -ui.prototype.resizeCanvas = function ( - name, - width, - height, - styleOnly, - isTempCanvas -) { +ui.prototype.resizeCanvas = function (name, width, height, styleOnly) { var ctx = core.getContextByName(name); if (!ctx) return null; if (width != null) { if (!styleOnly && ctx.canvas.hasAttribute('isHD')) - core.maps._setHDCanvasSize(ctx, width, null, isTempCanvas); + core.maps._setHDCanvasSize(ctx, width, null); ctx.canvas.style.width = width * core.domStyle.scale + 'px'; } if (height != null) { if (!styleOnly && ctx.canvas.hasAttribute('isHD')) - core.maps._setHDCanvasSize(ctx, null, height, isTempCanvas); + core.maps._setHDCanvasSize(ctx, null, height); ctx.canvas.style.height = height * core.domStyle.scale + 'px'; } return ctx; diff --git a/public/libs/utils.js b/public/libs/utils.js index c36e80a..e5b5d29 100644 --- a/public/libs/utils.js +++ b/public/libs/utils.js @@ -555,8 +555,9 @@ utils.prototype.formatSize = function (size) { }; utils.prototype.formatBigNumber = function (x, digits) { - if (digits === true) digits = 5; // 兼容旧版onMap参数 - if (!digits || digits < 5) digits = 6; // 连同负号、小数点和后缀字母在内的总位数,至少需为5,默认为6 + if (typeof x === 'string') return x; + if (digits === true) digits = 4; // 兼容旧版onMap参数 + digits ??= 6; x = Math.trunc(parseFloat(x)); // 尝试识别为小数,然后向0取整 if (x == null || !Number.isFinite(x)) return '???'; // 无法识别的数或正负无穷大,显示'???' var units = [ @@ -570,14 +571,15 @@ utils.prototype.formatBigNumber = function (x, digits) { if (Math.abs(x) > 1e20 * Math.pow(10, digits - 2)) return x.toExponential(0); // 绝对值过大以致于失去精度的数,直接使用科学记数法,系数只保留整数 var sign = x < 0 ? '-' : ''; - if (sign) --digits; // 符号位单独处理,负号要占一位 x = Math.abs(x); if (x < Math.pow(10, digits)) return sign + x; for (var i = 0; i < units.length; ++i) { var each = units[i]; - var u = (x / each.val).toFixed(digits).substring(0, digits); + var u = (x / each.val) + .toFixed(digits) + .slice(0, sign === '-' ? digits : digits + 1); if (u.indexOf('.') < 0) continue; u = u.substring( 0, diff --git a/public/project/autotiles/autotile11.png b/public/project/autotiles/autotile11.png new file mode 100644 index 0000000..076b520 Binary files /dev/null and b/public/project/autotiles/autotile11.png differ diff --git a/public/project/data.js b/public/project/data.js index 3e907cc..7362058 100644 --- a/public/project/data.js +++ b/public/project/data.js @@ -55,7 +55,14 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "MT42", "MT43", "MT44", - "MT45" + "MT45", + "snowTown", + "snowShop", + "MT46", + "MT47", + "MT48", + "MT49", + "MT50" ], "floorPartitions": [ [ @@ -110,7 +117,9 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "Map-Tower01.png", "Caverna1.png", "map-tower.png", - "winter1.png" + "winter1.png", + "snowTown.png", + "room.png" ], "animates": [ "amazed", @@ -176,6 +185,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "cursor.mp3", "danger.mp3", "door.mp3", + "drink.mp3", "electron.mp3", "equip.mp3", "error.mp3", @@ -584,7 +594,35 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "type": "showStatusBar" } ], - "shops": [], + "shops": [ + { + "id": "snowShop", + "item": true, + "textInList": "道具商店", + "use": "money", + "mustEnable": true, + "choices": [ + { + "id": "sword2", + "number": 1, + "money": "600", + "sell": "300" + }, + { + "id": "shield2", + "number": 1, + "money": "500", + "sell": "250" + }, + { + "id": "I641", + "number": 1, + "money": "400", + "sell": "200" + } + ] + } + ], "levelUp": [ { "need": "0", diff --git a/public/project/enemys.js b/public/project/enemys.js index 570d68f..c3c6442 100644 --- a/public/project/enemys.js +++ b/public/project/enemys.js @@ -156,11 +156,15 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 = "E605": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E606": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E607": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, - "E608": {"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":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E611": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "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}, - "E614": {"name":"火焰核心","hp":15000,"atk":2750,"def":1750,"money":3,"exp":140,"point":0,"special":[27],"fireCore":20} + "E614": {"name":"火焰核心","hp":15000,"atk":2750,"def":1750,"money":3,"exp":140,"point":0,"special":[27],"fireCore":20}, + "E615": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E616": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, + "E617": {"name":"冰封雕像","hp":12500,"atk":2500,"def":2000,"money":2,"exp":150,"point":0,"special":[]}, + "E618": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]} } \ No newline at end of file diff --git a/public/project/floors/MT21.js b/public/project/floors/MT21.js index 68e1872..da2d73d 100644 --- a/public/project/floors/MT21.js +++ b/public/project/floors/MT21.js @@ -1,205 +1,194 @@ -main.floors.MT21= -{ - "floorId": "MT21", - "title": "勇气之路", - "name": "21", - "width": 15, - "height": 15, - "canFlyTo": true, - "canFlyFrom": true, - "canUseQuickShop": true, - "cannotViewMap": false, - "images": [], - "ratio": 2, - "defaultGround": "grass", - "bgm": "plot1.mp3", - "firstArrive": [], - "eachArrive": [], - "parallelDo": "", - "events": { - "14,8": [ +main.floors.MT21 = { + floorId: 'MT21', + title: '勇气之路', + name: '21', + width: 15, + height: 15, + canFlyTo: true, + canFlyFrom: true, + canUseQuickShop: true, + cannotViewMap: false, + images: [], + ratio: 2, + defaultGround: 'grass', + bgm: 'plot1.mp3', + firstArrive: [], + eachArrive: [], + parallelDo: '', + events: { + '14,8': [ { - "type": "if", - "condition": "(flag:chapter===1)", - "true": [ + type: 'if', + condition: '(flag:chapter===1)', + true: [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 1500, - "keep": true + type: 'setCurtain', + color: [0, 0, 0, 1], + time: 1500, + keep: true }, { - "type": "setText", - "text": [ - 0, - 0, - 0, - 1 - ], - "background": "winskin3.png" + type: 'setText', + text: [0, 0, 0, 1], + background: 'winskin3.png' }, - "人类简史——起源篇", + '人类简史——起源篇', { - "type": "playSound", - "name": "paper.mp3" + type: 'playSound', + name: 'paper.mp3' }, - "他踏出了寻找智慧的第一步。", + '他踏出了寻找智慧的第一步。', { - "type": "playSound", - "name": "paper.mp3" + type: 'playSound', + name: 'paper.mp3' }, - "他所练就的勇气,也成为他寻找智慧路上的一大利器。", + '他所练就的勇气,也成为他寻找智慧路上的一大利器。', { - "type": "playSound", - "name": "paper.mp3" + type: 'playSound', + name: 'paper.mp3' }, - "人类简史——起源篇,完。", + '人类简史——起源篇,完。', { - "type": "playSound", - "name": "paper.mp3" + type: 'playSound', + name: 'paper.mp3' }, { - "type": "setValue", - "name": "flag:chapter", - "value": "2" + type: 'setValue', + name: 'flag:chapter', + value: '2' }, { - "type": "sleep", - "time": 1000 + type: 'sleep', + time: 1000 }, - "人类简史——进化篇", + '人类简史——进化篇', { - "type": "playSound", - "name": "paper.mp3" + type: 'playSound', + name: 'paper.mp3' }, - "或许,他真的不理解智慧。", + '或许,他真的不理解智慧。', { - "type": "playSound", - "name": "paper.mp3" + type: 'playSound', + name: 'paper.mp3' }, - "或许,他已经理解了一些。", + '或许,他已经理解了一些。', { - "type": "playSound", - "name": "paper.mp3" + type: 'playSound', + name: 'paper.mp3' }, - "但这不重要。", + '但这不重要。', { - "type": "playSound", - "name": "paper.mp3" + type: 'playSound', + name: 'paper.mp3' }, - "他的轨迹已经注定了他对未来的影响。", + '他的轨迹已经注定了他对未来的影响。', { - "type": "playSound", - "name": "paper.mp3" + type: 'playSound', + name: 'paper.mp3' }, { - "type": "playSound", - "name": "paper.mp3" + type: 'playSound', + name: 'paper.mp3' }, - "这个世界,甚至这个宇宙,都因为他的存在而改变。", + '这个世界,甚至这个宇宙,都因为他的存在而改变。', { - "type": "playSound", - "name": "paper.mp3" + type: 'playSound', + name: 'paper.mp3' }, - "在这里,智慧小径,将是他智慧的飞跃点。", + '在这里,智慧小径,将是他智慧的飞跃点。', { - "type": "changeFloor", - "floorId": "MT22", - "loc": [ - 0, - 8 - ] + type: 'changeFloor', + floorId: 'MT22', + loc: [0, 8] }, { - "type": "setCurtain", - "time": 1000 + type: 'setCurtain', + time: 1000 }, { - "type": "setText", - "text": [ - 255, - 255, - 255, - 1 - ], - "background": "winskin2.png" + type: 'setText', + text: [255, 255, 255, 1], + background: 'winskin2.png' }, - "\t[初级智人]\b[up,hero]智慧吗...", - "\t[初级智人]\b[up,hero]智慧又是什么呢?", - "\t[初级智人]\b[up,hero]智慧之神说它可以掌控万物,真的这么神奇吗...", - "\t[初级智人]\b[up,hero]完全摸不到头脑。", - "\t[初级智人]\b[up,hero]或许智慧结晶会告诉我答案吧。", + '\t[低级智人]\b[up,hero]智慧吗...', + '\t[低级智人]\b[up,hero]智慧又是什么呢?', + '\t[低级智人]\b[up,hero]智慧之神说它可以掌控万物,真的这么神奇吗...', + '\t[低级智人]\b[up,hero]完全摸不到头脑。', + '\t[低级智人]\b[up,hero]或许智慧结晶会告诉我答案吧。', { - "type": "function", - "function": "function(){\ncore.showChapter('第二章 智慧');\ncore.removeMaps('tower1', 'tower7', true);\ndelete flags.tower1;\ndelete flags.wordsTimeOut;\ndelete flags.boom;\ndelete flags.booming;\n}" + type: 'function', + function: + "function(){\ncore.showChapter('第二章 智慧');\ncore.removeMaps('tower1', 'tower7', true);\ndelete flags.tower1;\ndelete flags.wordsTimeOut;\ndelete flags.boom;\ndelete flags.booming;\n}" }, { - "type": "setValue", - "name": "item:pickaxe", - "value": "0" + type: 'setValue', + name: 'item:pickaxe', + value: '0' } ], - "false": [ + false: [ { - "type": "changeFloor", - "floorId": "MT22", - "loc": [ - 0, - 8 - ] + type: 'changeFloor', + floorId: 'MT22', + loc: [0, 8] } ] } ] }, - "changeFloor": { - "0,6": { - "floorId": "MT19", - "loc": [ - 14, - 6 - ] + changeFloor: { + '0,6': { + floorId: 'MT19', + loc: [14, 6] } }, - "afterBattle": {}, - "afterGetItem": {}, - "afterOpenDoor": {}, - "autoEvent": {}, - "cannotMove": {}, - "map": [ - [142,142,142,142,142,142,142,142,142,142,142,142,142,142,142], - [142,142,142,142,142,142,142,142,142,487,142,142,142,142,142], - [142,142,142,487,494,378, 0,142,378,494,142,142,142,142,142], - [142,142,142,142,142,142,520, 33,518,142,142, 0, 0,142,142], - [142,142,142,142, 33,376, 0,142,381, 0, 33,376, 0,142,142], - [142,142,378,142, 0,142,142,142,142,142,142,142,545,142,142], - [ 92, 0, 33,142,142,142,487,142, 0,381, 33, 0, 0, 0,142], - [143,518,142,142, 0, 33,494,142,143,143,143,520,143,143,142], - [143, 0, 33,376,545,381, 0,520, 0,143, 0, 0,143, 0, 94], - [143,143,143,143,143, 0,143, 0,376,143, 0,545, 0,378,143], - [143, 0, 33, 0,518, 0,143, 0, 0,519, 33,143, 33, 0,143], - [143,143,143,143,381,143,143,143, 33,143,376,143,143,143,143], - [143,143, 0, 33,545, 0,378,143, 0,143,381, 0, 0,143,143], - [143,143,143,378,143, 33, 0,519, 0,143, 0,143,143,143,143], - [143,143,143,143,143,143,143,143,143,143,143,143,143,143,143] -], - "beforeBattle": {}, - "bgmap": [ - -], - "fgmap": [ - -], - "bg2map": [ - -], - "fg2map": [ - -], - "cannotMoveIn": {} -} \ No newline at end of file + afterBattle: {}, + afterGetItem: {}, + afterOpenDoor: {}, + autoEvent: {}, + cannotMove: {}, + map: [ + [ + 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, + 142, 142 + ], + [ + 142, 142, 142, 142, 142, 142, 142, 142, 142, 487, 142, 142, 142, + 142, 142 + ], + [ + 142, 142, 142, 487, 494, 378, 0, 142, 378, 494, 142, 142, 142, 142, + 142 + ], + [142, 142, 142, 142, 142, 142, 520, 33, 518, 142, 142, 0, 0, 142, 142], + [142, 142, 142, 142, 33, 376, 0, 142, 381, 0, 33, 376, 0, 142, 142], + [ + 142, 142, 378, 142, 0, 142, 142, 142, 142, 142, 142, 142, 545, 142, + 142 + ], + [92, 0, 33, 142, 142, 142, 487, 142, 0, 381, 33, 0, 0, 0, 142], + [ + 143, 518, 142, 142, 0, 33, 494, 142, 143, 143, 143, 520, 143, 143, + 142 + ], + [143, 0, 33, 376, 545, 381, 0, 520, 0, 143, 0, 0, 143, 0, 94], + [143, 143, 143, 143, 143, 0, 143, 0, 376, 143, 0, 545, 0, 378, 143], + [143, 0, 33, 0, 518, 0, 143, 0, 0, 519, 33, 143, 33, 0, 143], + [ + 143, 143, 143, 143, 381, 143, 143, 143, 33, 143, 376, 143, 143, 143, + 143 + ], + [143, 143, 0, 33, 545, 0, 378, 143, 0, 143, 381, 0, 0, 143, 143], + [143, 143, 143, 378, 143, 33, 0, 519, 0, 143, 0, 143, 143, 143, 143], + [ + 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, + 143, 143 + ] + ], + beforeBattle: {}, + bgmap: [], + fgmap: [], + bg2map: [], + fg2map: [], + cannotMoveIn: {} +}; diff --git a/public/project/floors/MT22.js b/public/project/floors/MT22.js index 2374893..eb7ece7 100644 --- a/public/project/floors/MT22.js +++ b/public/project/floors/MT22.js @@ -1,115 +1,118 @@ -main.floors.MT22= -{ - "floorId": "MT22", - "title": "智慧小径", - "name": "智慧小径", - "width": 15, - "height": 15, - "canFlyTo": true, - "canFlyFrom": true, - "canUseQuickShop": true, - "cannotViewMap": false, - "images": [], - "ratio": 2, - "defaultGround": "grass", - "bgm": "road.mp3", - "firstArrive": [], - "eachArrive": [], - "parallelDo": "", - "events": { - "0,8": [ +main.floors.MT22 = { + floorId: 'MT22', + title: '智慧小径', + name: '智慧小径', + width: 15, + height: 15, + canFlyTo: true, + canFlyFrom: true, + canUseQuickShop: true, + cannotViewMap: false, + images: [], + ratio: 2, + defaultGround: 'grass', + bgm: 'road.mp3', + firstArrive: [], + eachArrive: [], + parallelDo: '', + events: { + '0,8': [ { - "type": "if", - "condition": "flag:inWinter", - "true": [ - "\t[初级智人]\b[up,hero]没必要再回去了" - ], - "false": [ + type: 'if', + condition: 'flag:inWinter', + true: ['\t[低级智人]\b[up,hero]没必要再回去了'], + false: [ { - "type": "changeFloor", - "floorId": "MT21", - "loc": [ - 14, - 8 - ] + type: 'changeFloor', + floorId: 'MT21', + loc: [14, 8] } ] } ], - "3,9": [ - "第二章的加点已开启,可以在技能树的前置技能下方选择", - "注意学习是一个非常重要的技能,需要尽快点开", - "如果你玩过上个版本,直接跳到了本章,记得查看背包里面的各种道具,尤其是百科全书,同时注意左边是你来的方向,那里还有些怪物", - "从现在开始,跳跃技能不再消耗生命值,别忘了你还有跳跃技能" + '3,9': [ + '第二章的加点已开启,可以在技能树的前置技能下方选择', + '注意学习是一个非常重要的技能,需要尽快点开', + '如果你玩过上个版本,直接跳到了本章,记得查看背包里面的各种道具,尤其是百科全书,同时注意左边是你来的方向,那里还有些怪物', + '从现在开始,跳跃技能不再消耗生命值,别忘了你还有跳跃技能' ], - "7,9": [ - "百科全书中已解锁第二章需要特别说明的怪物属性,你可以在百科全书中查看" + '7,9': [ + '百科全书中已解锁第二章需要特别说明的怪物属性,你可以在百科全书中查看' ] }, - "changeFloor": { - "14,4": { - "floorId": "MT23", - "loc": [ - 0, - 4 - ] + changeFloor: { + '14,4': { + floorId: 'MT23', + loc: [0, 4] }, - "9,0": { - "floorId": "MT24", - "loc": [ - 9, - 14 - ] + '9,0': { + floorId: 'MT24', + loc: [9, 14] } }, - "beforeBattle": {}, - "afterBattle": {}, - "afterGetItem": {}, - "afterOpenDoor": {}, - "autoEvent": {}, - "cannotMove": {}, - "cannotMoveIn": {}, - "map": [ - [142,142,142,142,142,142,142,142,142, 91,143,143,143,143,143], - [142,142,142,142,142,142,142,142,142, 0,143,143,143,143,143], - [142,142,482,482,492, 0, 0, 0, 0, 0,143,491,484,143,143], - [142,142,142,142,142, 0, 0, 0, 0, 0,143,143,494,143,143], - [142,142,482,482,492, 0, 0,484, 0,441, 0, 0, 0, 0, 94], - [142,142,142,142,142, 0, 0, 0, 0,143,143,143,143,143,143], - [142,142,482,482,492, 0, 0,484, 0,494,484,491,484,143,143], - [142,142,142,142,142, 0, 0, 0, 0,143,143,143,143,143,143], - [ 92, 0, 0, 0,441, 0, 0,484, 0, 0, 0, 0, 0,143,143], - [143,143, 0,129, 0, 0, 0,129, 0, 0, 0, 0, 0,143,143], - [143,143,492,143,492,143,492,143,492,143,492,143,492,143,143], - [143,143,482,143,482,143,482,143,482,143,482,143,482,143,143], - [143,143,482,143,482,143,482,143,482,143,482,143,482,143,143], - [143,143,143,143,143,143,143,143,143,143,143,143,143,143,143], - [143,143,143,143,143,143,143,143,143,143,143,143,143,143,143] -], - "bgmap": [ - [ 0, 0, 0, 0, 0, 0, 0, 0, 0,144, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0,144, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0,144, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0,144, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0,144,144,144,144,144,144,144,144], - [ 0, 0, 0, 0, 0, 0, 0,144, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0,144, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0,144, 0, 0, 0, 0, 0, 0, 0], - [144,144,144,144,144,144,144,144, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] -], - "fgmap": [ - -], - "bg2map": [ - -], - "fg2map": [ - -] -} \ No newline at end of file + beforeBattle: {}, + afterBattle: {}, + afterGetItem: {}, + afterOpenDoor: {}, + autoEvent: {}, + cannotMove: {}, + cannotMoveIn: {}, + map: [ + [ + 142, 142, 142, 142, 142, 142, 142, 142, 142, 91, 143, 143, 143, 143, + 143 + ], + [ + 142, 142, 142, 142, 142, 142, 142, 142, 142, 0, 143, 143, 143, 143, + 143 + ], + [142, 142, 482, 482, 492, 0, 0, 0, 0, 0, 143, 491, 484, 143, 143], + [142, 142, 142, 142, 142, 0, 0, 0, 0, 0, 143, 143, 494, 143, 143], + [142, 142, 482, 482, 492, 0, 0, 484, 0, 441, 0, 0, 0, 0, 94], + [142, 142, 142, 142, 142, 0, 0, 0, 0, 143, 143, 143, 143, 143, 143], + [142, 142, 482, 482, 492, 0, 0, 484, 0, 494, 484, 491, 484, 143, 143], + [142, 142, 142, 142, 142, 0, 0, 0, 0, 143, 143, 143, 143, 143, 143], + [92, 0, 0, 0, 441, 0, 0, 484, 0, 0, 0, 0, 0, 143, 143], + [143, 143, 0, 129, 0, 0, 0, 129, 0, 0, 0, 0, 0, 143, 143], + [ + 143, 143, 492, 143, 492, 143, 492, 143, 492, 143, 492, 143, 492, + 143, 143 + ], + [ + 143, 143, 482, 143, 482, 143, 482, 143, 482, 143, 482, 143, 482, + 143, 143 + ], + [ + 143, 143, 482, 143, 482, 143, 482, 143, 482, 143, 482, 143, 482, + 143, 143 + ], + [ + 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, + 143, 143 + ], + [ + 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, + 143, 143 + ] + ], + bgmap: [ + [0, 0, 0, 0, 0, 0, 0, 0, 0, 144, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 144, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 144, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 144, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 144, 144, 144, 144, 144, 144, 144, 144], + [0, 0, 0, 0, 0, 0, 0, 144, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 144, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 144, 0, 0, 0, 0, 0, 0, 0], + [144, 144, 144, 144, 144, 144, 144, 144, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + ], + fgmap: [], + bg2map: [], + fg2map: [] +}; diff --git a/public/project/floors/MT27.js b/public/project/floors/MT27.js index 1d1a822..9140f9e 100644 --- a/public/project/floors/MT27.js +++ b/public/project/floors/MT27.js @@ -49,7 +49,7 @@ main.floors.MT27= [143, 0,143,143,143,143, 0,143,143,143,143,143,143,143,143], [143,441,143,390,482,143, 0,143,484,396,143,143,143,143,143], [143, 33,500,482,396,143,403,568, 21,403,143,143,143,143,143], - [143,275,492,492,143,143,143,143,143,568,143,143,143,143,143], + [143,275,143,494,143,143,143,143,143,568,143,143,143,143,143], [143, 33,237,482,396,494,484,390,396,484,143,143,143,143,143], [143,441,143,390,482,143,143,143,237,143,143,143,143,143,143], [143, 0,143,143,143,143,403,376,484,143,143,143,143,143,143], diff --git a/public/project/floors/MT29.js b/public/project/floors/MT29.js index db6af59..2dfeb55 100644 --- a/public/project/floors/MT29.js +++ b/public/project/floors/MT29.js @@ -1,161 +1,136 @@ -main.floors.MT29= -{ - "floorId": "MT29", - "title": "智慧小径", - "name": "智慧小径", - "width": 15, - "height": 15, - "canFlyTo": true, - "canFlyFrom": true, - "canUseQuickShop": true, - "cannotViewMap": false, - "images": [], - "ratio": 2, - "defaultGround": "grass", - "bgm": "road.mp3", - "firstArrive": [ +main.floors.MT29 = { + floorId: 'MT29', + title: '智慧小径', + name: '智慧小径', + width: 15, + height: 15, + canFlyTo: true, + canFlyFrom: true, + canUseQuickShop: true, + cannotViewMap: false, + images: [], + ratio: 2, + defaultGround: 'grass', + bgm: 'road.mp3', + firstArrive: [ { - "type": "animate", - "name": "hand", - "loc": [ - 13, - 8 - ] + type: 'animate', + name: 'hand', + loc: [13, 8] }, { - "type": "animate", - "name": "hand", - "loc": [ - 13, - 8 - ] + type: 'animate', + name: 'hand', + loc: [13, 8] }, { - "type": "animate", - "name": "jianji", - "loc": [ - 13, - 8 - ] + type: 'animate', + name: 'jianji', + loc: [13, 8] }, { - "type": "hide", - "loc": [ - [ - 13, - 8 - ] - ], - "remove": true, - "time": 500 + type: 'hide', + loc: [[13, 8]], + remove: true, + time: 500 }, { - "type": "jump", - "from": [ - 12, - 8 - ], - "dxy": [ - 5, - 0 - ], - "time": 500 + type: 'jump', + from: [12, 8], + dxy: [5, 0], + time: 500 }, - "\t[初级智人]\b[up,hero]杰克?", - "\t[初级智人]\b[up,hero]他为什么会在这里?", - "\t[初级智人]\b[up,hero]奇怪,他好像在为我打通道路。", - "\t[初级智人]\b[up,hero]这些怪物这么强,他是怎么对付的?", - "\t[初级智人]\b[up,hero]而且好像在故意让我发现。", - "\t[初级智人]\b[up,hero]跟上去看看。" + '\t[低级智人]\b[up,hero]杰克?', + '\t[低级智人]\b[up,hero]他为什么会在这里?', + '\t[低级智人]\b[up,hero]奇怪,他好像在为我打通道路。', + '\t[低级智人]\b[up,hero]这些怪物这么强,他是怎么对付的?', + '\t[低级智人]\b[up,hero]而且好像在故意让我发现。', + '\t[低级智人]\b[up,hero]跟上去看看。' ], - "eachArrive": [], - "parallelDo": "", - "events": {}, - "changeFloor": { - "0,9": { - "floorId": "MT30", - "loc": [ - 14, - 9 - ] + eachArrive: [], + parallelDo: '', + events: {}, + changeFloor: { + '0,9': { + floorId: 'MT30', + loc: [14, 9] }, - "8,14": { - "floorId": "MT28", - "loc": [ - 8, - 0 - ] + '8,14': { + floorId: 'MT28', + loc: [8, 0] }, - "14,8": { - "floorId": "MT31", - "loc": [ - 0, - 7 - ] + '14,8': { + floorId: 'MT31', + loc: [0, 7] } }, - "beforeBattle": {}, - "afterBattle": {}, - "afterGetItem": {}, - "afterOpenDoor": {}, - "autoEvent": {}, - "cannotMove": {}, - "cannotMoveIn": {}, - "map": [ - [ 17, 17, 17, 17,143,143,143,143,143,143,143,143,143,143,143], - [ 17, 17, 17, 17,143,143,143,143,482,237,484,280, 0,390,143], - [ 17, 17, 17, 17,143,143,468,468,482,143,484,143,396,441,143], - [ 17, 17, 17, 17,143,143,143,492,143,143,562,143,492,143,143], - [ 17, 17, 17, 17,390, 0,143,482,143, 0,390,484,396, 0,143], - [ 17, 17, 17, 17,482,396,143,403,143,237,143,143,143,492,143], - [ 17, 17, 17, 17,280,143,143,390,403, 0,143,396,441,420,143], - [ 17, 17, 0,500, 0,376,143,143,568,143,143,143,143,572,143], - [ 17, 17, 0,143,482,482,143,376,482,568, 0,396,123,576, 94], - [ 92, 0, 0,143,378, 0,568, 0,378,143,390, 0,484, 0,143], - [143,500,143,143,143,492,143,143,143,143,143,492,143,143,143], - [143,484, 21,572,390, 0, 0, 0,237,143,484,562,491,491,143], - [143,390,396,494, 21,484,143,143,484,492,492,143,143,237,143], - [143,143,143,143,396, 0, 0,492, 0,280,390,403,484,396,143], - [143,143,143,143,143,143,143,143, 93,143,143,143,143,143,143] -], - "bgmap": [ - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0,144,144,144,144, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0,144, 0, 0,144, 0, 0,144,144,144,144,144,144,144], - [144,144,144, 0, 0,144,144,144,144, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0,144, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0,144,144,144,144, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0,144, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0,144, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0,144, 0, 0, 0, 0, 0, 0] -], - "fgmap": [ - -], - "bg2map": [ - [142,142,142,142,142,142,142,142,142,142,142,142, 0, 0, 0], - [142,142,142,142,142,142,142, 0, 0, 0, 0, 0, 0, 0, 0], - [142,142,142,142,142,142, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [142,142,142,142,142,142, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [142,142,142,142, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [142,142,142,142, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [142,142,142,142, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [142,142, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [142,142, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] -], - "fg2map": [ - -] -} \ No newline at end of file + beforeBattle: {}, + afterBattle: {}, + afterGetItem: {}, + afterOpenDoor: {}, + autoEvent: {}, + cannotMove: {}, + cannotMoveIn: {}, + map: [ + [17, 17, 17, 17, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143], + [17, 17, 17, 17, 143, 143, 143, 143, 482, 237, 484, 280, 0, 390, 143], + [17, 17, 17, 17, 143, 143, 468, 468, 482, 143, 484, 143, 396, 441, 143], + [17, 17, 17, 17, 143, 143, 143, 492, 143, 143, 562, 143, 492, 143, 143], + [17, 17, 17, 17, 390, 0, 143, 482, 143, 0, 390, 484, 396, 0, 143], + [17, 17, 17, 17, 482, 396, 143, 403, 143, 237, 143, 143, 143, 492, 143], + [17, 17, 17, 17, 280, 143, 143, 390, 403, 0, 143, 396, 441, 420, 143], + [17, 17, 0, 500, 0, 376, 143, 143, 568, 143, 143, 143, 143, 572, 143], + [17, 17, 0, 143, 482, 482, 143, 376, 482, 568, 0, 396, 123, 576, 94], + [92, 0, 0, 143, 378, 0, 568, 0, 378, 143, 390, 0, 484, 0, 143], + [ + 143, 500, 143, 143, 143, 492, 143, 143, 143, 143, 143, 492, 143, + 143, 143 + ], + [143, 484, 21, 572, 390, 0, 0, 0, 237, 143, 484, 562, 491, 491, 143], + [ + 143, 390, 396, 494, 21, 484, 143, 143, 484, 492, 492, 143, 143, 237, + 143 + ], + [143, 143, 143, 143, 396, 0, 0, 492, 0, 280, 390, 403, 484, 396, 143], + [ + 143, 143, 143, 143, 143, 143, 143, 143, 93, 143, 143, 143, 143, 143, + 143 + ] + ], + bgmap: [ + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 144, 144, 144, 144, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 144, 0, 0, 144, 0, 0, 144, 144, 144, 144, 144, 144, 144], + [144, 144, 144, 0, 0, 144, 144, 144, 144, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 144, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 144, 144, 144, 144, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 144, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 144, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 144, 0, 0, 0, 0, 0, 0] + ], + fgmap: [], + bg2map: [ + [142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 0, 0, 0], + [142, 142, 142, 142, 142, 142, 142, 0, 0, 0, 0, 0, 0, 0, 0], + [142, 142, 142, 142, 142, 142, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [142, 142, 142, 142, 142, 142, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [142, 142, 142, 142, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [142, 142, 142, 142, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [142, 142, 142, 142, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [142, 142, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [142, 142, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + ], + fg2map: [] +}; diff --git a/public/project/floors/MT31.js b/public/project/floors/MT31.js index 576889a..05145ec 100644 --- a/public/project/floors/MT31.js +++ b/public/project/floors/MT31.js @@ -1,295 +1,284 @@ -main.floors.MT31= -{ - "floorId": "MT31", - "title": "智慧小径", - "name": "智慧小径", - "width": 15, - "height": 15, - "canFlyTo": true, - "canFlyFrom": true, - "canUseQuickShop": true, - "cannotViewMap": false, - "images": [], - "ratio": 2, - "defaultGround": "grass", - "bgm": "road.mp3", - "firstArrive": [ - "\t[初级智人]\b[up,hero]杰克,你为什么在这?", - "\t[杰克,thief]\b[up,4,7]哟,咱好久不见了,我只是来这里寻找点东西。", - "\t[初级智人]\b[up,hero]这里怪物这么强,你怎么能打败他?", - "\t[杰克,thief]\b[up,4,7]我有我的特殊办法。", - "\t[初级智人]\b[up,hero]那些...绿色宝石吗?", - "\t[杰克,thief]\b[up,4,7]绿色宝石?我没见过那东西。", - "\t[初级智人]\b[up,hero]那是什么办法呢?", - "\t[杰克,thief]\b[up,4,7]这个你就不用操心了。", - "\t[杰克,thief]\b[up,4,7]对了,有人让我给你说一句话。", - "\t[杰克,thief]\b[up,4,7]时间会诉说真相,而历史不会。", - "\t[杰克,thief]\b[up,4,7]即使历史是真实的。", - "\t[初级智人]\b[up,hero]什么意思?", - "\t[杰克,thief]\b[up,4,7]我也不清楚,不过我先走了,你慢慢理解。", +main.floors.MT31 = { + floorId: 'MT31', + title: '智慧小径', + name: '智慧小径', + width: 15, + height: 15, + canFlyTo: true, + canFlyFrom: true, + canUseQuickShop: true, + cannotViewMap: false, + images: [], + ratio: 2, + defaultGround: 'grass', + bgm: 'road.mp3', + firstArrive: [ + '\t[低级智人]\b[up,hero]杰克,你为什么在这?', + '\t[杰克,thief]\b[up,4,7]哟,咱好久不见了,我只是来这里寻找点东西。', + '\t[低级智人]\b[up,hero]这里怪物这么强,你怎么能打败他?', + '\t[杰克,thief]\b[up,4,7]我有我的特殊办法。', + '\t[低级智人]\b[up,hero]那些...绿色宝石吗?', + '\t[杰克,thief]\b[up,4,7]绿色宝石?我没见过那东西。', + '\t[低级智人]\b[up,hero]那是什么办法呢?', + '\t[杰克,thief]\b[up,4,7]这个你就不用操心了。', + '\t[杰克,thief]\b[up,4,7]对了,有人让我给你说一句话。', + '\t[杰克,thief]\b[up,4,7]时间会诉说真相,而历史不会。', + '\t[杰克,thief]\b[up,4,7]即使历史是真实的。', + '\t[低级智人]\b[up,hero]什么意思?', + '\t[杰克,thief]\b[up,4,7]我也不清楚,不过我先走了,你慢慢理解。', { - "type": "jump", - "from": [ - 4, - 7 - ], - "dxy": [ - 15, - 0 - ], - "time": 500 + type: 'jump', + from: [4, 7], + dxy: [15, 0], + time: 500 }, - "\t[初级智人]\b[up,hero]...", - "\t[初级智人]\b[up,hero]时间会诉说真相,而历史不会...", - "\t[初级智人]\b[up,hero]能相信的只有时间,而历史能被篡改吗...", - "\t[初级智人]\b[up,hero]历史是真实的,又为何不会诉说真相呢...", - "\t[初级智人]\b[up,hero]完全不能理解。" + '\t[低级智人]\b[up,hero]...', + '\t[低级智人]\b[up,hero]时间会诉说真相,而历史不会...', + '\t[低级智人]\b[up,hero]能相信的只有时间,而历史能被篡改吗...', + '\t[低级智人]\b[up,hero]历史是真实的,又为何不会诉说真相呢...', + '\t[低级智人]\b[up,hero]完全不能理解。' ], - "eachArrive": [], - "parallelDo": "", - "events": { - "14,7": [ + eachArrive: [], + parallelDo: '', + events: { + '14,7': [ { - "type": "if", - "condition": "(!flag:inWinter)", - "true": [ + type: 'if', + condition: '(!flag:inWinter)', + true: [ { - "type": "setCurtain", - "color": [ - 0, - 0, - 0, - 1 - ], - "time": 1500, - "keep": true + type: 'setCurtain', + color: [0, 0, 0, 1], + time: 1500, + keep: true }, { - "type": "setText", - "text": [ - 0, - 0, - 0, - 1 - ], - "background": "winskin3.png" + type: 'setText', + text: [0, 0, 0, 1], + background: 'winskin3.png' }, - "人类简史——进化篇", + '人类简史——进化篇', { - "type": "playSound", - "name": "paper.mp3" + type: 'playSound', + name: 'paper.mp3' }, - "经过了漫长的行走,他感到真相越来越接近。", + '经过了漫长的行走,他感到真相越来越接近。', { - "type": "playSound", - "name": "paper.mp3" + type: 'playSound', + name: 'paper.mp3' }, - "前方,是会将凛冽渗入骨髓的冰封雪原。", + '前方,是会将凛冽渗入骨髓的冰封雪原。', { - "type": "playSound", - "name": "paper.mp3" + type: 'playSound', + name: 'paper.mp3' }, - "这里,他将寻找到所谓的真相。", + '这里,他将寻找到所谓的真相。', { - "type": "changeFloor", - "floorId": "MT32", - "loc": [ - 0, - 7 - ] + type: 'changeFloor', + floorId: 'MT32', + loc: [0, 7] }, { - "type": "setCurtain", - "time": 1000 + type: 'setCurtain', + time: 1000 }, { - "type": "setText", - "text": [ - 255, - 255, - 255, - 1 - ], - "background": "winskin2.png" + type: 'setText', + text: [255, 255, 255, 1], + background: 'winskin2.png' }, - "\t[初级智人]\b[up,hero]呼,好冷。", - "\t[初级智人]\b[up,hero]嗯?", + '\t[低级智人]\b[up,hero]呼,好冷。', + '\t[低级智人]\b[up,hero]嗯?', { - "type": "moveHero", - "time": 250, - "steps": [ - "right:1" - ] + type: 'moveHero', + time: 250, + steps: ['right:1'] }, - "\t[初级智人]\b[up,hero]这是杰克给我留下的衣服吗?", - "\t[初级智人]\b[up,hero]先穿上吧,这里太冷了。", + '\t[低级智人]\b[up,hero]这是杰克给我留下的衣服吗?', + '\t[低级智人]\b[up,hero]先穿上吧,这里太冷了。', { - "type": "setValue", - "name": "flag:inWinter", - "value": "true" + type: 'setValue', + name: 'flag:inWinter', + value: 'true' } ], - "false": [ + false: [ { - "type": "changeFloor", - "floorId": "MT32", - "loc": [ - 0, - 7 - ] + type: 'changeFloor', + floorId: 'MT32', + loc: [0, 7] } ] } ], - "2,6": [ - "注意右方的清怪检测是检测\r[gold]勇气之路\r[]的怪物,本区域的怪物不检测,可以暂时留怪" + '2,6': [ + '注意右方的清怪检测是检测\r[gold]勇气之路\r[]的怪物,本区域的怪物不检测,可以暂时留怪' ], - "13,7": [ - "这里是漏怪检测,会检测\r[gold]勇气之路\r[]区域是否有遗漏怪物", + '13,7': [ + '这里是漏怪检测,会检测\r[gold]勇气之路\r[]区域是否有遗漏怪物', { - "type": "function", - "function": "function(){\nconst enemy = core.getRemainEnemyString(core.floorIds.slice(17, 22));\nif (enemy.length === 0) {\n\tcore.insertAction(['当前无剩余怪物!', { \"type\": \"hide\", \"remove\": true }, ]);\n} else {\n\tcore.insertAction(enemy);\n}\n}" + type: 'function', + function: + 'function(){\nconst enemy = core.getRemainEnemyString(core.floorIds.slice(17, 22));\nif (enemy.length === 0) {\n\tcore.insertAction([\'当前无剩余怪物!\', { "type": "hide", "remove": true }, ]);\n} else {\n\tcore.insertAction(enemy);\n}\n}' } ] }, - "changeFloor": { - "0,7": { - "floorId": "MT29", - "loc": [ - 14, - 8 - ] + changeFloor: { + '0,7': { + floorId: 'MT29', + loc: [14, 8] } }, - "beforeBattle": {}, - "afterBattle": { - "10,7": [ - "\t[智慧守护者,E577]\b[up,10,7]智慧!终于有人可以得到这些智慧了!", - "\t[智慧守护者,E577]\b[up,10,7]终于要迎来结束战争的那一天了!", - "\t[智慧守护者,E577]\b[up,10,7]我的任务终于完成了!!", - "\t[低级智人]\b[up,hero]什么结束战争,什么完成任务?", + beforeBattle: {}, + afterBattle: { + '10,7': [ + '\t[智慧守护者,E577]\b[up,10,7]智慧!终于有人可以得到这些智慧了!', + '\t[智慧守护者,E577]\b[up,10,7]终于要迎来结束战争的那一天了!', + '\t[智慧守护者,E577]\b[up,10,7]我的任务终于完成了!!', + '\t[低级智人]\b[up,hero]什么结束战争,什么完成任务?', { - "type": "setBlock", - "number": "I476", - "time": 1000 + type: 'setBlock', + number: 'I476', + time: 1000 }, - "\t[低级智人]\b[up,hero]哎,没问到啊...", - "\t[低级智人]\b[up,hero]战争,又是什么意思呢?", - "\t[低级智人]\b[up,hero]之前智慧之神也提过战争,但是我还没问我们就打起来了。", - "\t[低级智人]\b[up,hero]之后应该就知道了。", + '\t[低级智人]\b[up,hero]哎,没问到啊...', + '\t[低级智人]\b[up,hero]战争,又是什么意思呢?', + '\t[低级智人]\b[up,hero]之前智慧之神也提过战争,但是我还没问我们就打起来了。', + '\t[低级智人]\b[up,hero]之后应该就知道了。', { - "type": "function", - "function": "function(){\ncore.getNextItem()\n}" + type: 'function', + function: 'function(){\ncore.getNextItem()\n}' }, { - "type": "sleep", - "time": 1000 + type: 'sleep', + time: 1000 }, - "\t[低级智人]\b[up,hero]!!!", - "\t[低级智人]\b[up,hero]这种感觉!", - "\t[低级智人]\b[up,hero]感觉前所未有的东西涌入了大脑。", - "\t[低级智人]\b[up,hero]这就是智慧吗。", - "\t[低级智人]\b[up,hero]原来如此。", - "\t[低级智人]\b[up,hero]原来,智慧是这个意思。", - "\t[低级智人]\b[up,hero]我明白了,我全都明白了。", - "\t[低级智人]\b[up,hero]智慧,真的可以掌握万物。", + '\t[低级智人]\b[up,hero]!!!', + '\t[低级智人]\b[up,hero]这种感觉!', + '\t[低级智人]\b[up,hero]感觉前所未有的东西涌入了大脑。', + '\t[低级智人]\b[up,hero]这就是智慧吗。', + '\t[低级智人]\b[up,hero]原来如此。', + '\t[低级智人]\b[up,hero]原来,智慧是这个意思。', + '\t[低级智人]\b[up,hero]我明白了,我全都明白了。', + '\t[低级智人]\b[up,hero]智慧,真的可以掌握万物。', { - "type": "setValue", - "name": "flag:door_MT31_7_6", - "operator": "+=", - "value": "1" + type: 'setValue', + name: 'flag:door_MT31_7_6', + operator: '+=', + value: '1' } ] }, - "afterGetItem": {}, - "afterOpenDoor": {}, - "autoEvent": { - "7,5": { - "0": { - "condition": "flag:door_MT31_7_6==1", - "currentFloor": true, - "priority": 0, - "delayExecute": false, - "multiExecute": false, - "data": [ + afterGetItem: {}, + afterOpenDoor: {}, + autoEvent: { + '7,5': { + 0: { + condition: 'flag:door_MT31_7_6==1', + currentFloor: true, + priority: 0, + delayExecute: false, + multiExecute: false, + data: [ { - "type": "openDoor" + type: 'openDoor' }, { - "type": "setValue", - "name": "flag:door_MT31_7_6", - "operator": "=", - "value": "null" + type: 'setValue', + name: 'flag:door_MT31_7_6', + operator: '=', + value: 'null' } ] }, - "1": null + 1: null }, - "7,9": { - "0": { - "condition": "flag:door_MT31_7_6==1", - "currentFloor": true, - "priority": 0, - "delayExecute": false, - "multiExecute": false, - "data": [ + '7,9': { + 0: { + condition: 'flag:door_MT31_7_6==1', + currentFloor: true, + priority: 0, + delayExecute: false, + multiExecute: false, + data: [ { - "type": "openDoor" + type: 'openDoor' }, { - "type": "setValue", - "name": "flag:door_MT31_7_6", - "operator": "=", - "value": "null" + type: 'setValue', + name: 'flag:door_MT31_7_6', + operator: '=', + value: 'null' } ] }, - "1": null + 1: null } }, - "cannotMove": {}, - "cannotMoveIn": {}, - "map": [ - [143,143,143,143,143,143,143,143,143,143,143,143,143,143,143], - [143,143,143,143,143,143,143,143,143,143,143,143,143,143,143], - [143,143,143,143,143,143,143,143,143,143,143,143,143,143,143], - [143,143,143,143,143,143,143,143,143,143,143,143,143,143,143], - [143,143, 0, 0, 0, 0,143,491,491,468,468,466,466,143,143], - [143,143, 0,491,491, 0,143, 85,143,143,143,143,143,143,143], - [143,143,129, 0, 0, 0,143, 0, 0, 0, 0, 0, 0,143,143], - [ 92, 0, 0, 23,123, 0,497, 0, 0, 0,577, 0, 0,516, 94], - [143,143, 0, 0, 0, 0,143, 0, 0, 0, 0, 0, 0,143,143], - [143,143, 0,491,491, 0,143, 85,143,143,143,143,143,143,143], - [143,143, 0, 0, 0, 0,143,491,491,468,468,467,467,143,143], - [143,143,143,143,143,143,143,143,143,143,143,143,143,143,143], - [143,143,143,143,143,143,143,143,143,143,143,143,143,143,143], - [143,143,143,143,143,143,143,143,143,143,143,143,143,143,143], - [143,143,143,143,143,143,143,143,143,143,143,143,143,143,143] -], - "bgmap": [ - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [144,144,144,144,144,144,144,144,144,144,144,144,144,144,144], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] -], - "fgmap": [ - -], - "bg2map": [ - -], - "fg2map": [ - -] -} \ No newline at end of file + cannotMove: {}, + cannotMoveIn: {}, + map: [ + [ + 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, + 143, 143 + ], + [ + 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, + 143, 143 + ], + [ + 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, + 143, 143 + ], + [ + 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, + 143, 143 + ], + [143, 143, 0, 0, 0, 0, 143, 491, 491, 468, 468, 466, 466, 143, 143], + [143, 143, 0, 491, 491, 0, 143, 85, 143, 143, 143, 143, 143, 143, 143], + [143, 143, 129, 0, 0, 0, 143, 0, 0, 0, 0, 0, 0, 143, 143], + [92, 0, 0, 23, 123, 0, 497, 0, 0, 0, 577, 0, 0, 516, 94], + [143, 143, 0, 0, 0, 0, 143, 0, 0, 0, 0, 0, 0, 143, 143], + [143, 143, 0, 491, 491, 0, 143, 85, 143, 143, 143, 143, 143, 143, 143], + [143, 143, 0, 0, 0, 0, 143, 491, 491, 468, 468, 467, 467, 143, 143], + [ + 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, + 143, 143 + ], + [ + 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, + 143, 143 + ], + [ + 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, + 143, 143 + ], + [ + 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, + 143, 143 + ] + ], + bgmap: [ + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ + 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, + 144, 144 + ], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + ], + fgmap: [], + bg2map: [], + fg2map: [] +}; diff --git a/public/project/floors/MT32.js b/public/project/floors/MT32.js index c285a6d..7eb68ea 100644 --- a/public/project/floors/MT32.js +++ b/public/project/floors/MT32.js @@ -1,127 +1,128 @@ -main.floors.MT32= -{ - "floorId": "MT32", - "title": "冰封雪原", - "name": "冰封雪原", - "width": 15, - "height": 15, - "canFlyTo": true, - "canFlyFrom": true, - "canUseQuickShop": true, - "cannotViewMap": false, - "images": [], - "ratio": 8, - "defaultGround": "T580", - "bgm": "winter.mp3", - "firstArrive": [ +main.floors.MT32 = { + floorId: 'MT32', + title: '冰封雪原', + name: '冰封雪原', + width: 15, + height: 15, + canFlyTo: true, + canFlyFrom: true, + canUseQuickShop: true, + cannotViewMap: false, + images: [], + ratio: 8, + defaultGround: 'T580', + bgm: 'winter.mp3', + firstArrive: [ { - "type": "function", - "function": "function(){\ncore.removeMaps('MT17', 'MT21', true)\n}" + type: 'function', + function: "function(){\ncore.removeMaps('MT17', 'MT21', true)\n}" } ], - "eachArrive": [], - "parallelDo": "", - "events": { - "0,7": [ + eachArrive: [], + parallelDo: '', + events: { + '0,7': [ { - "type": "if", - "condition": "(flag:inWinter2===true)", - "true": [ - "\t[初级智人]\b[up,hero]没必要回去了" - ], - "false": [ + type: 'if', + condition: '(flag:inWinter2===true)', + true: ['\t[低级智人]\b[up,hero]没必要回去了'], + false: [ { - "type": "changeFloor", - "floorId": "MT31", - "loc": [ - 14, - 7 - ] + type: 'changeFloor', + floorId: 'MT31', + loc: [14, 7] } ] } ], - "1,6": [ - "宝石血瓶的加成已提升至8倍" - ], - "1,8": [ - "衣服是个装备,记得穿上", - "光环会在地图上显示,如果不想要可以在背包里面的系统设置里面关闭", - "每张地图会保证极昼怪的数量与永夜怪的数量相同", - "注意打过永夜怪或者极昼怪之后或者有光环的时候,怪物标记可能与当前地图不符,因为标记怪物是标记的某一类怪物而不是某一点的怪物" + '1,6': ['宝石血瓶的加成已提升至8倍'], + '1,8': [ + '衣服是个装备,记得穿上', + '光环会在地图上显示,如果不想要可以在背包里面的系统设置里面关闭', + '每张地图会保证极昼怪的数量与永夜怪的数量相同', + '注意打过永夜怪或者极昼怪之后或者有光环的时候,怪物标记可能与当前地图不符,因为标记怪物是标记的某一类怪物而不是某一点的怪物', + '怪物手册显示的怪物是不经过光环加成的怪物,而定点查看则是经过各种加成的怪物。你可以将鼠标移动到怪物上,按下e或c使用定点查看功能' ] }, - "changeFloor": { - "14,6": { - "floorId": "MT33", - "loc": [ - 0, - 6 - ] + changeFloor: { + '14,6': { + floorId: 'MT33', + loc: [0, 6] } }, - "beforeBattle": {}, - "afterBattle": {}, - "afterGetItem": {}, - "afterOpenDoor": {}, - "autoEvent": {}, - "cannotMove": {}, - "cannotMoveIn": {}, - "map": [ - [147,147,147,147,147,147,147,147,147,147,147,147,147,147,147], - [147, 0,482,441,274, 0, 28,147, 34, 0,603, 0, 0, 0,147], - [147,595,147,147,147, 32, 0,590, 0, 34,587, 0,147,147,147], - [147, 0,403, 0,147,602,587,586,587,587,587, 21,147,381,147], - [147, 28, 33, 27,492, 34, 34,586, 34,390,588, 0,592, 34,147], - [147,147,494,147,147,585,492,585,595,588,588,590,147,492,147], - [147,129, 0, 21,147, 32, 0,602, 0,586, 0, 0, 34, 0, 94], - [ 92, 0,589, 0,492, 0, 32,584, 27,590, 0,587, 0, 28,147], - [147,129, 0, 22,147,590,492,584, 29,586,587,587,492,147,147], - [147,147,494,147,147, 0, 0,603, 0,586, 0, 32, 32, 0,147], - [147, 27, 33, 28,147,147,147,147,494,585,585,585,584,602,147], - [147, 0,403, 0,492, 34, 34,147, 0, 0,381,381, 0, 0,147], - [147,595,147,147,147,603,147,147,147,147,274,147,147,590,147], - [147, 0, 21, 27, 0, 0, 0, 0, 28, 33, 0,492, 0, 0,147], - [147,147,147,147,147,147,147,147,147,147,147,147,147,147,147] -], - "bgmap": [ - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0,145,145, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0,145, 0,145,145,145,145,145], - [145,145,145,145,145,145,145,145,145,145,145, 0,145, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145,145, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145, 0], - [ 0,145, 0, 0, 0, 0, 0, 0, 0, 0,145,145,145,145, 0], - [ 0,145, 0, 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0, 0], - [ 0,145,145,145,145,145,145,145,145,145,145, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] -], - "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,146,146,146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0,146,146,146, 0, 0, 0, 0,146,146, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0,146,146,146, 0, 0, 0,582, 0, 0, 0, 0,146,146, 0], - [ 0,146,146,146, 0, 0, 0, 0, 0, 0, 0, 0,146,146, 0], - [ 0,146,146,146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0,581,581,582, 0, 0, 0, 0, 0, 0, 0], - [ 0,146,146,146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0,146,146,146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] -], - "fg2map": [ - -] -} \ No newline at end of file + beforeBattle: {}, + afterBattle: {}, + afterGetItem: {}, + afterOpenDoor: {}, + autoEvent: {}, + cannotMove: {}, + cannotMoveIn: {}, + map: [ + [ + 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, + 147, 147 + ], + [147, 0, 482, 441, 274, 0, 28, 147, 34, 0, 603, 0, 0, 0, 147], + [147, 595, 147, 147, 147, 32, 0, 590, 0, 34, 587, 0, 147, 147, 147], + [147, 0, 403, 0, 147, 602, 587, 586, 587, 587, 587, 21, 147, 381, 147], + [147, 28, 33, 27, 492, 34, 34, 586, 34, 390, 588, 0, 592, 34, 147], + [ + 147, 147, 494, 147, 147, 585, 492, 585, 595, 588, 588, 590, 147, + 492, 147 + ], + [147, 129, 0, 21, 147, 32, 0, 602, 0, 586, 0, 0, 34, 0, 94], + [92, 0, 589, 0, 492, 0, 32, 584, 27, 590, 0, 587, 0, 28, 147], + [147, 129, 0, 22, 147, 590, 492, 584, 29, 586, 587, 587, 492, 147, 147], + [147, 147, 494, 147, 147, 0, 0, 603, 0, 586, 0, 32, 32, 0, 147], + [ + 147, 27, 33, 28, 147, 147, 147, 147, 494, 585, 585, 585, 584, 602, + 147 + ], + [147, 0, 403, 0, 492, 34, 34, 147, 0, 0, 381, 381, 0, 0, 147], + [ + 147, 595, 147, 147, 147, 603, 147, 147, 147, 147, 274, 147, 147, + 590, 147 + ], + [147, 0, 21, 27, 0, 0, 0, 0, 28, 33, 0, 492, 0, 0, 147], + [ + 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, + 147, 147 + ] + ], + bgmap: [ + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 145, 145, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 145, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 145, 0, 145, 145, 145, 145, 145], + [145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 0, 145, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 145, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 145, 145, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 145, 0], + [0, 145, 0, 0, 0, 0, 0, 0, 0, 0, 145, 145, 145, 145, 0], + [0, 145, 0, 0, 0, 0, 0, 0, 0, 0, 145, 0, 0, 0, 0], + [0, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + ], + 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, 146, 146, 146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 146, 146, 146, 0, 0, 0, 0, 146, 146, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 146, 146, 146, 0, 0, 0, 582, 0, 0, 0, 0, 146, 146, 0], + [0, 146, 146, 146, 0, 0, 0, 0, 0, 0, 0, 0, 146, 146, 0], + [0, 146, 146, 146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 581, 581, 582, 0, 0, 0, 0, 0, 0, 0], + [0, 146, 146, 146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 146, 146, 146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + ], + fg2map: [] +}; diff --git a/public/project/floors/MT34.js b/public/project/floors/MT34.js index 4858ec0..7d95927 100644 --- a/public/project/floors/MT34.js +++ b/public/project/floors/MT34.js @@ -105,7 +105,21 @@ main.floors.MT34= [147,147,147,147,147,147,147,147,147,147,147,147,147,147,147] ], "bgmap": [ - + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [145,145,145,145,145,145,145,145,145,145,145, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], "fgmap": [ [584,584,584,584,584,584,584,584,584,584,584,584,584,584, 0], diff --git a/public/project/floors/MT35.js b/public/project/floors/MT35.js index e1423af..075ae77 100644 --- a/public/project/floors/MT35.js +++ b/public/project/floors/MT35.js @@ -208,19 +208,19 @@ main.floors.MT35= "bgmap": [ [70056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70058], [70056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70058], - [70064,70054,70054,70054,70054,70054,70112,70113,70114,70054,70054,70054,70054,70054,70066], - [ 0, 0, 0, 0, 0, 0,70073,70073,70073, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0,70073,70073,70073, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0,70073,70073,70073, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0,70073,70073,70073, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0,70081,70081,70081, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + [70064,70054,70054,70054,70054,70054,70112, 0,70114,70054,70054,70054,70054,70054,70066], + [ 0, 0, 0, 0, 0, 0,70073, 0,70073, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,70073, 0,70073, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,70073, 0,70073, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,70073, 0,70073, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,70081, 0,70081, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0, 0, 0, 0, 0] ], "fgmap": [ @@ -228,7 +228,7 @@ main.floors.MT35= "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,70112,70113,70114, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0,70120,70121,70122, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0,70120,70121,70122, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0,70120,70121,70122, 0, 0, 0, 0, 0, 0], diff --git a/public/project/floors/MT36.js b/public/project/floors/MT36.js index 95d332a..4cec21e 100644 --- a/public/project/floors/MT36.js +++ b/public/project/floors/MT36.js @@ -1,7 +1,7 @@ main.floors.MT36= { "floorId": "MT36", - "title": "冰封雪原", + "title": "冰封高原", "name": "冰封雪原", "width": 15, "height": 15, @@ -31,42 +31,111 @@ main.floors.MT36= "在本地图的右方,会看到一个棕色的线,这是由于抗锯齿出现的像素错误。这里关闭抗锯齿即可解决(默认是关闭的)。" ], "8,14": [ - "坚固怪受到光环加成后可能无法被打败,因为会首先计算坚固属性再计算光环" + "从本区域开始将会出现各种光环怪,这需要你认真思考解决办法", + "注意坚固怪受到光环加成后可能无法被打败,因为会首先计算坚固属性再计算光环", + "本区域的地图较为复杂,请善用楼传的小地图功能" ] }, - "changeFloor": {}, + "changeFloor": { + "0,8": { + "floorId": "MT37", + "loc": [ + 14, + 8 + ] + }, + "0,4": { + "floorId": "MT37", + "loc": [ + 14, + 4 + ] + }, + "14,3": { + "floorId": "MT38", + "loc": [ + 0, + 3 + ] + }, + "9,0": { + "floorId": "MT39", + "loc": [ + 9, + 14 + ] + } + }, "beforeBattle": {}, - "afterBattle": {}, + "afterBattle": { + "1,3": [ + { + "type": "setValue", + "name": "flag:door_MT36_2_4", + "operator": "+=", + "value": "1" + } + ], + "1,5": [ + { + "type": "setValue", + "name": "flag:door_MT36_2_4", + "operator": "+=", + "value": "1" + } + ] + }, "afterGetItem": {}, "afterOpenDoor": {}, - "autoEvent": {}, + "autoEvent": { + "2,4": { + "0": { + "condition": "flag:door_MT36_2_4==2", + "currentFloor": true, + "priority": 0, + "delayExecute": false, + "multiExecute": false, + "data": [ + { + "type": "openDoor" + }, + { + "type": "setValue", + "name": "flag:door_MT36_2_4", + "operator": "=", + "value": "null" + } + ] + } + } + }, "cannotMove": {}, "cannotMoveIn": {}, "map": [ - [ 0, 0, 0,604,604,604,604,604,604, 91,604, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,604, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70176,70177,70177,70177,70177], - [604, 0, 0, 0, 0, 0, 0, 0, 0, 0,70184,70185,70185,70185, 94], - [ 0, 0, 0, 0, 0, 0, 0,609, 0, 0,70208,70209,70209,70209,70209], - [604, 0, 0, 0, 0, 0,600, 0, 0, 0, 0, 0, 0, 0, 0], - [587, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [587, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [584,584,584,584,584,584,584,584,584,584,584, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,614, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [70056,613, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0,604,604,604,604,604, 91,604, 0,70086, 0, 0], + [ 0, 0, 0, 0,396,604, 0,595, 33, 0,604, 0, 0, 0, 0], + [ 0, 0, 0, 0,617,604,403,604, 0,604,70176,70177,70177,70177,70177], + [604,617,604,420, 0,376,482,492,378, 0,617,390,441,484, 94], + [ 92, 0, 85,468,592,604,604,492,604,274,70208,70209,70209,70209,70209], + [604,617,604,430,604, 0,602, 0,609, 27,403, 0, 0, 0, 0], + [587,403,396,482,600, 33,584,381,492, 33, 28, 0, 0, 0, 0], + [587,587,587,587,587, 0,584,376,586,274,586,586,586,484,378], + [ 92, 0, 34,381, 0,603,492,482, 28, 0,595, 34,494,390, 21], + [584,584,584,584,584,584,584,584,584,584,584, 0,586,614,586], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,590, 0, 27,482], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,604,492,604, 28], + [482,482,482,494, 34, 34,604,403,587,590, 0, 28, 34,604, 0], + [482,482,482,585, 34, 34,492, 0,609,482,585,585, 0,274, 0], [585,585,585,585,585,585,129, 0,129,585,585,585,585,585,585] ], "bgmap": [ - [70073,70073,70073,70056, 0, 0, 0, 0, 0, 0,70058,70086,70086,70086,70086], - [70073,70073,70073,70056, 0, 0, 0, 0, 0, 0,70058,70094,70094,70094,70094], - [70081,70081,70081,70056, 0, 0, 0, 0, 0, 0,70058,70102,70102,70102,70102], - [ 0, 0, 0,70056, 0, 0, 0, 0, 0, 0, 0,70110,70110,70110,70110], - [ 0, 0, 0,70056, 0, 0, 0, 0, 0, 0,70058,70118,70118,70118,70118], - [ 0, 0, 0,70056, 0, 0, 0, 0, 0, 0,70058,70067,70067,70067,70067], - [70049,70049,70049,70051, 0, 0, 0, 0, 0, 0,70058,70067,70067,70067,70067], + [70073,70073,70073,70073,70056, 0, 0, 0, 0, 0,70058,70086,70086,70086,70086], + [70073,70073,70073,70073,70056, 0, 0, 0, 0, 0,70058,70094,70094,70094,70094], + [70081,70081,70081,70081,70056, 0, 0, 0, 0, 0,70058,70102,70102,70102,70102], + [ 0, 0, 0, 0,70056, 0, 0, 0, 0, 0, 0,70110,70110,70110,70110], + [ 0, 0, 0, 0,70056, 0, 0, 0, 0, 0,70058,70118,70118,70118,70118], + [ 0, 0, 0, 0,70056, 0, 0, 0, 0, 0,70058,70067,70067,70067,70067], + [70049,70049,70049,70049,70051, 0, 0, 0, 0, 0,70058,70067,70067,70067,70067], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70052,70067,70067,70067,70067], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70058], [70065,70065,70065,70065,70065,70065,70065,70065,70065,70065,70065,70059, 0, 0,70058], diff --git a/public/project/floors/MT37.js b/public/project/floors/MT37.js index f7cbc4e..3b5cd76 100644 --- a/public/project/floors/MT37.js +++ b/public/project/floors/MT37.js @@ -1,45 +1,100 @@ main.floors.MT37= { -"floorId": "MT37", -"title": "冰封雪原", -"name": "冰封雪原", -"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], + "floorId": "MT37", + "title": "冰封高原", + "name": "冰封雪原", + "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": { + "14,8": { + "floorId": "MT36", + "loc": [ + 0, + 8 + ] + }, + "14,4": { + "floorId": "MT36", + "loc": [ + 0, + 4 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [147,147,147,147,147,147,147,147,147,147,147,147,147,147,70072], + [147, 0,147, 34, 0,147, 29, 0,274, 0,147,147,147,147,70072], + [147, 0,600, 0, 34,603, 0, 32, 0, 0,376, 33,381, 0,70080], + [147,378,147, 27,484,376,617,390, 0,494,484,378,603,604,604], + [147,482,147,602,378,441,70007, 0,484,586,376,403, 0, 0, 94], + [147,381,492, 0,604,494,70015,613,586,586,586,614, 32, 0,604], + [147, 0,595, 0, 33, 0,609,482,609,376, 0, 33,595, 21,587], + [147,147,147, 33,587,587,587,590,70022,70023,274,584, 0,587,587], + [147,420,494, 28, 0, 0, 33, 0,492, 0,378,584, 32, 0, 94], + [147, 33,147, 0,584,584,602,584,584,584,584,584,584,584,584], + [147,441,147,609, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [147, 22,608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [147, 33,147, 0, 27, 0,381, 0,590, 0, 33,585,482,390,585], + [147,430,147, 0,147,147,147,147,147,147, 0,600,403,482,585], + [147,147,147,147,147,147,147,147,147,147,585,585,585,585,585] +], + "bgmap": [ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0,147, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0,70048,70049,70049,70049,147,70049,70049,70050, 0, 0, 0], + [ 0, 0, 0, 0,70056, 0, 0, 0, 0, 0, 0,70058, 0, 0, 0], + [ 0, 0, 0, 0,70056, 0, 0, 0, 0, 0, 0,70058, 0, 0, 0], + [ 0, 0, 0, 0,70056, 0, 0, 0, 0, 0, 0,70052,70049,70049,70049], + [ 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,70112,70113,70114,70065,70065,70065,70065,70065,70065,70065], + [ 0, 0, 0, 0,70072,70073, 0,70073,70073,70073,70073,70073,70073,70073,70073], + [ 0, 0, 0, 0,70080,70081, 0,70081,70081,70081,70081,70081,70081,70081,70081], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], + "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, 17, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0,70049, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 17,70120,70121,70122, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 17,70120,70121,70122, 17, 17, 17, 17, 17, 17, 17], + [ 0, 0, 0, 0, 0,70128,70129,70130, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], + "fg2map": [ + +] } \ No newline at end of file diff --git a/public/project/floors/MT38.js b/public/project/floors/MT38.js index 61ed4db..2b63547 100644 --- a/public/project/floors/MT38.js +++ b/public/project/floors/MT38.js @@ -1,36 +1,94 @@ main.floors.MT38= { -"floorId": "MT38", -"title": "冰封雪原", -"name": "冰封雪原", -"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], + "floorId": "MT38", + "title": "冰封高原", + "name": "冰封雪原", + "width": 15, + "height": 15, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 8, + "defaultGround": "T580", + "bgm": "winter.mp3", + "firstArrive": [ + "\t[低级智人]\b[down,hero]奇怪,这里的山崖边竟然有护栏,难道这附近有其他人吗?" + ], + "eachArrive": [], + "parallelDo": "", + "events": {}, + "changeFloor": { + "0,3": { + "floorId": "MT36", + "loc": [ + 14, + 3 + ] + }, + "7,0": { + "floorId": "MT40", + "loc": [ + 7, + 14 + ] + }, + "14,3": { + "floorId": "snowTown", + "loc": [ + 0, + 18 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [ 0, 0, 0, 0, 0,604,604, 91,604,604, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,604,604,274,604,604, 0, 0, 0, 0, 0], + [70177,70177,70177,70177,70177,70178, 0,396, 0,70176,70177,70177,70177,70177,70177], + [ 92, 0,590,381, 34,595,390,614,403,600,376,403,482,378, 94], + [70209,70209,70209,70209,70209,70210, 0,491, 0,70208,70209,70209,70209,70209,70209], + [ 0, 0, 0, 0, 0,584,70187,617,70189,584, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,70187,376,70189, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,70187,378,70189, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,70187,403,70189, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,70187,484,70189, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,70187,608,70189, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,70195,491,70197, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,584,584,584, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], + "bgmap": [ + [70086,70086,70086,70086,70086,70056, 0, 0, 0,70058,70086,70086,70086,70086,70086], + [70094,70094,70094,70094,70094,70056, 0, 0, 0,70058,70094,70094,70094,70094,70094], + [70102,70102,70102,70102,70102,70056, 0, 0, 0,70058,70102,70102,70102,70102,70102], + [70110,70110,70110,70110,70110, 0, 0, 0, 0, 0,70110,70110,70110,70110,70110], + [70118,70118,70118,70118,70118,70056, 0, 0, 0,70058,70118,70118,70118,70118,70118], + [70067,70067,70067,70067,70067,70064,70065, 0,70065,70066,70067,70067,70067,70067,70067], + [70067,70067,70067,70067,70067,70069,70070,70070,70070,70071,70067,70067,70067,70067,70067], + [70067,70067,70067,70067,70067,70077,70078,70078,70078,70079,70067,70067,70067,70067,70067], + [70067,70067,70067,70067,70067,70085,70086,70086,70086,70087,70067,70067,70067,70067,70067], + [70067,70067,70067,70067,70067,70093,70094,70094,70094,70095,70067,70067,70067,70067,70067], + [70067,70067,70067,70067,70067,70101,70102,70102,70102,70103,70067,70067,70067,70067,70067], + [70067,70067,70067,70067,70067,70109,70102, 0,70102,70111,70067,70067,70067,70067,70067], + [70067,70067,70067,70067,70067,70117,70056, 0,70058,70119,70067,70067,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70064,70065,70066,70067,70067,70067,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70069,70070,70071,70067,70067,70067,70067,70067,70067] +], + "fgmap": [ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [70201,70201,70201,70201,70201,70202, 0, 0, 0,70200,70201,70201,70201,70201,70201], + [ 0, 0, 0, 0, 0, 0,70179, 0,70181, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], @@ -42,4 +100,24 @@ main.floors.MT38= [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], + "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], + [70185,70185,70185,70185,70185,70186, 0, 0, 0,70184,70185,70185,70185,70185,70185], + [70193,70193,70193,70193,70193,70194, 0, 0, 0,70192,70193,70193,70193,70193,70193], + [ 0, 0, 0, 0, 0, 0, 0,70188, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,70188, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,70188, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,70188, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,70188, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,70188, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,70048,70196,70050, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], + "fg2map": [ + +] } \ No newline at end of file diff --git a/public/project/floors/MT39.js b/public/project/floors/MT39.js index 475b108..efc88fe 100644 --- a/public/project/floors/MT39.js +++ b/public/project/floors/MT39.js @@ -1,45 +1,121 @@ main.floors.MT39= { -"floorId": "MT39", -"title": "冰封雪原", -"name": "冰封雪原", -"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], + "floorId": "MT39", + "title": "冰封高原", + "name": "冰封雪原", + "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": { + "9,14": { + "floorId": "MT36", + "loc": [ + 9, + 0 + ] + }, + "14,11": { + "floorId": "MT40", + "loc": [ + 0, + 11 + ] + }, + "14,6": { + "floorId": "MT40", + "loc": [ + 0, + 6 + ] + }, + "14,3": { + "floorId": "MT40", + "loc": [ + 0, + 3 + ] + }, + "13,10": { + "floorId": "MT41", + "loc": [ + 3, + 14 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [ 0, 0, 0, 0, 0,604,604, 91,604,604, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,472,604,487,604,472, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,613,466,608,467,614, 0, 0, 0, 0, 0], + [604, 21,390,403,482,584,584,584,584,584,600,403,396,482, 94], + [484,587, 34, 34,617, 0, 0, 0, 0, 0, 0,70022,70023,70022,70023], + [491,494, 34, 34, 33, 0, 0, 0, 0, 0, 33,376,482,600,604], + [587,587,492,584,378,403, 0,602,604, 0, 28,378,584, 0, 94], + [376,587, 0,584,378,70020,70021, 0,604,592,604,403,584, 34,604], + [482,595, 33,274,482, 34,587, 27,70007,376,484,584,584,584,584], + [584,584,492,584,584, 28,587,403,70015,586,595, 0, 0,70126, 0], + [70007, 21, 0,586,586, 0,609, 33, 0,274, 27, 0, 0,543, 0], + [70015, 0,403,603, 0,274,604,587,70022,70023,609, 0, 32, 0, 94], + [584,584,584,584,587,376,587, 0,590, 0, 0,584,584,584,584], + [ 0, 0, 0, 0,482,492, 0,381,604, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0,604,604,604,604,604, 93,604, 0, 0, 0, 0] +], + "bgmap": [ + [70073,70073,70073,70073,70073,70056, 0, 0, 0,70058,70073,70073,70073,70073,70073], + [70073,70073,70073,70073,70073,70056, 0, 0, 0,70058,70073,70073,70073,70073,70073], + [70081,70081,70081,70081,70081,70056, 0, 0, 0,70058,70081,70081,70081,70081,70081], + [304,304,304,304, 0,70064,70065,70065,70065,70066, 0, 0, 0, 0, 0], + [147,147,147,147,302,70072,70073,70073,70073,70074, 0, 0, 0, 0, 0], + [147,147,147,147,302,70080,70081,70081,70081,70082, 0,70048,70049,70049,70049], + [147,147,147,147,310, 0, 0, 0, 0, 0, 0,70056, 0, 0, 0], + [147,147,147,147,147,302, 0, 0, 0, 0, 0,70056, 0, 0, 0], + [147,147,147,147,147,302, 0, 0, 0, 0, 0,70064,70065,70065,70065], + [147,147,147,147,147, 0, 0, 0, 0, 0, 0,70072,70073,70073,70073], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70080,70081,70134,70081], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [70065,70065,70065,70065,70059, 0, 0, 0, 0, 0,70060,70065,70065,70065,70065], + [70073,70073,70073,70073,70056, 0, 0, 0, 0, 0,70058,70070,70070,70070,70070], + [70073,70073,70073,70073,70056, 0, 0, 0, 0, 0,70058,70078,70078,70078,70078] +], + "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], + [580,580,580,580,580,70064, 0, 0, 0,70066, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0,580, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0,580, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0,580,580, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,580, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,580, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0,70116, 0, 0,580, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [580,580,580,580,580,580, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], + "fg2map": [ + +] } \ No newline at end of file diff --git a/public/project/floors/MT40.js b/public/project/floors/MT40.js index 7344113..696860e 100644 --- a/public/project/floors/MT40.js +++ b/public/project/floors/MT40.js @@ -1,45 +1,135 @@ main.floors.MT40= { -"floorId": "MT40", -"title": "冰封雪原", -"name": "冰封雪原", -"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], + "floorId": "MT40", + "title": "冰封高原", + "name": "冰封雪原", + "width": 15, + "height": 15, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 8, + "defaultGround": "T580", + "bgm": "winter.mp3", + "firstArrive": null, + "eachArrive": [], + "parallelDo": "", + "events": {}, + "changeFloor": { + "0,3": { + "floorId": "MT39", + "loc": [ + 14, + 3 + ] + }, + "0,6": { + "floorId": "MT39", + "loc": [ + 14, + 6 + ] + }, + "0,11": { + "floorId": "MT39", + "loc": [ + 14, + 11 + ] + }, + "7,14": { + "floorId": "MT38", + "loc": [ + 7, + 0 + ] + }, + "14,10": { + "floorId": "snowTown", + "loc": [ + 0, + 10 + ] + }, + "14,4": { + "floorId": "snowTown", + "loc": [ + 0, + 4 + ] + }, + "2,1": { + "floorId": "MT41", + "loc": [ + 6, + 4 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [70074, 0,70126,584,584, 91,585,585, 91, 0, 0, 0, 0, 0, 0], + [70074, 0,543,403,274, 0, 33,381, 0, 0, 0, 0, 0, 0, 0], + [70108, 33, 0, 27,70007,585,585, 0,617, 32,381, 32,274, 0,604], + [ 92,614, 21, 34,70015,378,595, 0,604,604, 0,604, 33,604,604], + [604,604, 0,492, 0,586, 0,492, 0,70179,603,70181, 27, 28, 94], + [604, 34,602, 0, 27,586, 0, 34,584,70187,381,70189,584,584,584], + [ 92,403,584,590,70022,70023,604, 0, 0,70187,376,70189, 0, 0, 0], + [604, 34,584,381, 34,603, 0, 34, 0,70187,378,70189, 0, 0, 0], + [584,584,584,592,584,584,584,584, 0,70187,484,70189, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0,70195,600,70197,482,482,492], + [ 0, 0, 0,381, 0, 0, 0, 0,376,604, 0,584,584,584, 94], + [ 92, 0, 0,274, 27, 28,482,492, 0,484, 28, 0,602, 0,403], + [584,584,584,584,584,595,584,492,584,595,584,584,584,584,584], + [ 0, 0, 0, 0, 0,482,609, 0,609,482, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,604,604, 93,604,604, 0, 0, 0, 0, 0] +], + "bgmap": [ + [70073,70073,70073,70056, 0, 0, 0,70058, 0,70072,70073,70073,70073,70073,70073], + [70081,70081, 0,70056, 0, 0, 0,70058, 0,70080,70081,70081,70081,70081,70081], + [ 0, 0, 0,70056, 0, 0, 0,70058, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0,70056, 0, 0, 0,70058, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0,70056, 0, 0, 0,70058, 0, 0, 0, 0, 0, 0, 0], + [70049,70049,70049,70051, 0, 0, 0,70058,70065,70065, 0,70065,70065,70065,70065], + [ 0, 0, 0, 0, 0, 0, 0,70058,70070,70070,70070,70070,70070,70070,70070], + [ 0, 0, 0, 0, 0, 0, 0,70058,70078,70078,70078,70078,70078,70078,70078], + [70065,70065,70112,70113,70114,70065,70065,70066,70086,70086,70086,70086,70086,70086,70086], + [70073,70073,70073, 0,70073,70073,70073,70074,70049,70049, 0,70049,70049,70049,70049], + [70081,70081,70081, 0,70081,70081,70081,70082, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [70065,70065,70065,70065,70065,70059, 0, 0, 0,70060,70065,70065,70065,70065,70065], + [70070,70070,70070,70070,70070,70056, 0, 0, 0,70058,70070,70070,70070,70070,70070], + [70078,70078,70078,70078,70078,70056, 0, 0, 0,70058,70078,70078,70078,70078,70078] +], + "fgmap": [ + +], + "bg2map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0,70134, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70188, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70188, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70188, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70188, 0, 0, 0, 0], + [ 0, 0,70120,70121,70122,70097, 0, 0, 0, 0,70196, 0, 0, 0, 0], + [ 0,70105,70120,70121,70122, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0,70128,70129,70130, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], + "fg2map": [ + +] } \ No newline at end of file diff --git a/public/project/floors/MT41.js b/public/project/floors/MT41.js index a83742b..599656c 100644 --- a/public/project/floors/MT41.js +++ b/public/project/floors/MT41.js @@ -1,34 +1,138 @@ main.floors.MT41= { -"floorId": "MT41", -"title": "冰封雪原", -"name": "冰封雪原", -"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], + "floorId": "MT41", + "title": "冰封山洞", + "name": "冰封雪原", + "width": 15, + "height": 15, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 8, + "defaultGround": "T331", + "bgm": "winter.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": { + "2,13": [ + "怪物身后的水可以对话,对话后获得50000点生命值" + ], + "5,11": [ + "\t[初级智人]\b[up,hero]竟然有水!", + "\t[初级智人]\b[up,hero]这里这么冷,为什么会有水呢?", + { + "type": "animate", + "name": "emm", + "loc": "hero" + }, + "\t[初级智人]\b[up,hero]竟然是温水!", + { + "type": "animate", + "name": "emm", + "loc": "hero" + }, + "\t[初级智人]\b[up,hero]这是为什么呢?", + "\t[初级智人]\b[up,hero]之后应该会知道原因吧。", + "\t[初级智人]\b[up,hero]喝一口吧,已经很长时间没喝水了。", + { + "type": "playSound", + "name": "drink.mp3" + }, + { + "type": "sleep", + "time": 2000 + }, + { + "type": "animate", + "name": "amazed", + "loc": "hero" + }, + "\t[初级智人]\b[up,hero]这水果然不一样!", + "\t[初级智人]\b[up,hero]感觉喝过之后要比之前更加有活力了。", + "生命值增加50000", + { + "type": "setValue", + "name": "status:hp", + "operator": "+=", + "value": "50000" + }, + { + "type": "hide", + "remove": true + } + ], + "5,7": [ + "你竟然能发现这里?!", + "那我就送你回到标题界面吧!", + { + "type": "restart" + } + ] + }, + "changeFloor": { + "3,14": { + "floorId": "MT39", + "loc": [ + 13, + 10 + ] + }, + "6,4": { + "floorId": "MT40", + "loc": [ + 2, + 1 + ] + } + }, + "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, 34, 0,603,336, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0,540, 0, 0, 0,336, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0,336,602, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0,381, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0,603,336, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 17, 0, 0, 0, 34, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,381, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,617, 0, 0, 0,336,602, 0, 0, 0, 0], + [ 0, 0,129, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0,540, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], + "bgmap": [ + [20041,20041,20041,20041,20041,20044,20049,20049,20049,20049,20049,20043,20041,20041,20041], + [20041,20041,20041,20041,20041,20042,20057,20057,20057,20057,20057,20040,20041,20041,20041], + [20041,20041,20041,20041,20041,20042,20065,20065,20065,20065,20065,20040,20041,20041,20041], + [20041,20041,20041,20041,20041,20042, 0, 0, 0, 0, 0,20040,20041,20041,20041], + [20041,20041,20041,20041,20041,20042, 0,20032,20034, 0, 0,20040,20041,20041,20041], + [20041,20041,20041,20041,20041,20036,20033,20035,20042, 0, 0,20040,20041,20041,20041], + [20041,20041,20041,20041,20041,20041,20041,20041,20042, 0, 0,20040,20041,20041,20041], + [20041,20041,20041,20041,20044, 0,20043,20041,20042, 0, 0,20040,20041,20041,20041], + [20041,20041,20041,20041,20042, 0,20040,20041,20042, 0, 0,20040,20041,20041,20041], + [20041,20041,20041,20041,20042,142,20040,20041,20042, 0, 0,20040,20041,20041,20041], + [20044,20049,20049,20049,20050,142,20048,20049,20050, 0, 0,20040,20041,20041,20041], + [20042,20057,20057,20057,20058,142,20056,20057,20058, 0, 0,20040,20041,20041,20041], + [20042,20065,20065,20065,20074, 0,20064,20065,20074, 0, 0,20040,20041,20041,20041], + [20042, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,20040,20041,20041,20041], + [20036,20033,20034, 0,20032,20033,20033,20033,20033,20033,20033,20035,20041,20041,20041] +], + "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], @@ -36,10 +140,16 @@ main.floors.MT41= [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,20062, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,20070, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0,20078, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], + "fg2map": [ + +] } \ No newline at end of file diff --git a/public/project/floors/MT42.js b/public/project/floors/MT42.js index a9faf42..cc357cd 100644 --- a/public/project/floors/MT42.js +++ b/public/project/floors/MT42.js @@ -1,31 +1,31 @@ main.floors.MT42= { -"floorId": "MT42", -"title": "冰封雪原", -"name": "冰封雪原", -"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": [ + "floorId": "MT42", + "title": "冰封高原", + "name": "冰封雪原", + "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], @@ -42,4 +42,16 @@ main.floors.MT42= [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], + "bgmap": [ + +], + "fgmap": [ + +], + "bg2map": [ + +], + "fg2map": [ + +] } \ No newline at end of file diff --git a/public/project/floors/MT43.js b/public/project/floors/MT43.js index 819dee9..a14fe2d 100644 --- a/public/project/floors/MT43.js +++ b/public/project/floors/MT43.js @@ -1,31 +1,31 @@ main.floors.MT43= { -"floorId": "MT43", -"title": "冰封雪原", -"name": "冰封雪原", -"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": [ + "floorId": "MT43", + "title": "冰封高原", + "name": "冰封雪原", + "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], @@ -42,4 +42,16 @@ main.floors.MT43= [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], + "bgmap": [ + +], + "fgmap": [ + +], + "bg2map": [ + +], + "fg2map": [ + +] } \ No newline at end of file diff --git a/public/project/floors/MT44.js b/public/project/floors/MT44.js index 4d7b1c0..61014b9 100644 --- a/public/project/floors/MT44.js +++ b/public/project/floors/MT44.js @@ -1,31 +1,31 @@ main.floors.MT44= { -"floorId": "MT44", -"title": "冰封雪原", -"name": "冰封雪原", -"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": [ + "floorId": "MT44", + "title": "冰封高原", + "name": "冰封雪原", + "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], @@ -42,4 +42,16 @@ 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, 0, 0, 0, 0, 0, 0, 0] ], + "bgmap": [ + +], + "fgmap": [ + +], + "bg2map": [ + +], + "fg2map": [ + +] } \ No newline at end of file diff --git a/public/project/floors/MT45.js b/public/project/floors/MT45.js index 04a9a3a..1951f02 100644 --- a/public/project/floors/MT45.js +++ b/public/project/floors/MT45.js @@ -1,31 +1,31 @@ main.floors.MT45= { -"floorId": "MT45", -"title": "冰封雪原", -"name": "冰封雪原", -"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": [ + "floorId": "MT45", + "title": "冰封高原", + "name": "冰封雪原", + "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], @@ -42,4 +42,16 @@ main.floors.MT45= [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ], + "bgmap": [ + +], + "fgmap": [ + +], + "bg2map": [ + +], + "fg2map": [ + +] } \ No newline at end of file diff --git a/public/project/floors/MT46.js b/public/project/floors/MT46.js new file mode 100644 index 0000000..f55080e --- /dev/null +++ b/public/project/floors/MT46.js @@ -0,0 +1,45 @@ +main.floors.MT46= +{ +"floorId": "MT46", +"title": "冰封高原", +"name": "46", +"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] +], +} \ No newline at end of file diff --git a/public/project/floors/MT47.js b/public/project/floors/MT47.js new file mode 100644 index 0000000..37ee689 --- /dev/null +++ b/public/project/floors/MT47.js @@ -0,0 +1,45 @@ +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] +], +} \ No newline at end of file diff --git a/public/project/floors/MT48.js b/public/project/floors/MT48.js new file mode 100644 index 0000000..1f591c8 --- /dev/null +++ b/public/project/floors/MT48.js @@ -0,0 +1,45 @@ +main.floors.MT48= +{ +"floorId": "MT48", +"title": "冰封高原", +"name": "48", +"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] +], +} \ No newline at end of file diff --git a/public/project/floors/MT49.js b/public/project/floors/MT49.js new file mode 100644 index 0000000..365a05b --- /dev/null +++ b/public/project/floors/MT49.js @@ -0,0 +1,45 @@ +main.floors.MT49= +{ +"floorId": "MT49", +"title": "冰封高原", +"name": "49", +"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] +], +} \ No newline at end of file diff --git a/public/project/floors/MT50.js b/public/project/floors/MT50.js new file mode 100644 index 0000000..aabfa84 --- /dev/null +++ b/public/project/floors/MT50.js @@ -0,0 +1,45 @@ +main.floors.MT50= +{ +"floorId": "MT50", +"title": "冰封高原", +"name": "50", +"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] +], +} \ No newline at end of file diff --git a/public/project/floors/snowShop.js b/public/project/floors/snowShop.js new file mode 100644 index 0000000..d349a07 --- /dev/null +++ b/public/project/floors/snowShop.js @@ -0,0 +1,120 @@ +main.floors.snowShop= +{ + "floorId": "snowShop", + "title": "冰封小镇", + "name": "冰封雪原", + "width": 15, + "height": 15, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 8, + "defaultGround": "T640", + "bgm": "winterTown.mp3", + "firstArrive": [], + "eachArrive": [], + "parallelDo": "", + "events": { + "2,12": [ + "这里的装备理论上是需要全部购买的,因为这些装备之后都会有向上合成", + "而且,一共就只有三件装备(" + ], + "7,5": [ + "\t[商店老板,N636]\b[up,7,5]请随意挑选", + { + "type": "openShop", + "id": "snowShop", + "open": true + } + ] + }, + "changeFloor": { + "7,13": { + "floorId": "snowTown", + "loc": [ + 19, + 35 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [148,148,148,148,148,148,148,148,148,148,148,148,148,148,148], + [148,148,148,148,148,148,148,148,148,148,148,148,148,148,148], + [148,148, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,148,148], + [148,148, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,148,148], + [148,148, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,148,148], + [148,148,90145,90146,90146,90146,90146,90146,90146,90146,90146,90146,90147,148,148], + [148,148,90153,90154,90154,90154,90154,90154,90154,90154,90154,90154,90155,148,148], + [148,148, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,148,148], + [148,148, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,148,148], + [148,148, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,148,148], + [148,148, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,148,148], + [148,148, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,148,148], + [148,148,129, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,148,148], + [148,148,148,148,148,148,148,540,148,148,148,148,148,148,148], + [148,148,148,148,148,148,148,148,148,148,148,148,148,148,148] +], + "bgmap": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0,90016,90017,90017,90017,90017,90017,90017,90017,90017,90017,90018, 0, 0], + [ 0, 0,90024,90025,90025,90025,90025,90025,90025,90025,90025,90025,90026, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], + "fgmap": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0,90104, 0, 0, 0,90106, 0,90108,90109,90092,90093,90095, 0, 0], + [ 0, 0,90112, 0, 0, 0,90114, 0,90116,90117,90100,90101,90103, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], + "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,90038, 0, 0, 0, 0, 0,90038, 0, 0, 0, 0], + [ 0, 0, 0, 0,90046, 0, 0, 0, 0, 0,90046, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,636, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], + "fg2map": [ + +] +} \ No newline at end of file diff --git a/public/project/floors/snowTown.js b/public/project/floors/snowTown.js new file mode 100644 index 0000000..7a2454c --- /dev/null +++ b/public/project/floors/snowTown.js @@ -0,0 +1,319 @@ +main.floors.snowTown= +{ + "floorId": "snowTown", + "title": "冰封小镇", + "name": "冰封雪原", + "width": 45, + "height": 45, + "canFlyTo": true, + "canFlyFrom": true, + "canUseQuickShop": true, + "cannotViewMap": false, + "images": [], + "ratio": 8, + "defaultGround": "T580", + "bgm": "winterTown.mp3", + "firstArrive": null, + "eachArrive": [], + "parallelDo": "", + "events": { + "10,20": [ + { + "type": "animate", + "name": "amazed", + "loc": [ + 10, + 20 + ] + }, + "\t[小镇居民,youngMan]\b[up,10,20]嗯?不是怪物。", + "\t[小镇居民,youngMan]\b[up,10,20]请问你来这里干什么?", + "\t[低级智人]\b[up,hero](我最好还是不要透露我的目的吧)", + "\t[低级智人]\b[up,hero]最近我的家那边发生了一些事故,不能居住了。", + "\t[低级智人]\b[up,hero]然后我离开了那里,四处探险,发现了这里有个小镇。", + "\t[小镇居民,youngMan]\b[up,10,20](应该就是他了)", + "\t[小镇居民,youngMan]\b[up,10,20]欢迎你来到这里。", + "\t[小镇居民,youngMan]\b[up,10,20]我们小镇很欢迎外来人士。", + "\t[低级智人]\b[up,hero](这里竟然这么先进,比我那里先进了好多,感觉根本就不是同一时期的人)", + "\t[低级智人]\b[up,hero](而且居民也很热情)", + "\t[小镇居民,youngMan]\b[up,10,20]那么就请进吧。", + { + "type": "move", + "loc": [ + 10, + 20 + ], + "time": 250, + "keep": true, + "steps": [ + "down:1", + "left:1" + ] + } + ], + "9,21": [ + "\t[小镇居民,youngMan]\b[up,9,21]欢迎来到这里!" + ], + "18,35": [ + "商店" + ], + "9,19": [ + "↓ 冰封小镇\n← 冰封高原" + ], + "11,21": [ + "本小镇中只有商店有用,其余的房屋均没有用。" + ], + "13,24": [ + "\t[小镇居民,N632]\b[up,13,24]树上的雪好美啊", + "\t[小镇居民,N632]\b[up,13,24]虽然每年都能见到很多次,但是每次都感觉从来没见过", + "\t[小镇居民,N632]\b[up,13,24]这就是时间的力量啊" + ], + "8,26": [ + "一个看起来做的很不错的雪人" + ], + "7,18": [ + "\t[低级智人]\b[down,hero]这里竟然有个小镇", + "\t[低级智人]\b[down,hero]而且,看起来并不像这个时代的东西", + "\t[低级智人]\b[down,hero]这里的东西都很先进,难道又是智慧之神吗", + { + "type": "hide", + "remove": true + } + ], + "39,40": [ + "\t[小镇居民,npc0]\b[up,39,40]山顶的风景真是看不厌啊", + "\t[小镇居民,npc0]\b[up,39,40]真不希望会有人破坏这美好的大自然" + ], + "37,24": [ + "\t[低级智人]\b[up,hero]没必要进这里面" + ] + }, + "changeFloor": { + "0,10": { + "floorId": "MT40", + "loc": [ + 14, + 10 + ] + }, + "0,18": { + "floorId": "MT38", + "loc": [ + 14, + 3 + ] + }, + "0,4": { + "floorId": "MT40", + "loc": [ + 14, + 4 + ] + }, + "19,34": { + "floorId": "snowShop", + "loc": [ + 7, + 13 + ] + } + }, + "beforeBattle": {}, + "afterBattle": {}, + "afterGetItem": {}, + "afterOpenDoor": {}, + "autoEvent": {}, + "cannotMove": {}, + "cannotMoveIn": {}, + "map": [ + [ 0, 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0,70187, 91,70189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70187, 0,70189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [604,381,376, 33,609, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70195, 0,70197, 0, 0, 0,70160,70161,70162,70163, 0, 0, 0, 0, 0,80296,80297,80298,80299,80300, 0, 0, 0, 0, 0, 0, 0, 0], + [604,595,584,584,584,274,604,604, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70019,70168,70169,70170,70171, 0, 0, 0, 0, 0,80304,80305,80306,80307,80308, 0, 0, 0, 0, 0, 0, 0, 0], + [ 92, 0,492,484,584, 33,378,381, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80312,80313,80314,80315,80316, 0, 0, 0, 0, 0, 0, 0, 0], + [584,584,584,584,584,584,584,584, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70019, 0, 0, 0, 0,80320,80321,80325,80326,80327, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70014,80328,80329,80333,80334,80335, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,584,584,584,584,584,584,584,584,584, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80160,80161,80162,80163, 0, 0,70003,70003,70003, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [584,584, 0,376, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80168,80169,80170,80171, 0, 0, 0, 0, 0, 0,70179, 0, 0,70181, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 92,617,381,484, 0, 0, 0, 0, 0, 0, 0, 0, 0,584,584,584,584,584,584,584,584,584,584,584,70187, 0, 0,70189,584, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [584,584, 0,378, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70187, 0, 0,70189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [584,584,584,584, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70187, 0, 0,70189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70187, 0, 0,70189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70195, 0, 0,70197, 0, 0, 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, 0,381, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80241,80242, 0, 0,80256,80257,80258,80259,80260, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,482, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80249,80250, 0, 0,80264,80265,80266,80267,80268, 0, 0, 0, 0, 0, 0], + [70177,70177,70177,70177,70177,70177,70177,70178, 0,381, 0,378, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80272,80273,80274,80275,80276, 0, 0, 0, 0, 0, 0], + [ 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80280,80281,80282,80283,80284, 0, 0, 0, 0, 0, 0], + [70209,70209,70209,70209,70209,70209,70209,70210, 0,630, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,584,584,584,584,584,584, 0, 0, 0, 0, 0,80288,80289,80290,80291,80292,80241,80242, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,585,585,585,128,585,585,585, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,584, 0, 0, 0, 0, 0,80296,80297,80298,80299,80300,80249,80250, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,129, 0, 0,584,70152,70153,70154,70155, 0, 0, 0, 0, 0, 0, 0, 0, 0,584, 0, 0, 0, 0, 0,80304,80305,80306,80307,80308, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,584,70160,70161,70162,70163,70140,70141,70142,70143, 0,80160,80161,80162,80163,584,588, 0, 0, 0, 0,80312,80313,80314,80315,80316, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,584,70168,70169,70170,70171,70148,70149,70150,70151, 0,80168,80169,80170,80171,584, 0, 0, 0, 0,588,80320,80321,80325,80326,80327, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,634,584,80176,80177,80178, 0,70156,70157,70158,70159,584,584,584,584,584,584, 0, 0, 0, 0, 0,80328,80329,80333,80334,80335, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,584,80184,80185,80186, 0,70164,70165,70166,70167,584, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0,70014, 0, 0, 0, 0, 0,584,80192,80193,80194, 0,70172,70173,70174,70175,584, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80241,80242, 0,80337,80338,80339,80340,80341,80342,80343,584,584,584, 0, 0, 0, 0, 0, 0, 0, 0, 0,80217,80218, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80249,80250, 0,80345,80346,80347,80348,80349,80350,80351, 0, 0, 0, 0, 0, 0, 0,70017, 0, 0, 0, 0,80225,80226,70003,70003,70011, 0, 0,582, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0,80241,80242, 0, 0, 0, 0,80353,80354,80355,80356,80357,80358,80359, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80233,80234, 0, 0,70011, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0,80249,80250, 0, 0, 0, 0,80361,80362,80363,80364,80365,80366,80367, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,584,584,584,584,584,584, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80369,80370,80371,80372,80373,80374,80375, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70019, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80377,80378,80379,80380,80381,80382,80383, 0,70160,70161,70162,70163, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80176,80177,80178,80385,80386,80387,80388,80325,80326,80327, 0,70168,70169,70170,70171, 0, 0,70014, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70014, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80184,80185,80186,80393,80394,80395,80396,80333,80334,80335, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80192,80193,80194, 0, 0, 0, 0,129, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70176,70177,70177,70177,70177,70177,70177,70178, 0, 0,70019, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,80160,80161,80162,80163, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70019, 0, 0, 0, 0, 0, 0, 0,70208,70209,70209,70209,70209,70209,70209,70210, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,80168,80169,80170,80171, 0, 0, 0, 0, 0, 0, 0,70019, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,584,584,584,584,584,584,584,584,584,584,584,584,584,584,584,584,584,584,584,584,584,584,584,584, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,133, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,584,584,584,584,584, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], + "bgmap": [ + [70073,70073,70073,70073,70073,70073,70074,70058,70086,70086,70086,70086,70087,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067], + [70081,70081,70081,70081,70081,70081,70082,70058,70094,70094,70094,70094,70095,70067,70067,70067,70067,70067,145,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067,70067], + [ 0, 0, 0, 0, 0, 0, 0,70058,70102,70102,70102,70102,70103,70067,70067,70067,70049,70049,145,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70067,70067,70067,70067,70067,70067,70067,70067], + [ 0, 0, 0, 0, 0, 0, 0,70058,70110,70110,70110,70110,70111,70067,70067,70056, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70058,70067,70067,70067,70067,70067,70067,70067], + [ 0, 0, 0, 0, 0, 0, 0,70058,70118,70118,70118,70118,70119,70067,70067,70056, 0, 0,145,146,146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70058,70067,70067,70067,70067,70067,70067,70067], + [70065,70065,70065,70065,70065,70065,70065,70066,70067,70067,70067,70067,70067,70067,70049,70051, 0, 0,145,146,146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70058,70067,70067,70067,70067,70067,70067,70067], + [70070,70070,70070,70070,70070,70070,70070,70071,70067,70067,70067,70067,70067,70056, 0, 0, 0, 0,145,145,145,145,145,145,145,145,145,145,145,145,145, 0, 0, 0, 0, 0, 0,70058,70067,70067,70067,70067,70067,70067,70067], + [70078,70078,70078,70078,70078,70078,70078,70079,70067,70067,70067,70067,70067,70056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145,145, 0,70060,70065,70065,70065,70065,70065,70065,70065,70065,70066,70067,70067,70067,70067,70067,70067,70067], + [70086,70086,70086,70086,70086,70086,70086,70087,70067,70067,70067,70067,70067,70056, 0, 0, 0, 0, 0,146, 0, 0, 0, 0, 0,145,145, 0,70058,70070,70070,70070,70070,70070,70070,70070,70070,70071,70067,70067,70067,70067,70067,70067,70067], + [70094,70094,70094,70094,70094,70094,70094,70095,70067,70067,70067,70067,70067,70056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145,145, 0,70058,70078,70078,70078,70078,70078,70078,70078,70078,70079,70067,70067,70067,70067,70067,70067,70067], + [ 0, 0, 0,70058,70102,70102,70102,70103,70067,70067,70067,70067,70067,70064,70065,70065,70065,70065,70065,70065,70065,70065,70065,70065,70065,145,145,70065,70066,70086,70086,70086,70086,70086,70086,70086,70086,70087,70067,70067,70067,70067,70067,70067,70067], + [ 0, 0, 0,70058,70110,70110,70110,70111,70067,70067,70067,70067,70067,70069,70070,70070,70070,70070,70070,70070,70070,70070,70070,70070,70070,70070,70070,70070,70071,70094,70094,70094,70094,70094,70094,70094,70094,70095,70067,70067,70067,70067,70067,70067,70067], + [70065,70065,70065,70066,70118,70118,70118,70119,70067,70067,70067,70067,70067,70077,70078,70078,70078,70078,70078,70078,70078,70078,70078,70078,70078,70078,70078,70078,70079,70102,70102,70102,70102,70102,70102,70102,70102,70103,70067,70067,70067,70067,70067,70067,70067], + [70070,70070,70070,70071,70067,70067,70067,70067,70067,70067,70067,70067,70067,70085,70086,70086,70086,70086,70086,70086,70086,70086,70086,70086,70086,145,145,70086,70087,70110,70110,70110,70110,70110,70110,70110,70110,70111,70067,70067,70067,70067,70067,70067,70067], + [70078,70078,70078,70079,70067,70067,70067,70067,70067,70067,70067,70067,70067,70093,70094,70094,70094,70094,70094,70094,70094,70094,70094,70094,70049,145,145,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70049,70067,70067,70067,70067], + [70086,70086,70086,70087,70067,70067,70067,70056, 0, 0, 0, 0, 0,70058,70102,70102,70102,70102,70102,70102,70102,70102,70102,70056, 0,145,145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70058,70067,70067,70067], + [70094,70094,70094,70095,70067,70067,70067,70056, 0, 0, 0, 0, 0,70058,70110,70110,70110,70110,70110,70110,70110,70110,70110,70056, 0,145,145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70058,70067,70067,70067], + [70102,70102,70102,70103,70067,70067,70067,70056, 0, 0, 0, 0, 0,70058,70118,70118,70118,70118,70118,70118,70118,70118,70118,70056, 0,145,145,145,145,145,145,145, 0, 0, 0, 0, 0, 0, 0, 0, 0,70058,70067,70067,70067], + [70110,70110,70110,70111,70067,70067,70067, 0, 0, 0,145, 0, 0,70058,70067,70067,70067,70067,70067,70067,70067,70067,70067,70056, 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0,70058,70067,70067,70067], + [70118,70118,70118,70119,70067,70067,70067,70056, 0, 0,145, 0, 0,70058,70067,70067,70067,70067,70067,70067,70067,70067,70067,70056, 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0,145, 0, 0,70058,70067,70067,70067,70067,70067,70067,70067,70067,70067,70056, 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0,145, 0, 0,70052,70049,70049,70049,70049,70049,70049,70049,70049,70049,70051, 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0, 0, 0,145, 0, 0, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145,145,145,145,145,145,145,145,145,145,145,145,145,145, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145,146,146,146, 0, 0, 0, 0, 0, 0, 0, 0, 0,145, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145,146,146,146, 0, 0, 0, 0, 0, 0, 0, 0, 0,145, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145,146,146,146, 0, 0, 0, 0, 0, 0, 0, 0, 0,145, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0,70060,70065,70065,70065,70065,70065,70065,70059, 0,145, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0,70058,70070,70070,70070,70070,70070,70070,70056, 0,145, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0,70058,70078,70078,70078,70078,70078,70078,70056, 0,145, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0,70058,70086,70086,70086,70086,70086,70086,70056, 0,145, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0,70058,70094,70094,70094,70094,70094,70094,70056, 0,145, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0,145, 0, 0, 0, 0, 0, 0, 0, 0,145, 0, 0, 0, 0, 0, 0,145, 0, 0, 0,70058,70102,70102,70102,70102,70102,70102,70056, 0,145, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0,145,145,145,145,145,145,145,145,145,145,145,145,145,145,145,145,145,145,145,145,145,70110,70110,70110,70110,70110,70110,145,145,145, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70058,70118,70118,70118,70118,70118,70118,70056, 0,145, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70058,70067,70067,70067,70067,70067,70067,70056, 0,145, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70064,70065,70065,70065,70065,70065,70065,70065,70065,70065,70065,70065,70065,70065,70065,70065,70065,70065,70065,70065,70065,70065,70065,70066,70067,70067,70067,70067,70067,70067,70056, 0,145, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70069,70070,70070,70070,70070,70070,70070,70070,70070,70070,70070,70070,70070,70070,70070,70070,70070,70070,70070,70070,70070,70070,70070,70071,70067,70067,70067,70067,70067,70067,70056, 0, 0, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70077,70078,70078,70078,70078,70078,70078,70078,70078,70078,70078,70078,70078,70078,70078,70078,70078,70078,70078,70078,70078,70078,70078,70079,70067,70067,70067,70067,70067,70067,70056, 0, 0, 0,70058,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70085,70086,70086,70086,70086,70086,70086,70086,70086,70086,70086,70086,70086,70086,70086,70086,70086,70086,70086,70086,70086,70086,70086,70087,70067,70067,70067,70067,70067,70067,70064,70065,70065,70065,70066,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70093,70094,70094,70094,70094,70094,70094,70094,70094,70094,70094,70094,70094,70094,70094,70094,70094,70094,70094,70094,70094,70094,70094,70095,70067,70067,70067,70067,70067,70067,70069,70070,70070,70070,70071,70067,70067,70067], + [70067,70067,70067,70067,70067,70067,70067,70101,70102,70102,70102,70102,70102,70102,70102,70102,70102,70102,70102,70102,70102,70102,70102,70102,70102,70102,70102,70102,70102,70102,70103,70067,70067,70067,70067,70067,70067,70077,70078,70078,70078,70079,70067,70067,70067] +], + "fgmap": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70144,70145,70146,70147, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70152,70153,70154,70155, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80128,80129,80130, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80136,80137,80138,80139, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70006, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80144,80145,80146,80147, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80152,80153,80154,80155, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [70201,70201,70201,70201,70201,70201,70201,70202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80128,80129,80130, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80136,80137,80138,80139, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80144,80145,80146,80147, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80152,80153,80154,80155, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0,70006, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70136,70137,70138,70139, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70144,70145,70146,70147, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70152,70153,70154,70155, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70006, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70006, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,80128,80129,80130, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,80136,80137,80138,80139, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,80144,80145,80146,80147, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,80152,80153,80154,80155, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70200,70201,70201,70201,70201,70201,70201,70202, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], + "bg2map": [ + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80280,80281,80282,80283,80284, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80288,80289,80290,80291,80292, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70048, 0, 0,70196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70050, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70048, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,145, 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [70049,70049,70049,70050, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70180,70180, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70188,70188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70188,70188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70188,70188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70188,70188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0,70048,70049,70049,70049,70049,70049,70050, 0, 0, 0, 0, 0, 0, 0, 0, 0,70048, 0,70196,70196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70050, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [70185,70185,70185,70185,70185,70185,70185,70186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [70193,70193,70193,70193,70193,70193,70193,70194, 0, 0, 0, 0, 0, 0, 0,70136,70137,70138,70139, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70144,70145,70146,70147, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,582, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,584,584,584,584,584,584,584, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,582, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70184,70185,70185,70185,70185,70185,70185,70186, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,70192,70193,70193,70193,70193,70193,70193,70194, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,146,146,146, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,146,146,146, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,146,146,146, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] +], + "fg2map": [ + +] +} \ No newline at end of file diff --git a/public/project/functions.js b/public/project/functions.js index f3fef05..b352e8a 100644 --- a/public/project/functions.js +++ b/public/project/functions.js @@ -146,30 +146,6 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { // 设置勇士的位置 heroLoc.direction = core.turnDirection(heroLoc.direction); core.status.hero.loc = heroLoc; - // tower6 - // if (floorId == 'tower6') { - // core.relocateLoopMap(floorId, heroLoc); - // } - // 检查重生怪并重置 - if (!fromLoad) { - core.extractBlocks(floorId); - core.status.maps[floorId].blocks.forEach(function (block) { - if ( - block.disable && - core.enemys.hasSpecial(block.event.id, 23) - ) { - block.disable = false; - core.setMapBlockDisabled( - floorId, - block.x, - block.y, - false - ); - core.maps._updateMapArray(floorId, block.x, block.y); - } - }); - core.control.gatherFollowers(); - } // ---------- 重绘新地图;这一步将会设置core.status.floorId ---------- // core.drawMap(floorId); @@ -798,15 +774,6 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { mon_atk -= flags[`night_${floorId}`] ?? 0; mon_def -= flags[`night_${floorId}`] ?? 0; - if (flags.blade && flags.bladeOn) { - hero_atk *= 1 + core.getSkillLevel(2) / 10; - hero_def *= 1 - core.getSkillLevel(2) / 10; - } - if (flags.shield && flags.shieldOn) { - hero_atk *= 1 - core.getSkillLevel(10) / 10; - hero_def *= 1 + core.getSkillLevel(10) / 10; - } - // 坚固 if (core.hasSpecial(mon_special, 3) && mon_def < hero_atk - 1) { mon_def = hero_atk - 1; @@ -991,24 +958,11 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { ) { continue; } - toMap.push([ - dir, - Object.assign({}, status, { x: nx, y: ny }) - ]); + toMap.push(dir); } } else { // 指定了勇士坐标或者没有怪物坐标时 - toMap = [ - [ - 'none', - core.getHeroStatusOf( - hero, - ['atk', 'def'], - hero?.x, - hero?.y - ) - ] - ]; + toMap = ['none']; } function getDamage(h) { @@ -1020,7 +974,13 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { def: mon_def, special: mon_special } = enemyInfo; - let { atk: hero_atk, def: hero_def } = h; + let { atk: hero_atk, def: hero_def } = core.getHeroStatusOf( + hero, + ['atk', 'def'], + x, + y, + floorId + ); let hero_hp = core.getRealStatusOrDefault(hero, 'hp'), hero_IQ = core.getRealStatusOrDefault(hero, 'mdef'), @@ -1029,17 +989,6 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { let damage = 0; - // 断灭之刃技能 - if (core.getFlag('bladeOn') && core.getFlag('blade')) { - var level = core.getSkillLevel(2); - hero_atk *= 1 + 0.1 * level; - hero_def *= 1 - 0.1 * level; - } - if (flags.shield && flags.shieldOn) { - const level = core.getSkillLevel(10); - hero_def *= 1 + 0.1 * level; - hero_atk *= 1 - 0.1 * level; - } // 饥渴 if (core.hasSpecial(mon_special, 7)) { hero_atk *= 1 - (enemy.hungry || 0) / 100; @@ -1140,7 +1089,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { ['shieldOn', 'shield'] ]; - function autoSkillOf(h) { + function autoSkill(h) { damageInfo = getDamage(h); damage = damageInfo?.damage ?? Infinity; if (flags.autoSkill) { @@ -1169,15 +1118,13 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { let damage = Infinity; if (!flags.autoLocate) { - autoSkillOf(toMap[0][1]); + autoSkill(toMap[0][1]); return damageInfo; } if (toMap.length <= 1) { // 单个与多个分开计算,有助于提高性能表现 - const h = - toMap[0]?.[1] ?? core.getHeroStatusOf(hero, ['atk', 'def']); - autoSkillOf(h); + autoSkill(); if (damageInfo) { return Object.assign(damageInfo, { dir: [toMap[0]?.[0] ?? 'none', damage] @@ -1185,10 +1132,10 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = { } else return null; } else { const dirDamage = []; - for (const [dir, h] of toMap) { + for (const dir of toMap) { damage = Infinity; damageInfo = null; - autoSkillOf(h); + autoSkill(); dirDamage.push([dir, damage]); if (damage < dirMinDamage) { dirMinDamage = damage; diff --git a/public/project/icons.js b/public/project/icons.js index ac9e464..8943749 100644 --- a/public/project/icons.js +++ b/public/project/icons.js @@ -122,7 +122,11 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "T586": 62, "T587": 63, "T588": 64, - "T604": 65 + "T604": 65, + "T627": 66, + "T628": 67, + "T629": 68, + "T640": 69 }, "animates": { "star": 0, @@ -209,14 +213,32 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "N532": 32, "N533": 33, "N534": 34, - "N535": 35 + "N535": 35, + "N619": 36, + "N620": 37, + "N621": 38, + "N622": 39, + "N623": 40, + "N624": 41, + "N625": 42, + "N626": 43 }, "npc48": { "npc0": 0, "npc1": 1, "npc2": 2, "npc3": 3, - "N367": 4 + "N367": 4, + "N630": 5, + "N631": 6, + "N632": 7, + "N633": 8, + "N634": 9, + "N635": 10, + "N636": 11, + "N637": 12, + "N638": 13, + "N639": 14 }, "enemys": { "greenSlime": 0, @@ -377,7 +399,11 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "E611": 155, "E612": 156, "E613": 157, - "E614": 158 + "E614": 158, + "E615": 159, + "E616": 160, + "E617": 161, + "E618": 162 }, "enemy48": { "angel": 0, @@ -571,7 +597,8 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "I565": 98, "I574": 99, "I575": 100, - "I589": 101 + "I589": 101, + "I641": 102 }, "autotile": { "autotile": 0, @@ -584,6 +611,7 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 = "autotile7": 0, "autotile8": 0, "autotile9": 0, - "autotile10": 0 + "autotile10": 0, + "autotile11": 0 } } \ No newline at end of file diff --git a/public/project/items.js b/public/project/items.js index 2535ed8..ceb4d8d 100644 --- a/public/project/items.js +++ b/public/project/items.js @@ -161,14 +161,16 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = }, "sword2": { "cls": "items", - "name": "银剑", - "text": "一把很普通的银剑", + "name": "铁剑", + "text": "真的是一把很普通的银剑,哦不,铁剑", "equip": { "type": 0, "animate": "sword", "value": { - "atk": 20 - } + "mana": 50, + "atk": 180 + }, + "percentage": {} }, "itemEffect": "core.status.hero.atk += 20", "itemEffectTip": ",攻击+20" @@ -246,11 +248,14 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "shield2": { "cls": "items", "name": "银盾", - "text": "一个很普通的银盾", + "text": "一个真的很普通的铁盾,这次没错了,就是铁盾!", "equip": { "type": 1, "value": { - "def": 20 + "def": 120 + }, + "percentage": { + "hpmax": 30 } }, "itemEffect": "core.status.hero.def += 20", @@ -1339,5 +1344,19 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = }, "percentage": {} } + }, + "I641": { + "cls": "equips", + "name": "寒冰护符", + "canUseItemEffect": "true", + "text": "与寒冰没有任何关系,但是为什么叫寒冰护符呢?攻击和额外攻击各增加5%", + "equip": { + "type": 0, + "value": {}, + "percentage": { + "atk": 5, + "mana": 5 + } + } } } \ No newline at end of file diff --git a/public/project/maps.js b/public/project/maps.js index af03f38..593e05e 100644 --- a/public/project/maps.js +++ b/public/project/maps.js @@ -118,6 +118,7 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "145": {"cls":"autotile","id":"autotile8"}, "146": {"cls":"autotile","id":"autotile9","canPass":true}, "147": {"cls":"autotile","id":"autotile10"}, + "148": {"cls":"autotile","id":"autotile11"}, "151": {"cls":"autotile","id":"autotile1"}, "152": {"cls":"autotile","id":"autotile2"}, "153": {"cls":"autotile","id":"autotile3"}, @@ -542,11 +543,47 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "612": {"cls":"enemys","id":"E612"}, "613": {"cls":"enemys","id":"E613"}, "614": {"cls":"enemys","id":"E614"}, + "615": {"cls":"enemys","id":"E615"}, + "616": {"cls":"enemys","id":"E616"}, + "617": {"cls":"enemys","id":"E617"}, + "618": {"cls":"enemys","id":"E618"}, + "619": {"cls":"npcs","id":"N619"}, + "620": {"cls":"npcs","id":"N620"}, + "621": {"cls":"npcs","id":"N621"}, + "622": {"cls":"npcs","id":"N622"}, + "623": {"cls":"npcs","id":"N623"}, + "624": {"cls":"npcs","id":"N624"}, + "625": {"cls":"npcs","id":"N625"}, + "626": {"cls":"npcs","id":"N626"}, + "627": {"cls":"terrains","id":"T627"}, + "628": {"cls":"terrains","id":"T628"}, + "629": {"cls":"terrains","id":"T629"}, + "630": {"cls":"npc48","id":"N630"}, + "631": {"cls":"npc48","id":"N631"}, + "632": {"cls":"npc48","id":"N632","animate":1}, + "633": {"cls":"npc48","id":"N633"}, + "634": {"cls":"npc48","id":"N634","animate":1}, + "635": {"cls":"npc48","id":"N635"}, + "636": {"cls":"npc48","id":"N636","animate":1}, + "637": {"cls":"npc48","id":"N637"}, + "638": {"cls":"npc48","id":"N638"}, + "639": {"cls":"npc48","id":"N639"}, + "640": {"cls":"terrains","id":"T640","canPass":true}, + "641": {"cls":"items","id":"I641"}, + "20032": {"cls":"tileset","id":"X20032","cannotOut":["up","left"],"cannotIn":["up","left"]}, + "20033": {"cls":"tileset","id":"X20033","cannotOut":["up"],"cannotIn":["up"]}, + "20034": {"cls":"tileset","id":"X20034","cannotOut":["up","right"],"cannotIn":["up","right"]}, "20037": {"cls":"tileset","id":"X20037","cannotOut":["up","left"],"cannotIn":["up","left"]}, "20038": {"cls":"tileset","id":"X20038","cannotOut":["up"],"cannotIn":["up"]}, "20039": {"cls":"tileset","id":"X20039","cannotOut":["up","right"],"cannotIn":["up","right"]}, + "20040": {"cls":"tileset","id":"X20040","cannotIn":["left"],"cannotOut":["left"]}, + "20041": {"cls":"tileset","id":"X20041","cannotOut":[],"cannotIn":["up","down","left","right"]}, + "20042": {"cls":"tileset","id":"X20042","cannotIn":["right"],"cannotOut":["right"]}, "20045": {"cls":"tileset","id":"X20045","cannotOut":["left"],"cannotIn":["left"]}, "20047": {"cls":"tileset","id":"X20047","cannotOut":["right"],"cannotIn":["right"]}, + "20048": {"cls":"tileset","id":"X20048","cannotOut":["down","left"],"cannotIn":["down","left"]}, + "20049": {"cls":"tileset","id":"X20049","cannotIn":["down"],"cannotOut":["down"]}, + "20050": {"cls":"tileset","id":"X20050","cannotOut":["down","right"],"cannotIn":["down","right"]}, "20053": {"cls":"tileset","id":"X20053","cannotOut":["down","left"],"cannotIn":["down","left"],"canPass":false}, "20054": {"cls":"tileset","id":"X20054","cannotOut":["down"],"cannotIn":["down"],"canPass":false}, "20055": {"cls":"tileset","id":"X20055","cannotOut":["down","right"],"cannotIn":["down","right"]}, @@ -573,24 +610,35 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = "30121": {"cls":"tileset","id":"X30121","canPass":true}, "30196": {"cls":"tileset","id":"X30196","canPass":true}, "30204": {"cls":"tileset","id":"X30204","canPass":true}, + "70019": {"cls":"tileset","id":"X70019","canPass":true}, "70048": {"cls":"tileset","id":"X70048","cannotOut":["up","left"],"cannotIn":["up","left"]}, "70049": {"cls":"tileset","id":"X70049","cannotOut":["up"],"cannotIn":["up"]}, "70050": {"cls":"tileset","id":"X70050","cannotOut":["up","right"],"cannotIn":["up","right"]}, "70056": {"cls":"tileset","id":"X70056","cannotOut":["left"],"cannotIn":["left"]}, "70058": {"cls":"tileset","id":"X70058","cannotOut":["right"],"cannotIn":["right"]}, - "70064": {"cls":"tileset","id":"X70064","cannotOut":["down","left"],"cannotIn":["down","left"]}, + "70064": {"cls":"tileset","id":"X70064","cannotOut":["down","left"],"cannotIn":["up","down","left","right"]}, "70065": {"cls":"tileset","id":"X70065","cannotIn":["up","down","left","right"],"cannotOut":["up","down","left","right"]}, - "70066": {"cls":"tileset","id":"X70066","cannotOut":["down","right"],"cannotIn":["down","right"]}, + "70066": {"cls":"tileset","id":"X70066","cannotOut":["down","right"],"cannotIn":["up","down","left","right"]}, + "70072": {"cls":"tileset","id":"X70072","cannotIn":["up","down","left","right"]}, + "70073": {"cls":"tileset","id":"X70073","cannotIn":["up","down","left","right"]}, + "70074": {"cls":"tileset","id":"X70074","cannotIn":["up","down","left","right"]}, + "70080": {"cls":"tileset","id":"X70080","cannotOut":[],"cannotIn":["up","down","left","right"]}, + "70081": {"cls":"tileset","id":"X70081","cannotIn":["up","down","left","right"]}, + "70082": {"cls":"tileset","id":"X70082","cannotIn":["up","down","left","right"]}, "70112": {"cls":"tileset","id":"X70112","cannotIn":["down"],"cannotOut":["down"]}, "70114": {"cls":"tileset","id":"X70114","cannotIn":["down"],"cannotOut":["down"]}, + "70116": {"cls":"tileset","id":"X70116","canPass":true}, "70120": {"cls":"tileset","id":"X70120","cannotIn":["up","down","left","right"]}, "70122": {"cls":"tileset","id":"X70122","cannotIn":["up","down","left","right"]}, - "70128": {"cls":"tileset","id":"X70128","cannotIn":["up","down","left","right"]}, - "70130": {"cls":"tileset","id":"X70130","cannotIn":["up","down","left","right"]}, + "70128": {"cls":"tileset","id":"X70128","cannotIn":[]}, + "70130": {"cls":"tileset","id":"X70130","cannotIn":[]}, "70184": {"cls":"tileset","id":"X70184","canPass":true}, "70185": {"cls":"tileset","id":"X70185","canPass":true}, "70186": {"cls":"tileset","id":"X70186","canPass":true}, "70200": {"cls":"tileset","id":"X70200","canPass":true}, "70201": {"cls":"tileset","id":"X70201","canPass":true}, - "70202": {"cls":"tileset","id":"X70202","canPass":true} + "70202": {"cls":"tileset","id":"X70202","canPass":true}, + "90153": {"cls":"tileset","id":"X90153","canPass":true}, + "90154": {"cls":"tileset","id":"X90154","canPass":true}, + "90155": {"cls":"tileset","id":"X90155","canPass":true} } \ No newline at end of file diff --git a/public/project/materials/enemys.png b/public/project/materials/enemys.png index f96992f..4a8452e 100644 Binary files a/public/project/materials/enemys.png and b/public/project/materials/enemys.png differ diff --git a/public/project/materials/items.png b/public/project/materials/items.png index 88f43e1..ae61e62 100644 Binary files a/public/project/materials/items.png and b/public/project/materials/items.png differ diff --git a/public/project/materials/npc48.png b/public/project/materials/npc48.png index 97aea5b..5f607de 100644 Binary files a/public/project/materials/npc48.png and b/public/project/materials/npc48.png differ diff --git a/public/project/materials/npcs.png b/public/project/materials/npcs.png index 4d58a75..bfb360b 100644 Binary files a/public/project/materials/npcs.png and b/public/project/materials/npcs.png differ diff --git a/public/project/materials/terrains.png b/public/project/materials/terrains.png index b00c8f3..8907dea 100644 Binary files a/public/project/materials/terrains.png and b/public/project/materials/terrains.png differ diff --git a/public/project/plugins.js b/public/project/plugins.js index 88448b5..62edd0f 100644 --- a/public/project/plugins.js +++ b/public/project/plugins.js @@ -888,37 +888,30 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { // Step 1: 背景和固定的几个文字 core.ui._createUIEvent(); - core.clearMap('uievent'); + core.clearMap('ui'); core.ui.clearUIEventSelector(); - core.setTextAlign('uievent', 'left'); - core.setTextBaseline('uievent', 'top'); - core.fillRect('uievent', 0, 0, 480, 480, 'black'); - core.drawWindowSkin('winskin.png', 'uievent', 0, 0, 480, 64); - core.drawWindowSkin('winskin.png', 'uievent', 0, 64, 360, 64); - core.drawWindowSkin('winskin.png', 'uievent', 0, 128, 360, 352); - core.drawWindowSkin('winskin.png', 'uievent', 360, 64, 120, 64); - core.drawWindowSkin('winskin.png', 'uievent', 360, 128, 120, 352); - core.setFillStyle('uievent', 'white'); - core.setStrokeStyle('uievent', 'white'); - core.fillText('uievent', '购买', 32, 84, 'white', bigFont); - core.fillText('uievent', '卖出', 152, 84); - core.fillText('uievent', '离开', 272, 84); + core.setTextAlign('ui', 'left'); + core.setTextBaseline('ui', 'top'); + core.fillRect('ui', 0, 0, 480, 480, 'black'); + core.drawWindowSkin('winskin.png', 'ui', 0, 0, 480, 64); + core.drawWindowSkin('winskin.png', 'ui', 0, 64, 360, 64); + core.drawWindowSkin('winskin.png', 'ui', 0, 128, 360, 352); + core.drawWindowSkin('winskin.png', 'ui', 360, 64, 120, 64); + core.drawWindowSkin('winskin.png', 'ui', 360, 128, 120, 352); + core.setFillStyle('ui', 'white'); + core.setStrokeStyle('ui', 'white'); + core.fillText('ui', '购买', 32, 84, 'white', bigFont); + core.fillText('ui', '卖出', 152, 84); + core.fillText('ui', '离开', 272, 84); + core.fillText('ui', '当前' + useText, 374, 75, null, middleFont); + core.setTextAlign('ui', 'right'); core.fillText( - 'uievent', - '当前' + useText, - 374, - 75, - null, - middleFont - ); - core.setTextAlign('uievent', 'right'); - core.fillText( - 'uievent', + 'ui', core.formatBigNumber(core.status.hero.money), 466, 100 ); - core.setTextAlign('uievent', 'left'); + core.setTextAlign('ui', 'left'); core.ui.drawUIEventSelector( 1, 'winskin.png', @@ -928,22 +921,17 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { 33 ); if (selectItem != null) { - core.setTextAlign('uievent', 'center'); + core.setTextAlign('ui', 'center'); core.fillText( - 'uievent', + 'ui', type == 0 ? '买入个数' : '卖出个数', 420, 360, null, bigFont ); - core.fillText( - 'uievent', - '< ' + selectCount + ' >', - 420, - 390 - ); - core.fillText('uievent', '确定', 420, 420); + core.fillText('ui', '< ' + selectCount + ' >', 420, 390); + core.fillText('ui', '确定', 420, 420); } // Step 2:获得列表并展示 @@ -965,21 +953,20 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { // 绘制分页 if (totalPage > 1) { var half = 180; - core.setTextAlign('uievent', 'center'); + core.setTextAlign('ui', 'center'); core.fillText( - 'uievent', + 'ui', page + ' / ' + totalPage, half, 450, null, middleFont ); - if (page > 1) - core.fillText('uievent', '上一页', half - 80, 450); + if (page > 1) core.fillText('ui', '上一页', half - 80, 450); if (page < totalPage) - core.fillText('uievent', '下一页', half + 80, 450); + core.fillText('ui', '下一页', half + 80, 450); } - core.setTextAlign('uievent', 'left'); + core.setTextAlign('ui', 'left'); // 绘制每一项 var start = (page - 1) * per_page; @@ -987,19 +974,19 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { var curr = start + i; if (curr >= list.length) break; var item = list[curr]; - core.drawIcon('uievent', item.id, 10, 141 + i * 40); - core.setTextAlign('uievent', 'left'); + core.drawIcon('ui', item.id, 10, 141 + i * 40); + core.setTextAlign('ui', 'left'); core.fillText( - 'uievent', + 'ui', core.material.items[item.id].name, 50, 148 + i * 40, null, bigFont ); - core.setTextAlign('uievent', 'right'); + core.setTextAlign('ui', 'right'); core.fillText( - 'uievent', + 'ui', (type == 0 ? core.calValue(item.money) : core.calValue(item.sell)) + @@ -1010,7 +997,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { null, middleFont ); - core.setTextAlign('uievent', 'left'); + core.setTextAlign('ui', 'left'); if (curr == selectItem) { // 绘制描述,文字自动放缩 var text = @@ -1027,7 +1014,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { var height = core.getTextContentHeight(text, config); if (height <= 60) { config.top = (64 - height) / 2; - core.drawTextContent('uievent', text, config); + core.drawTextContent('ui', text, config); break; } } @@ -1040,17 +1027,10 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { 40 ); if (type == 0 && item.number != null) { + core.fillText('ui', '存货', 370, 152, null, bigFont); + core.setTextAlign('ui', 'right'); core.fillText( - 'uievent', - '存货', - 370, - 152, - null, - bigFont - ); - core.setTextAlign('uievent', 'right'); - core.fillText( - 'uievent', + 'ui', item.number, 470, 152, @@ -1059,17 +1039,10 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { 60 ); } else if (type == 1) { + core.fillText('ui', '数量', 370, 152, null, bigFont); + core.setTextAlign('ui', 'right'); core.fillText( - 'uievent', - '数量', - 370, - 152, - null, - bigFont - ); - core.setTextAlign('uievent', 'right'); - core.fillText( - 'uievent', + 'ui', core.itemCount(item.id), 470, 152, @@ -1078,31 +1051,31 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { 40 ); } - core.setTextAlign('uievent', 'left'); - core.fillText('uievent', '预计' + useText, 370, 280); - core.setTextAlign('uievent', 'right'); + core.setTextAlign('ui', 'left'); + core.fillText('ui', '预计' + useText, 370, 280); + core.setTextAlign('ui', 'right'); totalMoney = selectCount * (type == 0 ? core.calValue(item.money) : core.calValue(item.sell)); core.fillText( - 'uievent', + 'ui', core.formatBigNumber(totalMoney), 470, 310 ); - core.setTextAlign('uievent', 'left'); + core.setTextAlign('ui', 'left'); core.fillText( - 'uievent', + 'ui', type == 0 ? '已购次数' : '已卖次数', 370, 190 ); - core.setTextAlign('uievent', 'right'); + core.setTextAlign('ui', 'right'); core.fillText( - 'uievent', + 'ui', (type == 0 ? item.money_count : item.sell_count) || 0, 470, 220 @@ -1110,8 +1083,8 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { } } - core.setTextAlign('uievent', 'left'); - core.setTextBaseline('uievent', 'alphabetic'); + core.setTextAlign('ui', 'left'); + core.setTextBaseline('ui', 'alphabetic'); }; var _add = (item, delta) => { @@ -1313,7 +1286,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { { type: 'function', function: - "() => { core.deleteCanvas('uievent'); core.ui.clearUIEventSelector(); }" + "() => { core.deleteCanvas('ui'); core.ui.clearUIEventSelector(); }" } ]); }; @@ -1429,6 +1402,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { } }; core.status.hero = new Proxy(hero, handler); + core.status.maps[floorId].blocks.forEach(function (block) { if ( block.event.cls !== 'items' || @@ -1487,6 +1461,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { if (typeof diff[name] === 'number') content = core.formatBigNumber(diff[name], true); + else content = diff[name]; switch (name) { case 'atk': case 'atkper': @@ -1511,7 +1486,6 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { color = '#c66'; break; } - content = diff[name]; // 绘制 core.status.damage.data.push({ text: content, @@ -1543,7 +1517,8 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { ] }; - const jumpIgnoreFloor = ['MT31']; + /** @type {FloorIds[]} */ + const jumpIgnoreFloor = ['MT31', 'snowTown']; // 跳跃 this.jumpSkill = function () { if (core.status.floorId.startsWith('tower')) @@ -1564,9 +1539,9 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { ) { if ( !( - core.status.hero.loc.x == 77 && - core.status.hero.loc.y == 5 && - core.status.hero.loc.direction == 'right' + core.status.hero.loc.x === 77 && + core.status.hero.loc.y === 5 && + core.status.hero.loc.direction === 'right' ) ) { return core.drawTip('该地图还有一个必跳的地方,你还没有跳'); @@ -3783,7 +3758,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { } ui.prototype.drawBook = function () { - if (!main.replayChecking) + if (!core.isReplaying()) return (core.plugin.bookOpened.value = true); }; @@ -4678,6 +4653,26 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = { s += window.flags?.[`night_${floorId}`] ?? 0; } + // 技能 + if (flags.bladeOn && flags.blade) { + const level = core.getSkillLevel(2); + if (name === 'atk') { + s *= 1 + 0.1 * level; + } + if (name === 'def') { + s *= 1 - 0.1 * level; + } + } + if (flags.shield && flags.shieldOn) { + const level = core.getSkillLevel(10); + if (name === 'atk') { + s *= 1 - 0.1 * level; + } + if (name === 'def') { + s *= 1 + 0.1 * level; + } + } + // buff if (typeof s === 'number') s *= core.getBuff(name); diff --git a/public/project/sounds/drink.mp3 b/public/project/sounds/drink.mp3 new file mode 100644 index 0000000..5ea498d Binary files /dev/null and b/public/project/sounds/drink.mp3 differ diff --git a/public/project/tilesets/room.png b/public/project/tilesets/room.png new file mode 100644 index 0000000..5daaedf Binary files /dev/null and b/public/project/tilesets/room.png differ diff --git a/public/project/tilesets/snowTown.png b/public/project/tilesets/snowTown.png new file mode 100644 index 0000000..8099339 Binary files /dev/null and b/public/project/tilesets/snowTown.png differ diff --git a/public/server.cjs b/public/server.cjs index 0d9f254..b4dee5f 100644 --- a/public/server.cjs +++ b/public/server.cjs @@ -305,7 +305,7 @@ async function watch() { // 需要重新加载的文件 const refresh = await extract('main.js', 'index.html', 'libs/'); const option = { - interval: 50 + interval: 500 }; refresh.forEach(v => { const dir = path.resolve(__dirname, v); @@ -378,7 +378,7 @@ function watchOneFloor(file) { if (!/.*\.js/.test(file)) return; const f = file.slice(0, -3); listenedFloors.push(file.slice(0, -3)); - fss.watchFile(`project/floors/${file}`, { interval: 100 }, () => { + fss.watchFile(`project/floors/${file}`, { interval: 500 }, () => { const floorId = f; if (hotReloadData.includes(`@@floor:${floorId}`)) return; hotReloadData += `@@floor:${floorId}`; diff --git a/src/data/desc.json b/src/data/desc.json index 4515b83..0fb5cce 100644 --- a/src/data/desc.json +++ b/src/data/desc.json @@ -373,7 +373,8 @@ "
", "
", "对于电脑端,最右侧是当前选中的地图的缩略图,手机则在下方,点击缩略图也可以传送。缩略图的下方是当前选中的地图名,", - "左右各有两个按钮,表示后退10层、后退1层、前进1层、前进10层,与样板的楼传的按钮功能类似。", + "左右各有两个按钮,表示后退10层、后退1层、前进1层、前进10层,与样板的楼传的按钮功能类似,对于小地图无法显示的单层,", + "可以使用该功能到达。", "
", "
", "最下方是设置按钮,可以切换无边框模式,电脑端还可以切换传统按键模式,传统按键模式下按键遵循样板的楼传按键方式。", diff --git a/src/plugin/ui/fly.ts b/src/plugin/ui/fly.ts index a2049c8..c25581e 100644 --- a/src/plugin/ui/fly.ts +++ b/src/plugin/ui/fly.ts @@ -204,67 +204,3 @@ export function getMapData( return (bfsCache[floorId] = res); } - -/** - * 绘制小地图 - * @param ctx 画布 - * @param floorId 中心楼层 - * @param interval 楼层间距 - * @param border 边框粗细 - * @param noCache 是否不使用缓存 - */ -export function drawFlyMap( - ctx: CanvasRenderingContext2D, - floorId: FloorIds, - offset: [number, number], - size: [number, number], - scale: number = 3, - interval: number = 5, - border: number = 1, - noCache: boolean = false -) { - const data = getMapDrawData(floorId, interval, border, noCache); - const [ox, oy] = offset; - const [width, height] = size; - const canvas = ctx.canvas; - canvas.width = data.width * devicePixelRatio * scale; - canvas.height = data.height * devicePixelRatio * scale; - ctx.lineWidth = border * devicePixelRatio * scale; - ctx.strokeStyle = '#fff'; - ctx.scale(scale, scale); - // 绘制连线 - data.line.forEach(([x1, y1, x2, y2]) => { - ctx.beginPath(); - ctx.moveTo(x1, y1); - ctx.lineTo(x2, y2); - ctx.stroke(); - }); - for (const [id, [x, y]] of Object.entries(data.locs) as [ - FloorIds, - LocArr - ][]) { - drawThumbnail(ctx, id, scale, [x, y], offset, size); - } -} - -function drawThumbnail( - ctx: CanvasRenderingContext2D, - floorId: FloorIds, - scale: number, - pos: [number, number], - offset: [number, number], - size: [number, number] -) { - const [x, y] = pos; - const [ox, oy] = offset; - const [width, height] = size; - const map = core.status.maps[floorId]; - if ( - ox + x * scale + (map.width * scale) / 2 < 0 || - ox + x * scale - (map.width * scale) / 2 > width || - oy + y * scale + (map.height * scale) / 2 < 0 || - oy + y * scale - (map.height * scale) / 2 > height - ) { - return; - } -} diff --git a/src/plugin/uiController.ts b/src/plugin/uiController.ts index 9884bfe..43e4fbb 100644 --- a/src/plugin/uiController.ts +++ b/src/plugin/uiController.ts @@ -80,6 +80,7 @@ export default function init() { async function showApp() { core.lockControl(); + if (transition.value) { app.style.transition = 'all 0.6s linear'; } else { diff --git a/src/plugin/utils.ts b/src/plugin/utils.ts index d049dc9..3c72aa5 100644 --- a/src/plugin/utils.ts +++ b/src/plugin/utils.ts @@ -153,3 +153,13 @@ export function splitText(str: string[]) { }) .join(''); } + +/** + * 在下一帧执行某个函数 + * @param cb 执行的函数 + */ +export function nextFrame(cb: (time: number) => void) { + requestAnimationFrame(() => { + requestAnimationFrame(cb); + }); +} diff --git a/src/source/cls.d.ts b/src/source/cls.d.ts index 4e1ec20..a7cf8b7 100644 --- a/src/source/cls.d.ts +++ b/src/source/cls.d.ts @@ -117,6 +117,7 @@ interface IdToCls { autotile8: 'autotile'; autotile9: 'autotile'; autotile10: 'autotile'; + autotile11: 'autotile'; autotile1: 'autotile'; autotile2: 'autotile'; autotile3: 'autotile'; @@ -541,11 +542,47 @@ interface IdToCls { E612: 'enemys'; E613: 'enemys'; E614: 'enemys'; + E615: 'enemys'; + E616: 'enemys'; + E617: 'enemys'; + E618: 'enemys'; + N619: 'npcs'; + N620: 'npcs'; + N621: 'npcs'; + N622: 'npcs'; + N623: 'npcs'; + N624: 'npcs'; + N625: 'npcs'; + N626: 'npcs'; + T627: 'terrains'; + T628: 'terrains'; + T629: 'terrains'; + N630: 'npc48'; + N631: 'npc48'; + N632: 'npc48'; + N633: 'npc48'; + N634: 'npc48'; + N635: 'npc48'; + N636: 'npc48'; + N637: 'npc48'; + N638: 'npc48'; + N639: 'npc48'; + T640: 'terrains'; + I641: 'items'; + X20032: 'tileset'; + X20033: 'tileset'; + X20034: 'tileset'; X20037: 'tileset'; X20038: 'tileset'; X20039: 'tileset'; + X20040: 'tileset'; + X20041: 'tileset'; + X20042: 'tileset'; X20045: 'tileset'; X20047: 'tileset'; + X20048: 'tileset'; + X20049: 'tileset'; + X20050: 'tileset'; X20053: 'tileset'; X20054: 'tileset'; X20055: 'tileset'; @@ -572,6 +609,7 @@ interface IdToCls { X30121: 'tileset'; X30196: 'tileset'; X30204: 'tileset'; + X70019: 'tileset'; X70048: 'tileset'; X70049: 'tileset'; X70050: 'tileset'; @@ -580,8 +618,15 @@ interface IdToCls { X70064: 'tileset'; X70065: 'tileset'; X70066: 'tileset'; + X70072: 'tileset'; + X70073: 'tileset'; + X70074: 'tileset'; + X70080: 'tileset'; + X70081: 'tileset'; + X70082: 'tileset'; X70112: 'tileset'; X70114: 'tileset'; + X70116: 'tileset'; X70120: 'tileset'; X70122: 'tileset'; X70128: 'tileset'; @@ -592,4 +637,7 @@ interface IdToCls { X70200: 'tileset'; X70201: 'tileset'; X70202: 'tileset'; + X90153: 'tileset'; + X90154: 'tileset'; + X90155: 'tileset'; } \ No newline at end of file diff --git a/src/source/data.d.ts b/src/source/data.d.ts index 9b80818..4bf082e 100644 --- a/src/source/data.d.ts +++ b/src/source/data.d.ts @@ -54,6 +54,13 @@ type FloorIds = | 'MT43' | 'MT44' | 'MT45' + | 'snowTown' + | 'snowShop' + | 'MT46' + | 'MT47' + | 'MT48' + | 'MT49' + | 'MT50' type ImageIds = | 'IQ.png' @@ -136,6 +143,7 @@ type SoundIds = | 'cursor.mp3' | 'danger.mp3' | 'door.mp3' + | 'drink.mp3' | 'electron.mp3' | 'equip.mp3' | 'error.mp3' diff --git a/src/source/items.d.ts b/src/source/items.d.ts index 07b7a36..ba97467 100644 --- a/src/source/items.d.ts +++ b/src/source/items.d.ts @@ -185,4 +185,5 @@ interface ItemDeclaration { I574: 'items'; I575: 'equips'; I589: 'equips'; + I641: 'equips'; } \ No newline at end of file diff --git a/src/source/maps.d.ts b/src/source/maps.d.ts index 7c75a2c..0d49941 100644 --- a/src/source/maps.d.ts +++ b/src/source/maps.d.ts @@ -117,6 +117,7 @@ interface IdToNumber { autotile8: 145; autotile9: 146; autotile10: 147; + autotile11: 148; autotile1: 151; autotile2: 152; autotile3: 153; @@ -541,11 +542,47 @@ interface IdToNumber { E612: 612; E613: 613; E614: 614; + E615: 615; + E616: 616; + E617: 617; + E618: 618; + N619: 619; + N620: 620; + N621: 621; + N622: 622; + N623: 623; + N624: 624; + N625: 625; + N626: 626; + T627: 627; + T628: 628; + T629: 629; + N630: 630; + N631: 631; + N632: 632; + N633: 633; + N634: 634; + N635: 635; + N636: 636; + N637: 637; + N638: 638; + N639: 639; + T640: 640; + I641: 641; + X20032: 20032; + X20033: 20033; + X20034: 20034; X20037: 20037; X20038: 20038; X20039: 20039; + X20040: 20040; + X20041: 20041; + X20042: 20042; X20045: 20045; X20047: 20047; + X20048: 20048; + X20049: 20049; + X20050: 20050; X20053: 20053; X20054: 20054; X20055: 20055; @@ -572,6 +609,7 @@ interface IdToNumber { X30121: 30121; X30196: 30196; X30204: 30204; + X70019: 70019; X70048: 70048; X70049: 70049; X70050: 70050; @@ -580,8 +618,15 @@ interface IdToNumber { X70064: 70064; X70065: 70065; X70066: 70066; + X70072: 70072; + X70073: 70073; + X70074: 70074; + X70080: 70080; + X70081: 70081; + X70082: 70082; X70112: 70112; X70114: 70114; + X70116: 70116; X70120: 70120; X70122: 70122; X70128: 70128; @@ -592,6 +637,9 @@ interface IdToNumber { X70200: 70200; X70201: 70201; X70202: 70202; + X90153: 90153; + X90154: 90154; + X90155: 90155; } interface NumberToId { 1: 'yellowWall'; @@ -712,6 +760,7 @@ interface NumberToId { 145: 'autotile8'; 146: 'autotile9'; 147: 'autotile10'; + 148: 'autotile11'; 151: 'autotile1'; 152: 'autotile2'; 153: 'autotile3'; @@ -1136,11 +1185,47 @@ interface NumberToId { 612: 'E612'; 613: 'E613'; 614: 'E614'; + 615: 'E615'; + 616: 'E616'; + 617: 'E617'; + 618: 'E618'; + 619: 'N619'; + 620: 'N620'; + 621: 'N621'; + 622: 'N622'; + 623: 'N623'; + 624: 'N624'; + 625: 'N625'; + 626: 'N626'; + 627: 'T627'; + 628: 'T628'; + 629: 'T629'; + 630: 'N630'; + 631: 'N631'; + 632: 'N632'; + 633: 'N633'; + 634: 'N634'; + 635: 'N635'; + 636: 'N636'; + 637: 'N637'; + 638: 'N638'; + 639: 'N639'; + 640: 'T640'; + 641: 'I641'; + 20032: 'X20032'; + 20033: 'X20033'; + 20034: 'X20034'; 20037: 'X20037'; 20038: 'X20038'; 20039: 'X20039'; + 20040: 'X20040'; + 20041: 'X20041'; + 20042: 'X20042'; 20045: 'X20045'; 20047: 'X20047'; + 20048: 'X20048'; + 20049: 'X20049'; + 20050: 'X20050'; 20053: 'X20053'; 20054: 'X20054'; 20055: 'X20055'; @@ -1167,6 +1252,7 @@ interface NumberToId { 30121: 'X30121'; 30196: 'X30196'; 30204: 'X30204'; + 70019: 'X70019'; 70048: 'X70048'; 70049: 'X70049'; 70050: 'X70050'; @@ -1175,8 +1261,15 @@ interface NumberToId { 70064: 'X70064'; 70065: 'X70065'; 70066: 'X70066'; + 70072: 'X70072'; + 70073: 'X70073'; + 70074: 'X70074'; + 70080: 'X70080'; + 70081: 'X70081'; + 70082: 'X70082'; 70112: 'X70112'; 70114: 'X70114'; + 70116: 'X70116'; 70120: 'X70120'; 70122: 'X70122'; 70128: 'X70128'; @@ -1187,4 +1280,7 @@ interface NumberToId { 70200: 'X70200'; 70201: 'X70201'; 70202: 'X70202'; + 90153: 'X90153'; + 90154: 'X90154'; + 90155: 'X90155'; } \ No newline at end of file diff --git a/src/ui/fixed.vue b/src/ui/fixed.vue index 6eb2cb7..4bfff06 100644 --- a/src/ui/fixed.vue +++ b/src/ui/fixed.vue @@ -26,7 +26,7 @@ {{ enemy[a] }}{{ format(enemy[a] as number) }} @@ -40,10 +40,14 @@ import { onMounted, onUpdated, ref, watch } from 'vue'; import Box from '../components/box.vue'; import { showFixed } from '../plugin/ui/fixed'; -watch(showFixed, calHeight); +watch(showFixed, n => { + if (n) calHeight(); +}); let main: HTMLDivElement; +const format = core.formatBigNumber; + const toShowAttrs: (keyof DetailedEnemy)[] = [ 'hp', 'atk', diff --git a/src/ui/fly.vue b/src/ui/fly.vue index 5d41f76..98b3d62 100644 --- a/src/ui/fly.vue +++ b/src/ui/fly.vue @@ -445,6 +445,7 @@ function changeFloorByDelta(delta: number) { while (to !== now) { to += Math.sign(delta); const floor = core.status.maps[core.floorIds[to]]; + if (floor.cannotViewMap) continue; if (!floor.deleted && !floor.forceDelete) break; if (to < 0 || to >= core.floorIds.length) break; } @@ -546,8 +547,6 @@ onMounted(async () => { thumb = document.getElementById('fly-thumbnail') as HTMLCanvasElement; thumbCtx = thumb.getContext('2d')!; - const antiAliasing = core.getLocalStorage('antiAliasing', true); - const mapStyle = getComputedStyle(map); const thumbStyle = getComputedStyle(thumb); map.width = parseFloat(mapStyle.width) * devicePixelRatio; @@ -555,13 +554,6 @@ onMounted(async () => { thumb.width = parseFloat(thumbStyle.width) * devicePixelRatio; thumb.height = parseFloat(thumbStyle.width) * devicePixelRatio; - if (!antiAliasing) { - requestAnimationFrame(() => { - thumb.classList.add('no-anti-aliasing'); - thumbCtx.imageSmoothingEnabled = false; - }); - } - Array.from(document.getElementsByClassName('fly-settings')).forEach(v => { v.addEventListener('click', e => (v as HTMLElement).blur()); }); diff --git a/src/ui/settings.vue b/src/ui/settings.vue index ad893e2..698568b 100644 --- a/src/ui/settings.vue +++ b/src/ui/settings.vue @@ -108,6 +108,18 @@ const descText = computed(() => { return splitText(settingInfo[selected.value].desc); }); +const settings: Record> = { + transition, + itemDetail, + autoSkill, + autoScale, + showHalo, + showStudied, + useFixed, + autoLocate, + antiAliasing +}; + function exit() { core.plugin.settingsOpened.value = false; } @@ -117,25 +129,7 @@ function click(id: keyof Settings) { selected.value = id; return; } - if (id === 'transition') { - transition.value = !transition.value; - } else if (id === 'itemDetail') { - itemDetail.value = !itemDetail.value; - } else if (id === 'autoSkill') { - autoSkill.value = !autoSkill.value; - } else if (id === 'autoScale') { - autoScale.value = !autoScale.value; - } else if (id === 'showHalo') { - showHalo.value = !showHalo.value; - } else if (id === 'showStudied') { - showStudied.value = !showStudied.value; - } else if (id === 'useFixed') { - useFixed.value = !useFixed.value; - } else if (id === 'autoLocate') { - autoLocate.value = !autoLocate.value; - } else if (id === 'antiAliasing') { - antiAliasing.value = !antiAliasing.value; - } + settings[id].value = !settings[id].value; } diff --git a/src/ui/statusBar.vue b/src/ui/statusBar.vue index 4c796cc..1b52657 100644 --- a/src/ui/statusBar.vue +++ b/src/ui/statusBar.vue @@ -111,10 +111,10 @@
查看技能学习
@@ -181,12 +181,8 @@ function update() { lvName.value = core.getLvName(hero.lv); if (flags.blade && flags.bladeOn) { skill.value = '断灭之刃'; - hero.atk! *= 1 + core.getSkillLevel(2) / 10; - hero.def! *= 1 - core.getSkillLevel(2) / 10; } else if (flags.shield && flags.shieldOn) { skill.value = '铸剑为盾'; - hero.def! *= 1 + core.getSkillLevel(10) / 10; - hero.atk! *= 1 - core.getSkillLevel(10) / 10; } else { skill.value = '无'; } @@ -282,12 +278,12 @@ function openStudy() {} } #status-mana { - line-height: 1; + line-height: 0; color: rgb(255, 211, 211); } #status-hpmax { - line-height: 1; + line-height: 0; color: rgb(167, 255, 167); }