mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-06-08 16:27:58 +08:00
Deploying to gh-pages from @ 1911caa9c4
🚀
This commit is contained in:
parent
d2f5659a20
commit
b768e3d804
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -18,10 +18,10 @@
|
|||||||
<meta name="x5-fullscreen" content="true">
|
<meta name="x5-fullscreen" content="true">
|
||||||
<meta name="x5-page-mode" content="app">
|
<meta name="x5-page-mode" content="app">
|
||||||
<link id="mota-css" type='text/css' href='/HumanBreak/styles.css' rel='stylesheet'>
|
<link id="mota-css" type='text/css' href='/HumanBreak/styles.css' rel='stylesheet'>
|
||||||
<script type="module" crossorigin src="/HumanBreak/assets/index.d18ed884.js"></script>
|
<script type="module" crossorigin src="/HumanBreak/assets/index.a191abcb.js"></script>
|
||||||
<link rel="modulepreload" crossorigin href="/HumanBreak/assets/antdv.82ccdc2e.js">
|
<link rel="modulepreload" crossorigin href="/HumanBreak/assets/antdv.82ccdc2e.js">
|
||||||
<link rel="modulepreload" crossorigin href="/HumanBreak/assets/common.b7335525.js">
|
<link rel="modulepreload" crossorigin href="/HumanBreak/assets/common.b7335525.js">
|
||||||
<link rel="stylesheet" href="/HumanBreak/assets/index.61b92611.css">
|
<link rel="stylesheet" href="/HumanBreak/assets/index.cc70e4c1.css">
|
||||||
<script type="module">try{import.meta.url;import("_").catch(()=>1);}catch(e){}window.__vite_is_modern_browser=true;</script>
|
<script type="module">try{import.meta.url;import("_").catch(()=>1);}catch(e){}window.__vite_is_modern_browser=true;</script>
|
||||||
<script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy build because dynamic import or import.meta.url is unsupported, syntax error above should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
|
<script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy build because dynamic import or import.meta.url is unsupported, syntax error above should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
|
||||||
</head>
|
</head>
|
||||||
@ -215,7 +215,7 @@
|
|||||||
|
|
||||||
<script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
|
<script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
|
||||||
<script nomodule crossorigin id="vite-legacy-polyfill" src="/HumanBreak/assets/polyfills-legacy.fcbd97b9.js"></script>
|
<script nomodule crossorigin id="vite-legacy-polyfill" src="/HumanBreak/assets/polyfills-legacy.fcbd97b9.js"></script>
|
||||||
<script nomodule crossorigin id="vite-legacy-entry" data-src="/HumanBreak/assets/index-legacy.da88c6dc.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
|
<script nomodule crossorigin id="vite-legacy-entry" data-src="/HumanBreak/assets/index-legacy.eb3d1105.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
@ -2,6 +2,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
{
|
{
|
||||||
"main": {
|
"main": {
|
||||||
"floorIds": [
|
"floorIds": [
|
||||||
|
"empty",
|
||||||
"MT0",
|
"MT0",
|
||||||
"MT1",
|
"MT1",
|
||||||
"MT2",
|
"MT2",
|
||||||
|
@ -141,7 +141,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
|
|||||||
"E579": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
"E579": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||||
"E590": {"name":"冰封史莱姆","hp":7500,"atk":1750,"def":1000,"money":2,"exp":75,"point":0,"special":[20],"ice":25},
|
"E590": {"name":"冰封史莱姆","hp":7500,"atk":1750,"def":1000,"money":2,"exp":75,"point":0,"special":[20],"ice":25},
|
||||||
"E591": {"name":"新敌人","hp":10000,"atk":2000,"def":1000,"money":0,"exp":0,"point":0,"special":[]},
|
"E591": {"name":"新敌人","hp":10000,"atk":2000,"def":1000,"money":0,"exp":0,"point":0,"special":[]},
|
||||||
"E592": {"name":"冰封巨兽","hp":6000,"atk":1750,"def":1000,"money":2,"exp":85,"point":0,"special":[20,21],"iceHalo":20,"ice":50},
|
"E592": {"name":"冰封巨兽","hp":10000,"atk":2000,"def":1000,"money":2,"exp":85,"point":0,"special":[20,21],"iceHalo":20,"ice":50},
|
||||||
"E593": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
"E593": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||||
"E594": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
"E594": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||||
"E595": {"name":"寒冰兽人","hp":12500,"atk":1800,"def":800,"money":2,"exp":100,"point":0,"special":[7],"hungry":25},
|
"E595": {"name":"寒冰兽人","hp":12500,"atk":1800,"def":800,"money":2,"exp":100,"point":0,"special":[7],"hungry":25},
|
||||||
|
@ -22,16 +22,7 @@ main.floors.MT1=
|
|||||||
"type": "if",
|
"type": "if",
|
||||||
"condition": "(flag:hard===1)",
|
"condition": "(flag:hard===1)",
|
||||||
"true": [
|
"true": [
|
||||||
{
|
"游戏的基础玩法可以在百科全书中查看,你可以按H或者在道具栏打开。"
|
||||||
"type": "confirm",
|
|
||||||
"text": "是否阅读魔塔基本游戏规则(教程)",
|
|
||||||
"yes": [
|
|
||||||
"魔塔遵循你打我一下,我打你一下的原则,每次造成的伤害为己方攻击减去对方防御\n红宝石可以增加攻击,蓝宝石可以增加防御,血瓶增加血量\n打怪物可以获得经验和金币,经验可用于升级,金币可用于购物\n以上就是基本规则,祝您游戏愉快!"
|
|
||||||
],
|
|
||||||
"no": [
|
|
||||||
"祝您游戏愉快"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -34,24 +34,8 @@ main.floors.MT10=
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"afterBattle": {},
|
"afterBattle": {},
|
||||||
"afterGetItem": {
|
"afterGetItem": {},
|
||||||
"4,6": [
|
"afterOpenDoor": {},
|
||||||
"\t[原始人]\b[up,hero]这是什么?",
|
|
||||||
"\t[原始人]\b[up,hero]好像有什么形状",
|
|
||||||
"\t[原始人]\b[up,hero]难道是什么钥匙吗",
|
|
||||||
"\t[原始人]\b[up,hero]黄色的,好像和家里面的那些巨石有些关系"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"afterOpenDoor": {
|
|
||||||
"1,4": [
|
|
||||||
{
|
|
||||||
"type": "animate",
|
|
||||||
"name": "emm",
|
|
||||||
"loc": "hero"
|
|
||||||
},
|
|
||||||
"\t[原始人]\b[down,hero]原来如此"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"autoEvent": {},
|
"autoEvent": {},
|
||||||
"cannotMove": {},
|
"cannotMove": {},
|
||||||
"map": [
|
"map": [
|
||||||
|
@ -39,7 +39,7 @@ main.floors.MT32=
|
|||||||
"衣服是个装备,记得穿上",
|
"衣服是个装备,记得穿上",
|
||||||
"光环会在地图上显示,如果不想要可以在背包里面的系统设置里面关闭",
|
"光环会在地图上显示,如果不想要可以在背包里面的系统设置里面关闭",
|
||||||
"每张地图会保证极昼怪的数量与永夜怪的数量相同",
|
"每张地图会保证极昼怪的数量与永夜怪的数量相同",
|
||||||
"注意打过永夜怪或者极昼怪之后怪物标记可能与当前地图不符,因为标记怪物是标记的某一类怪物而不是某一点的怪物"
|
"注意打过永夜怪或者极昼怪之后或者有光环的时候,怪物标记可能与当前地图不符,因为标记怪物是标记的某一类怪物而不是某一点的怪物"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"changeFloor": {
|
"changeFloor": {
|
||||||
|
61
project/floors/empty.js
Normal file
61
project/floors/empty.js
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
main.floors.empty=
|
||||||
|
{
|
||||||
|
"floorId": "empty",
|
||||||
|
"title": "山脚",
|
||||||
|
"name": "13",
|
||||||
|
"width": 15,
|
||||||
|
"height": 15,
|
||||||
|
"canFlyTo": true,
|
||||||
|
"canFlyFrom": true,
|
||||||
|
"canUseQuickShop": true,
|
||||||
|
"cannotViewMap": false,
|
||||||
|
"images": [],
|
||||||
|
"ratio": 1,
|
||||||
|
"defaultGround": "grass",
|
||||||
|
"bgm": "mount.mp3",
|
||||||
|
"weather": [
|
||||||
|
"sun",
|
||||||
|
8
|
||||||
|
],
|
||||||
|
"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]
|
||||||
|
],
|
||||||
|
"bgmap": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"fgmap": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"bg2map": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"fg2map": [
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
@ -1220,9 +1220,6 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
|
|||||||
case 68: // D:读档
|
case 68: // D:读档
|
||||||
core.load(true);
|
core.load(true);
|
||||||
break;
|
break;
|
||||||
case 69: // E:打开光标
|
|
||||||
core.ui._drawCursor();
|
|
||||||
break;
|
|
||||||
case 84: // T:打开道具栏
|
case 84: // T:打开道具栏
|
||||||
core.openToolbox(true);
|
core.openToolbox(true);
|
||||||
break;
|
break;
|
||||||
@ -1251,8 +1248,16 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
|
|||||||
case 72: // H:打开帮助页面
|
case 72: // H:打开帮助页面
|
||||||
core.useItem('I560', true);
|
core.useItem('I560', true);
|
||||||
break;
|
break;
|
||||||
case 75: // J:定点查看
|
case 67: // C:怪物临界
|
||||||
if (core.getBlockCls(mx, my)?.startsWith('enemy')) {
|
if (core.getBlockCls(mx, my)?.startsWith('enemy')) {
|
||||||
|
core.plugin.fixedDetailPanel = 'critical';
|
||||||
|
core.plugin.showFixed.value = false;
|
||||||
|
core.plugin.fixedDetailOpened.value = true;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 69: // E:怪物属性
|
||||||
|
if (core.getBlockCls(mx, my)?.startsWith('enemy')) {
|
||||||
|
core.plugin.fixedDetailPanel = 'special';
|
||||||
core.plugin.showFixed.value = false;
|
core.plugin.showFixed.value = false;
|
||||||
core.plugin.fixedDetailOpened.value = true;
|
core.plugin.fixedDetailOpened.value = true;
|
||||||
}
|
}
|
||||||
@ -1489,7 +1494,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
|
|||||||
if (!floorId || !core.status.maps) return;
|
if (!floorId || !core.status.maps) return;
|
||||||
|
|
||||||
const haloMap = {
|
const haloMap = {
|
||||||
21: 'square:7:cyan'
|
21: ['square:7:cyan']
|
||||||
};
|
};
|
||||||
|
|
||||||
var width = core.floors[floorId].width,
|
var width = core.floors[floorId].width,
|
||||||
@ -1737,7 +1742,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
|
|||||||
for (const num of enemy.special) {
|
for (const num of enemy.special) {
|
||||||
if (num in haloMap) {
|
if (num in haloMap) {
|
||||||
halo[loc] ??= [];
|
halo[loc] ??= [];
|
||||||
halo[loc].push(haloMap[num]);
|
halo[loc].push(...haloMap[num]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user