mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-19 04:19:30 +08:00
完善飞行器
This commit is contained in:
parent
1911caa9c4
commit
c4417977da
@ -34,30 +34,58 @@ main.floors.MT33=
|
|||||||
"cannotMove": {},
|
"cannotMove": {},
|
||||||
"cannotMoveIn": {},
|
"cannotMoveIn": {},
|
||||||
"map": [
|
"map": [
|
||||||
[147,147,147,147,147,147,147,147,147, 0,147,147,147,147,147],
|
[147,147,147,147,147,147,147,147,147, 91,147,147,147,147,147],
|
||||||
[147, 0, 0, 0, 0, 0,147, 0,595, 0,592, 0, 0, 0,147],
|
[147, 0, 27, 34, 29, 0,147,376,595, 0,592, 29, 0, 29,147],
|
||||||
[147,147,147,147,147,590,147, 0,586, 0,492, 0, 0, 0,147],
|
[147,147,147,147,147,590,147,378,586, 0,492, 0, 34, 0,147],
|
||||||
[147, 0,595, 0, 0, 0,147,586,586, 0,585,147,147,603, 0],
|
[147, 0,595, 0,482, 0,147,586,586, 34,585,147,147,603, 94],
|
||||||
[147, 0,147,147,147,592, 0, 0, 0, 0,585,484,274, 0,147],
|
[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],
|
[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],
|
[ 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,396, 0,147,603,147],
|
[147,147,147,147, 27,587,587,602,585, 0,378, 0,147,603,147],
|
||||||
[147, 28, 34,274, 34,381, 0, 0,585,147,147,147,147, 0,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, 0, 0,147],
|
[147,403, 27,147,147,147,602,585,585, 0,602, 0, 32, 29,147],
|
||||||
[147,147,147,147, 0, 0, 0, 0,585, 0,147,147,147,147,147],
|
[147,147,147,147, 0, 29, 32, 0,585, 0,147,147,147,147,147],
|
||||||
[147, 0, 0,147,590,147,147,147,147, 0,147, 0, 0, 0,147],
|
[147, 27, 33,147,590,147,147,147,147, 34,147, 34,390, 22,147],
|
||||||
[147,147, 0,595, 0, 0, 0,147,147, 0,514, 0, 0,147,147],
|
[147,147, 28,595, 0, 0,381,147,147, 0,514,403, 34,147,147],
|
||||||
[147,147,147,147,147, 0, 0, 0,603, 0,147,147,147,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]
|
[147,147,147,147,147,147,147,147,147,147,147,147,147,147,147]
|
||||||
],
|
],
|
||||||
"bgmap": [
|
"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, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 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": [
|
"fgmap": [
|
||||||
|
|
||||||
],
|
],
|
||||||
"bg2map": [
|
"bg2map": [
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,146, 0, 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,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,146,146, 0, 0, 0, 0, 0, 0, 0, 0,146,146,146, 0],
|
||||||
|
[ 0, 0,146, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||||
],
|
],
|
||||||
"fg2map": [
|
"fg2map": [
|
||||||
|
|
||||||
|
@ -1385,17 +1385,6 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
itemDetail: function () {
|
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) {
|
core.control.updateDamage = function (floorId, ctx) {
|
||||||
floorId = floorId || core.status.floorId;
|
floorId = floorId || core.status.floorId;
|
||||||
if (!floorId || core.status.gameOver || main.mode != 'play') return;
|
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) {
|
function drawItemDetail(diff, x, y) {
|
||||||
const px = 32 * x + 2,
|
const px = 32 * x + 2,
|
||||||
py = 32 * y + 30;
|
py = 32 * y + 31;
|
||||||
let content = '';
|
let content = '';
|
||||||
// 获得数据和颜色
|
// 获得数据和颜色
|
||||||
let i = 0;
|
let i = 0;
|
||||||
|
@ -50,11 +50,11 @@
|
|||||||
"<br>",
|
"<br>",
|
||||||
"游戏作者:古祠",
|
"游戏作者:古祠",
|
||||||
"<br>",
|
"<br>",
|
||||||
"BGM来源:网易云音乐",
|
"BGM来源:网易云音乐等",
|
||||||
"<br>",
|
"<br>",
|
||||||
"素材来源:大素材库、爱给网、网站素材库",
|
"素材来源:大素材库、爱给网、网站素材库等",
|
||||||
"<br>",
|
"<br>",
|
||||||
"特别鸣谢:无名甲烷菌",
|
"特别鸣谢:无名甲烷菌(提供部分特殊属性与机制想法)",
|
||||||
"<br>",
|
"<br>",
|
||||||
"测试:"
|
"测试:"
|
||||||
]
|
]
|
||||||
@ -139,7 +139,7 @@
|
|||||||
"condition": "true",
|
"condition": "true",
|
||||||
"desc": [
|
"desc": [
|
||||||
"这里包含本塔中所有的快捷键。对于手机端,可以点击工具栏的难度的位置切换工具栏至数字键。",
|
"这里包含本塔中所有的快捷键。对于手机端,可以点击工具栏的难度的位置切换工具栏至数字键。",
|
||||||
"下面会分为样板快捷键和本塔快捷键两类分别说明。",
|
"下面会分为样板快捷键和本塔快捷键两类分别说明。可以ctrl+F进行搜索快捷键的功能。",
|
||||||
"<br>",
|
"<br>",
|
||||||
"<br>",
|
"<br>",
|
||||||
"下面是样板中的所有快捷键:",
|
"下面是样板中的所有快捷键:",
|
||||||
|
@ -293,7 +293,7 @@ function drawThumbnail(
|
|||||||
w: floor.width,
|
w: floor.width,
|
||||||
h: floor.height,
|
h: floor.height,
|
||||||
ctx,
|
ctx,
|
||||||
damage: true
|
damage: scale > 7
|
||||||
});
|
});
|
||||||
if (!core.hasVisitedFloor(floorId)) {
|
if (!core.hasVisitedFloor(floorId)) {
|
||||||
ctx.fillStyle = '#d0d6';
|
ctx.fillStyle = '#d0d6';
|
||||||
|
Loading…
Reference in New Issue
Block a user