From c4417977daf484f1bbe3924bbd02fc3cc19b44e6 Mon Sep 17 00:00:00 2001
From: unanmed <1319491857@qq.com>
Date: Mon, 9 Jan 2023 09:42:28 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=A3=9E=E8=A1=8C=E5=99=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/project/floors/MT33.js | 58 ++++++++++++++++++++++++++---------
public/project/plugins.js | 13 +-------
src/data/desc.json | 8 ++---
src/ui/fly.vue | 2 +-
4 files changed, 49 insertions(+), 32 deletions(-)
diff --git a/public/project/floors/MT33.js b/public/project/floors/MT33.js
index 4463895..3996c06 100644
--- a/public/project/floors/MT33.js
+++ b/public/project/floors/MT33.js
@@ -34,30 +34,58 @@ main.floors.MT33=
"cannotMove": {},
"cannotMoveIn": {},
"map": [
- [147,147,147,147,147,147,147,147,147, 0,147,147,147,147,147],
- [147, 0, 0, 0, 0, 0,147, 0,595, 0,592, 0, 0, 0,147],
- [147,147,147,147,147,590,147, 0,586, 0,492, 0, 0, 0,147],
- [147, 0,595, 0, 0, 0,147,586,586, 0,585,147,147,603, 0],
- [147, 0,147,147,147,592, 0, 0, 0, 0,585,484,274, 0,147],
+ [147,147,147,147,147,147,147,147,147, 91,147,147,147,147,147],
+ [147, 0, 27, 34, 29, 0,147,376,595, 0,592, 29, 0, 29,147],
+ [147,147,147,147,147,590,147,378,586, 0,492, 0, 34, 0,147],
+ [147, 0,595, 0,482, 0,147,586,586, 34,585,147,147,603, 94],
+ [147, 0,147,147,147,592, 0, 28, 0, 0,585,484,274, 0,147],
[147, 21, 34,147, 0,492,492,587,587,587,147,147,147, 0,147],
- [ 92, 0, 0,590, 0,587, 32, 32,274, 32, 0, 32,147, 0,147],
- [147,147,147,147, 27,587,587,602,585, 0,396, 0,147,603,147],
- [147, 28, 34,274, 34,381, 0, 0,585,147,147,147,147, 0,147],
- [147,403, 27,147,147,147,602,585,585, 0,602, 0, 0, 0,147],
- [147,147,147,147, 0, 0, 0, 0,585, 0,147,147,147,147,147],
- [147, 0, 0,147,590,147,147,147,147, 0,147, 0, 0, 0,147],
- [147,147, 0,595, 0, 0, 0,147,147, 0,514, 0, 0,147,147],
- [147,147,147,147,147, 0, 0, 0,603, 0,147,147,147,147,147],
+ [ 92, 0, 0,590, 34,587, 32, 32,274, 32, 0, 32,147, 0,147],
+ [147,147,147,147, 27,587,587,602,585, 0,378, 0,147,603,147],
+ [147, 28, 34,274, 0,381, 0, 0,585,147,147,147,147, 0,147],
+ [147,403, 27,147,147,147,602,585,585, 0,602, 0, 32, 29,147],
+ [147,147,147,147, 0, 29, 32, 0,585, 0,147,147,147,147,147],
+ [147, 27, 33,147,590,147,147,147,147, 34,147, 34,390, 22,147],
+ [147,147, 28,595, 0, 0,381,147,147, 0,514,403, 34,147,147],
+ [147,147,147,147,147, 33, 0, 0,603, 0,147,147,147,147,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,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,145,145,145, 0],
+ [ 0,145,145,145,145,145, 0, 0, 0,145, 0, 0, 0,145,145],
+ [ 0,145, 0, 0, 0,145,145,145,145,145, 0, 0, 0, 0, 0],
+ [ 0,145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
+ [145,145,145,145,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,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,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
--- a/public/project/plugins.js
+++ b/public/project/plugins.js
@@ -1385,17 +1385,6 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
};
},
itemDetail: function () {
- /* 宝石血瓶左下角显示数值
- * 需要将 变量:itemDetail改为true才可正常运行
- * 请尽量减少勇士的属性数量,否则可能会出现严重卡顿
- * 注意:这里的属性必须是core.status.hero里面的,flag无法显示
- * 如果不想显示,可以core.setFlag("itemDetail", false);
- * 然后再core.getItemDetail();
- * 如有bug在大群或造塔群@古祠
- */
-
- // core.bigmap.threshold = 256;
-
core.control.updateDamage = function (floorId, ctx) {
floorId = floorId || core.status.floorId;
if (!floorId || core.status.gameOver || main.mode != 'play') return;
@@ -1480,7 +1469,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
// 绘制
function drawItemDetail(diff, x, y) {
const px = 32 * x + 2,
- py = 32 * y + 30;
+ py = 32 * y + 31;
let content = '';
// 获得数据和颜色
let i = 0;
diff --git a/src/data/desc.json b/src/data/desc.json
index 31fd9d3..cb3034e 100644
--- a/src/data/desc.json
+++ b/src/data/desc.json
@@ -50,11 +50,11 @@
"
",
"游戏作者:古祠",
"
",
- "BGM来源:网易云音乐",
+ "BGM来源:网易云音乐等",
"
",
- "素材来源:大素材库、爱给网、网站素材库",
+ "素材来源:大素材库、爱给网、网站素材库等",
"
",
- "特别鸣谢:无名甲烷菌",
+ "特别鸣谢:无名甲烷菌(提供部分特殊属性与机制想法)",
"
",
"测试:"
]
@@ -139,7 +139,7 @@
"condition": "true",
"desc": [
"这里包含本塔中所有的快捷键。对于手机端,可以点击工具栏的难度的位置切换工具栏至数字键。",
- "下面会分为样板快捷键和本塔快捷键两类分别说明。",
+ "下面会分为样板快捷键和本塔快捷键两类分别说明。可以ctrl+F进行搜索快捷键的功能。",
"
",
"
",
"下面是样板中的所有快捷键:",
diff --git a/src/ui/fly.vue b/src/ui/fly.vue
index 88ffd5c..54ed161 100644
--- a/src/ui/fly.vue
+++ b/src/ui/fly.vue
@@ -293,7 +293,7 @@ function drawThumbnail(
w: floor.width,
h: floor.height,
ctx,
- damage: true
+ damage: scale > 7
});
if (!core.hasVisitedFloor(floorId)) {
ctx.fillStyle = '#d0d6';