Deploying to gh-pages from @ 98123bede8 🚀

This commit is contained in:
unanmed 2023-01-05 14:23:49 +00:00
parent ac208c8a5f
commit 47ef0b0f84
42 changed files with 1387 additions and 429 deletions

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
import{c as jt}from"./antdv.a0bb80c4.js";var el={exports:{}};/**
import{c as jt}from"./antdv.82ccdc2e.js";var el={exports:{}};/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>

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
assets/index.33efd372.js Normal file

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

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

View File

@ -2,7 +2,7 @@
<html>
<head>
<script type="module" crossorigin src="/HumanBreak/assets/polyfills.24a28418.js"></script>
<script type="module" crossorigin src="/HumanBreak/assets/polyfills.de71cb9a.js"></script>
<meta http-equiv='content-type' content='text/html' charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=Edge, chrome=1'>
@ -18,10 +18,10 @@
<meta name="x5-fullscreen" content="true">
<meta name="x5-page-mode" content="app">
<link id="mota-css" type='text/css' href='/HumanBreak/styles.css' rel='stylesheet'>
<script type="module" crossorigin src="/HumanBreak/assets/index.83ced8af.js"></script>
<link rel="modulepreload" crossorigin href="/HumanBreak/assets/antdv.a0bb80c4.js">
<link rel="modulepreload" crossorigin href="/HumanBreak/assets/common.59ee6536.js">
<link rel="stylesheet" href="/HumanBreak/assets/index.9a87d8ee.css">
<script type="module" crossorigin src="/HumanBreak/assets/index.33efd372.js"></script>
<link rel="modulepreload" crossorigin href="/HumanBreak/assets/antdv.82ccdc2e.js">
<link rel="modulepreload" crossorigin href="/HumanBreak/assets/common.b7335525.js">
<link rel="stylesheet" href="/HumanBreak/assets/index.0ae25a13.css">
<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>
</head>
@ -214,8 +214,8 @@
<script>main.init('play'); main.listen();</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.852057b5.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="/HumanBreak/assets/index-legacy.b0ca823e.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
<script nomodule crossorigin id="vite-legacy-polyfill" src="/HumanBreak/assets/polyfills-legacy.71ae8460.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="/HumanBreak/assets/index-legacy.132a3277.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body>
</html>

View File

@ -1495,7 +1495,8 @@ actions.prototype._clickViewMaps = function (x, y, px, py) {
while (
index < core.floorIds.length &&
index != now &&
core.status.maps[core.floorIds[index]].cannotViewMap
(core.status.maps[core.floorIds[index]].cannotViewMap ||
core.status.maps[core.floorIds[index]].deleted)
)
index++;
if (index < core.floorIds.length) core.ui._drawViewMaps(index);
@ -1510,7 +1511,8 @@ actions.prototype._clickViewMaps = function (x, y, px, py) {
while (
index >= 0 &&
index != now &&
core.status.maps[core.floorIds[index]].cannotViewMap
(core.status.maps[core.floorIds[index]].cannotViewMap ||
core.status.maps[core.floorIds[index]].deleted)
)
index--;
if (index >= 0) core.ui._drawViewMaps(index);

View File

@ -1659,17 +1659,17 @@ control.prototype._updateDamage_extraDamage = function (floorId, onMap) {
text: damage,
px: 32 * x + 16,
py: 32 * (y + 1) - 14,
color: '#ffaa33',
color: '#fa3',
alpha: alpha
});
} else {
// 检查捕捉
// 电摇嘲讽
if (core.status.checkBlock.mockery[x + ',' + y]) {
core.status.damage.extraData.push({
text: '嘲',
px: 32 * x + 16,
py: 32 * (y + 1) - 14,
color: '#ffaa33',
color: '#fd4',
alpha: alpha
});
}

View File

@ -39,7 +39,8 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"MT27",
"MT28",
"MT29",
"MT30"
"MT30",
"MT31"
],
"floorPartitions": [
[
@ -618,8 +619,8 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
]
},
{
"need": "50000",
"title": "人",
"need": "25000",
"title": "中级智人",
"clear": true,
"action": []
}

View File

@ -26,7 +26,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
"goldSlime": {"name":"黄头怪","hp":1000,"atk":50,"def":50,"money":0,"exp":18,"point":0,"special":[2]},
"poisonSkeleton": {"name":"紫骷髅","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"poisonBat": {"name":"山间蝙蝠","hp":800,"atk":170,"def":50,"money":1,"exp":24,"point":0,"special":[5]},
"skeletonPriest": {"name":"骷髅法师","hp":100,"atk":100,"def":0,"money":0,"exp":0,"point":0,"special":[18],"value":20},
"skeletonPriest": {"name":"智慧骷髅","hp":4000,"atk":1200,"def":900,"money":1,"exp":75,"point":0,"special":[1,13],"value":20,"crit":500},
"skeletonKing": {"name":"骷髅王","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"evilHero": {"name":"迷失勇者","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"demonPriest": {"name":"魔神法师","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
@ -68,11 +68,11 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
"bowman": {"name":"猎人","hp":500,"atk":100,"def":50,"money":0,"exp":16,"point":0,"special":[24],"value":75},
"liteBowman": {"name":"山间猎手","hp":1200,"atk":200,"def":60,"money":1,"exp":27,"point":0,"special":[24]},
"crimsonZombie": {"name":"勇气之兽","hp":1800,"atk":2000,"def":-100,"money":1,"exp":35,"point":0,"special":[]},
"watcherSlime": {"name":"邪眼史莱姆","hp":5000,"atk":900,"def":600,"money":1,"exp":50,"point":0,"special":[17]},
"watcherSlime": {"name":"邪眼史莱姆","hp":5000,"atk":1200,"def":600,"money":1,"exp":50,"point":0,"special":[17]},
"mutantSlimeman": {"name":"变异史莱姆人","hp":350,"atk":70,"def":27,"money":0,"exp":13,"point":0,"special":[]},
"devilKnight": {"name":"恶灵骑士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"grayPriest": {"name":"智慧法王","hp":3000,"atk":600,"def":250,"money":1,"exp":40,"point":0,"special":[13]},
"greenGateKeeper": {"name":"卫兵队长","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"greenGateKeeper": {"name":"睿智雕像","hp":5000,"atk":1250,"def":900,"money":1,"exp":65,"point":0,"special":[1],"crit":1000},
"ghostSoldier": {"name":"山间骷髅","hp":750,"atk":180,"def":40,"money":0,"exp":18,"point":0,"special":[]},
"frostBat": {"name":"寒蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"blackKing": {"name":"黑衣魔王","hp":1000,"atk":500,"def":0,"money":1000,"exp":1000,"point":0,"special":[],"notBomb":true},
@ -90,7 +90,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
"E375": {"name":"怪圣","hp":2000,"atk":270,"def":100,"money":1,"exp":33,"point":0,"special":[]},
"E498": {"name":"山间野兽","hp":1200,"atk":175,"def":60,"money":1,"exp":30,"point":0,"special":[7],"hungry":20},
"E499": {"name":"武装野兽","hp":1500,"atk":240,"def":100,"money":1,"exp":32,"point":0,"special":[7],"hungry":30},
"E500": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"E500": {"name":"智慧兽人","hp":4500,"atk":1200,"def":700,"money":1,"exp":55,"point":0,"special":[7],"hungry":30},
"E501": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"E502": {"name":"普通史塔茹","hp":900,"atk":160,"def":55,"money":1,"exp":25,"point":0,"special":[8],"together":20},
"E503": {"name":"武装史塔茹","hp":1300,"atk":240,"def":110,"money":1,"exp":31,"point":0,"special":[8],"value":null,"crit":null,"together":25},
@ -107,7 +107,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
"E520": {"name":"勇气之魂","hp":4000,"atk":1200,"def":200,"money":1,"exp":45,"point":0,"special":[1],"crit":500},
"E521": {"name":"勇气之箭","hp":2500,"atk":425,"def":250,"money":1,"exp":30,"point":0,"special":[1,12],"value":400,"crit":500},
"E522": {"name":"勇气骷髅","hp":2000,"atk":600,"def":200,"money":1,"exp":30,"point":0,"special":[]},
"E523": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"E523": {"name":"红色骷髅士兵","hp":3000,"atk":1000,"def":600,"money":1,"exp":50,"point":0,"special":[]},
"E524": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"E525": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"E536": {"name":"智慧法师","hp":2000,"atk":400,"def":200,"money":1,"exp":35,"point":0,"special":[13]},
@ -124,7 +124,19 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
"E556": {"name":"智慧之姆","hp":3000,"atk":800,"def":200,"money":1,"exp":45,"point":0,"special":[8],"together":20},
"E557": {"name":"智慧之神","hp":10000,"atk":2000,"def":800,"money":10,"exp":500,"point":0,"special":[]},
"E561": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"E562": {"name":"嘲讽剑客","hp":2000,"atk":1500,"def":600,"money":1,"exp":50,"point":0,"special":[19]},
"E562": {"name":"嘲讽剑客","hp":5000,"atk":1600,"def":500,"money":1,"exp":60,"point":0,"special":[19]},
"E563": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"E564": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}
"E564": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"E566": {"name":"智慧史莱姆","hp":6000,"atk":1200,"def":600,"money":1,"exp":50,"point":0,"special":[8],"together":25},
"E567": {"name":"精明史莱姆","hp":5000,"atk":1200,"def":550,"money":0,"exp":0,"point":0,"special":[8],"together":30},
"E568": {"name":"精明史莱姆","hp":5000,"atk":1500,"def":600,"money":1,"exp":60,"point":0,"special":[8],"together":30,"displayIdInBook":null},
"E569": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"E570": {"name":"粘液史莱姆","hp":3000,"atk":1000,"def":400,"money":1,"exp":45,"point":0,"special":[4,17]},
"E571": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"E572": {"name":"石化史莱姆","hp":4000,"atk":1200,"def":0,"money":1,"exp":60,"point":0,"special":[3]},
"E573": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"E576": {"name":"智慧守卫","hp":7500,"atk":2500,"def":1250,"money":10,"exp":500,"point":0,"special":[1],"crit":250},
"E577": {"name":"智慧守护者","hp":15000,"atk":2500,"def":1200,"money":50,"exp":2500,"point":0,"special":[1],"crit":1000},
"E578": {"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":[]}
}

View File

@ -46,7 +46,8 @@ main.floors.MT0=
"8,13": [
"本塔有很多新的功能,所有的说明都详细地写在了前方的百科全书里面,里面包含所有的功能说明,不阅读可能会影响正常的游戏体验,请仔细阅读。",
"例如你现在首先感受到的应该是状态栏的变动,你可以打开百科全书阅读状态栏相关内容。里面包含状态栏的功能说明与布局说明等。",
"注意百科全书中的内容非常基础详细,如果对魔塔有一定的了解,可以选择性地阅读。"
"注意百科全书中的内容非常基础详细,如果对魔塔有一定的了解,可以选择性地阅读。",
"打开百科全书的快捷键是H"
],
"8,12": [
"该塔计分方式:生命+5000*黄钥匙+15000*蓝钥匙"

View File

@ -136,7 +136,12 @@ main.floors.MT21=
"\t[初级智人]\b[up,hero]或许智慧结晶会告诉我答案吧。",
{
"type": "function",
"function": "function(){\ncore.showChapter('第二章 智慧')\n}"
"function": "function(){\ncore.showChapter('第二章 智慧');\ncore.removeMaps('tower1', 'tower7', true);\n}"
},
{
"type": "setValue",
"name": "item:pickaxe",
"value": "0"
}
],
"false": [

View File

@ -29,10 +29,12 @@ main.floors.MT22=
],
"3,9": [
"第二章的加点已开启,可以在技能树的前置技能下方选择",
"如果你玩过上个版本,直接跳到了本章,记得查看背包里面的各种道具,尤其是百科全书,同时注意左边是你来的方向,那里还有些怪物"
"注意学习是一个非常重要的技能,需要尽快点开",
"如果你玩过上个版本,直接跳到了本章,记得查看背包里面的各种道具,尤其是百科全书,同时注意左边是你来的方向,那里还有些怪物",
"从现在开始,跳跃技能不再消耗生命值"
],
"7,9": [
"对于电摇嘲讽的怪物,当一个点可以被多个怪物嘲讽时,会优先选择最靠左上角的怪物。其次,在进入嘲讽区域之前会自动存档"
"百科全书中已解锁第二章需要特别说明的怪物属性,你可以在百科全书中查看"
]
},
"changeFloor": {
@ -42,6 +44,13 @@ main.floors.MT22=
0,
4
]
},
"9,0": {
"floorId": "MT24",
"loc": [
9,
14
]
}
},
"beforeBattle": {},
@ -54,7 +63,7 @@ main.floors.MT22=
"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,491,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],

View File

@ -16,7 +16,12 @@ main.floors.MT23=
"firstArrive": [],
"eachArrive": [],
"parallelDo": "",
"events": {},
"events": {
"1,3": [
"请善用拥有电摇嘲讽属性的怪物",
"例如右边就可以利用电摇嘲讽把几个强怪后面的宝石暴露出来"
]
},
"changeFloor": {
"0,4": {
"floorId": "MT22",
@ -24,6 +29,20 @@ main.floors.MT23=
14,
4
]
},
"12,0": {
"floorId": "MT26",
"loc": [
12,
14
]
},
"14,2": {
"floorId": "MT27",
"loc": [
0,
2
]
}
},
"beforeBattle": {},
@ -35,23 +54,37 @@ main.floors.MT23=
"cannotMoveIn": {},
"map": [
[143,143,143,143,143,143,143,143,143,143,143,143, 91,143,143],
[143, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,143],
[143, 0,275, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94],
[143, 0,562, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,143],
[ 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,143],
[143, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,143],
[143, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,143],
[143, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,143],
[143, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,143],
[143, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,143],
[143, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,143],
[143, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,143],
[143, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,143],
[143, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,143],
[143,376,381,523, 0, 0,570, 0, 34,378,143,381, 0,381,143],
[143,143,143,143,484,143,143,143,143, 0,520, 0,484, 0, 94],
[143,129,381,143, 0,143,390,484,143,566,143,143,143,545,143],
[ 92, 0, 0,523,403,143, 21,396,280, 0,403,482,492,482,143],
[143,484,381,143, 0,492,492,143,143,566,143,143,143,143,143],
[143,143,492,143,500,143,441,420,500, 0,378,403,484, 0,143],
[143,390,482,143,484,143,143,143,143,492,143,143,494,143,143],
[143, 0,403,275,376, 0,378,143,482,482,482,143, 34, 34,143],
[143,143,494,143,494,143,143,143,143,492,143,143,523,143,143],
[143,420,484,143, 21,420,492,390, 0,275, 0,519, 0,381,143],
[143, 0,441,143,484, 0,143,482,381,143, 33,143,143,518,143],
[143,280,143,143,143,562,143,143,143,143, 0,143,376, 0,143],
[143, 0,482, 0,482, 0,143, 34,441, 34,520,143, 33,403,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,144, 0, 0],
[ 0, 0, 0, 0,144,144,144,144,144,144, 0, 0,144, 0, 0],
[ 0, 0, 0, 0,144, 0, 0, 0, 0,144,144,144,144,144,144],
[ 0, 0, 0, 0,144, 0, 0, 0, 0,144, 0, 0, 0,144, 0],
[144,144,144,144,144, 0, 0, 0, 0,144,144,144,144,144, 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,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]
],
"fgmap": [

View File

@ -1,45 +1,104 @@
main.floors.MT24=
{
"floorId": "MT24",
"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": {},
"changeFloor": {},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
"floorId": "MT24",
"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": {
"8,13": [
"当勇士被嘲讽时,水也能被撞碎,不要问我为什么("
]
},
"changeFloor": {
"9,14": {
"floorId": "MT22",
"loc": [
9,
0
]
},
"5,0": {
"floorId": "MT25",
"loc": [
5,
14
]
},
"11,0": {
"floorId": "MT25",
"loc": [
11,
14
]
},
"14,5": {
"floorId": "MT26",
"loc": [
0,
5
]
}
},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[142,142,142,142,142, 91,142,142,142,142,142, 91,143,143,143],
[142,142,142,142,142,280,142, 0,275, 0,484,376, 0,143,143],
[142,142,441,237,484, 0,492, 0,143,143,500,143,492,143,143],
[142,142,390,142, 0,142,142, 0,143, 0,403,491,390, 0,143],
[142,142,396,142,500,376,484,518,143,143,494,143,143,143,143],
[142, 22,484,494,378,142,142, 0,143,520, 0,403,482, 0, 94],
[142,142,142,142,484,142,142,378,143, 0,143,143,492,143,143],
[142,142,484,142,518, 0,376,275,482, 0,500,376, 0,376,143],
[562,142,492,142,142,142,142, 0,143,143,143, 0,484, 0,143],
[142,142, 0, 0,403,484, 0,523,484,378,143,519,143,143,143],
[142,142,280,142,142,492,566,142,142, 0,143,378,484,381,143],
[142,142, 21,484,142,378, 0,142,142,570,143,143,520,143,143],
[142,142,430, 0,142,142,482,142,381, 0,381,492,403,403,143],
[142,142,142,142,142,142,142,142,129, 0,484,143,143,143,143],
[142,142,142,142,142,142,142,142,142, 93,143,143,143,143,143]
],
"bgmap": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,144, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0,144,144,144,144,144, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0,144, 0, 0,144, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0,144, 0, 0,144, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0,144, 0, 0,144, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0,144, 0, 0,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],
[ 0, 0, 0, 0, 0, 0, 0,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, 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]
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
]
}

View File

@ -1,45 +1,93 @@
main.floors.MT25=
{
"floorId": "MT25",
"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": {},
"changeFloor": {},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
"floorId": "MT25",
"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": {},
"changeFloor": {
"5,14": {
"floorId": "MT24",
"loc": [
5,
0
]
},
"11,14": {
"floorId": "MT24",
"loc": [
11,
0
]
},
"14,9": {
"floorId": "MT30",
"loc": [
0,
9
]
}
},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"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,142,142,142,142,142,142],
[142,142,142,142,142,142,142,142,142,142,142,142,142,142,142],
[142,142,142,142,142,142,142,142,142,142,142,142,142,142,142],
[142,142,142,142,142,142,142,142,142,142,142,142,142,142,142],
[142,142,142,142,142,142,142,142,142,142,142,142,142,142,142],
[142,142,142,142,142, 23,142,142,142,142,142,142,142,142,142],
[142,142,142,142,482,441,482,142,142,142,142,142,142,142,142],
[142,142,142, 21,420,575,430, 21,142,142,142,142,142,142,142],
[142,142,142,142,482,491,482,142,142,142,142, 0,484, 0, 94],
[142,142,142,142,142, 22,142,142,142,142,142,566,143,143,143],
[142,142,142,142,142,576,142,142,142,142,142,430,566,420,143],
[142,142,142,142,142,497,142,142,142,142,142,142,142,566,143],
[142,142,142,142,142,572,142,142,142,142,142, 0,484, 0,143],
[142,142,142,142,142, 93,142,142,142,142,142, 93,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 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, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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,144,144,144, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,144, 0, 0, 0]
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
]
}

View File

@ -1,45 +1,100 @@
main.floors.MT26=
{
"floorId": "MT26",
"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": {},
"changeFloor": {},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
"floorId": "MT26",
"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": {},
"changeFloor": {
"0,5": {
"floorId": "MT24",
"loc": [
14,
5
]
},
"12,14": {
"floorId": "MT23",
"loc": [
12,
0
]
},
"14,7": {
"floorId": "MT28",
"loc": [
0,
7
]
},
"11,0": {
"floorId": "MT30",
"loc": [
11,
14
]
}
},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[143,143,143,143,143,143,143,143,143,143,143, 91,143,143,143],
[143,441, 21,237, 0,143, 0,482,566, 0,143, 0,143,143,143],
[143,484,390,143, 0,143,378, 0,143, 0,566, 0,376,482,143],
[143,143,143,143,484,143,143,143,143,566,143,143,492,143,143],
[143, 0, 0,492, 0,143,482,403,376, 0,518, 0,482,396,143],
[ 92, 0,518,143, 0,520, 0,378,143,143,143,143,275, 0,143],
[143,143, 0,143,143,143,143,562,143,390,482,143, 0,143,143],
[143, 0,376,143, 0,143,482,482,143,482,403,500,403, 0, 94],
[143,500,143,143,482,143,143,143,143,492,143,143,519,143,143],
[143,468,482,143,441,492,430, 0,143,484,396,237,482, 0,143],
[143,482,468,494, 0,275,420,484,492,390,484,143, 0,482,143],
[143,143,143,143,566,143,572,143,143,494,143,143,143,523,143],
[143,390,482,500, 0,143,482, 0,566,381,482,143,378, 0,143],
[143,143,396,143, 0,566, 0,381,143, 0,381,570, 0,143,143],
[143,143,143,143,143,143,143,143,143,143,143,143, 93,143,143]
],
"bgmap": [
[ 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, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0,144, 0, 0, 0, 0, 0],
[ 0,144,144,144,144, 0,144,144,144,144,144,144,144, 0, 0],
[144,144, 0, 0,144,144,144, 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,144,144],
[ 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,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,144,144, 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]
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
]
}

View File

@ -1,34 +1,66 @@
main.floors.MT27=
{
"floorId": "MT27",
"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": {},
"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": "MT27",
"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": {},
"changeFloor": {
"0,2": {
"floorId": "MT23",
"loc": [
14,
2
]
},
"4,0": {
"floorId": "MT28",
"loc": [
4,
14
]
}
},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[143,143,143,143, 91,143,143,143,143,143,143,143,143,143,143],
[143,143,143,143, 0,143,143,420,143,143,143,143,143,143,143],
[ 92, 0, 0,482, 0,497,143,430,491,280,143,143,143,143,143],
[143,143,492,143,143,143,143,143,143, 0,143,143,143,143,143],
[143, 0, 0,492,491,492,390, 0,484, 0,143,143,143,143,143],
[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, 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],
[143,568,143,376,482,143,378,143,280,143,143,143,143,143,143],
[143, 0,568,378,381,562,492,143, 23,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,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],
[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],
@ -42,4 +74,13 @@ main.floors.MT27=
[ 0, 0, 0, 0, 0, 0, 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": [
]
}

View File

@ -1,45 +1,135 @@
main.floors.MT28=
{
"floorId": "MT28",
"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": {},
"changeFloor": {},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
"floorId": "MT28",
"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": {
"5,13": [
"注意,如果用跳跃技能把怪物踢走,会导致机关门无法开启"
]
},
"changeFloor": {
"4,14": {
"floorId": "MT27",
"loc": [
4,
0
]
},
"0,7": {
"floorId": "MT26",
"loc": [
14,
7
]
},
"8,0": {
"floorId": "MT29",
"loc": [
8,
14
]
}
},
"beforeBattle": {},
"afterBattle": {
"10,8": [
{
"type": "setValue",
"name": "flag:door_MT28_11_9",
"operator": "+=",
"value": "1"
}
],
"12,8": [
{
"type": "setValue",
"name": "flag:door_MT28_11_9",
"operator": "+=",
"value": "1"
}
]
},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {
"11,9": {
"0": {
"condition": "flag:door_MT28_11_9==2",
"currentFloor": true,
"priority": 0,
"delayExecute": false,
"multiExecute": false,
"data": [
{
"type": "openDoor"
},
{
"type": "setValue",
"name": "flag:door_MT28_11_9",
"operator": "=",
"value": "null"
}
]
}
}
},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[143,143,143,143,143,143,143,143, 91,143,143,143,143,143,143],
[143,143,441,390,396,143, 0,500,491, 0,143,143,143,143,143],
[143,143,143,143,484,280, 0,143, 0, 21,143,143,143,143,143],
[143,482,390,143,143,143,494,143,566,143,143, 0,143,143,143],
[143,441,482,500, 0,484,390,566,420,566,396,482, 22,143,143],
[143,143,492,143,143,143,572,143,566,143,143,494,143,143,143],
[143,143, 0, 0,568,376,482,143, 0,482, 0, 0,143,143,143],
[ 92, 0,484, 0,143,441,378,492, 0,143,143,237,143,143,143],
[143,143,143,568,143,500,143,143,518,143,280,484,280,143,143],
[143,390,484,403,492, 0,403,378,482,143,143, 85,143,143,143],
[143,143,143,143,143,143,143,275,143,143,466,484,467,143,143],
[143,482,376,143, 0,482,376,403, 0,143,143, 23,143,143,143],
[143,520,143,143,518,143,143,143,143,143,143,143,143,143,143],
[143,378,482,519, 0,129,143,143,143,143,143,143,143,143,143],
[143,143,143,143, 93,143,143,143,143,143,143,143,143,143,143]
],
"bgmap": [
[ 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, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0,144, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0,144,144,144,144,144, 0, 0, 0, 0, 0, 0, 0, 0],
[144,144,144, 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,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,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, 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]
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
]
}

View File

@ -1,33 +1,124 @@
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": [],
"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": "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": "jianji",
"loc": [
13,
8
]
},
{
"type": "hide",
"loc": [
[
13,
8
]
],
"remove": true,
"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]跟上去看看。"
],
"eachArrive": [],
"parallelDo": "",
"events": {},
"changeFloor": {
"0,9": {
"floorId": "MT30",
"loc": [
14,
9
]
},
"8,14": {
"floorId": "MT28",
"loc": [
8,
0
]
},
"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],
@ -35,6 +126,28 @@ main.floors.MT29=
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 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],
@ -42,4 +155,7 @@ main.floors.MT29=
[ 0, 0, 0, 0, 0, 0, 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": [
]
}

View File

@ -1,45 +1,93 @@
main.floors.MT30=
{
"floorId": "MT30",
"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": {},
"changeFloor": {},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
"floorId": "MT30",
"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": {},
"changeFloor": {
"14,9": {
"floorId": "MT29",
"loc": [
0,
9
]
},
"0,9": {
"floorId": "MT25",
"loc": [
14,
9
]
},
"11,14": {
"floorId": "MT26",
"loc": [
11,
0
]
}
},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"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,142,142,142,142,142,142],
[142,142,142,142,142,142,142,142,142,142,142,142,142,142,142],
[142,142,142,142,142,142,142,142,142,142,142,142,142,142,142],
[142,142,142,142,142,142,142,142,142,142,142,142,142,142,142],
[142,142,142,142,142,142,142,142,142,142,142,142,142,142,142],
[142,142,142,482,568, 0,390,142,396,142,142,142,142,142,142],
[142,142,390,403,142,484, 0,568,482, 0,403, 0,142,142,142],
[142,142,142,142,142,566, 17,143, 17, 17, 17,500,142,142,142],
[ 92, 0, 0, 0,572,482,482,143, 34,378,376, 34,237,482, 94],
[143,143,143,143,492,143,143,143,143,143,566,143,143,482,143],
[143,487,430,143,403,143,420,441, 21,143,403,403,143,396,143],
[143,280,143,143,562,143,143,280,143,143,143,566,143,403,143],
[143, 34, 34,376,403,378, 34, 34,143,482,492, 0,143,390,143],
[143,143,143,143,143,143,143,143,143,143,143, 93,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, 0, 0, 0,144,144,144,144,144,144,144, 0, 0, 0],
[ 0, 0, 0, 0, 0,144,142,142,142,142,142,144, 0, 0, 0],
[144,144,144,144,144,144, 0, 0, 0, 0,144,144,144,144,144],
[ 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, 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]
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
]
}

191
project/floors/MT31.js Normal file
View File

@ -0,0 +1,191 @@
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
},
"\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,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]什么结束战争,什么完成任务?",
{
"type": "setBlock",
"number": "I476",
"time": 1000
},
"\t[低级智人]\b[up,hero]哎,没问到啊...",
"\t[低级智人]\b[up,hero]战争,又是什么意思呢?",
"\t[低级智人]\b[up,hero]之前智慧之神也提过战争,但是我还没问我们就打起来了。",
"\t[低级智人]\b[up,hero]之后应该就知道了。",
{
"type": "function",
"function": "function(){\ncore.getNextItem()\n}"
},
{
"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]智慧,真的可以掌握万物。",
{
"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": [
{
"type": "openDoor"
},
{
"type": "setValue",
"name": "flag:door_MT31_7_6",
"operator": "=",
"value": "null"
}
]
},
"1": null
},
"7,9": {
"0": {
"condition": "flag:door_MT31_7_6==1",
"currentFloor": true,
"priority": 0,
"delayExecute": false,
"multiExecute": false,
"data": [
{
"type": "openDoor"
},
{
"type": "setValue",
"name": "flag:door_MT31_7_6",
"operator": "=",
"value": "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, 0, 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, 0, 0],
[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": [
]
}

View File

@ -99,6 +99,9 @@ main.floors.MT6=
"name": "animateSpeed",
"value": 277.7778
}
],
"5,5": [
"你可以在百科全书中查看第一章中需要特别说明的怪物特技"
]
},
"changeFloor": {
@ -151,7 +154,7 @@ main.floors.MT6=
[30064,30060,30118,30066, 0, 0, 0, 20, 29, 34, 20, 0, 20, 20, 20],
[30072,30073,30126,30074, 0, 0, 32, 20, 20, 20, 20, 31, 0, 31, 20],
[ 20, 0, 0, 0, 29, 0, 0, 20, 0, 0,204, 0, 31, 0, 20],
[ 20, 0, 0, 0, 0, 0, 29,267, 0, 0, 20,276, 20, 20, 20],
[ 20, 0, 0, 0, 0,129, 29,267, 0, 0, 20,276, 20, 20, 20],
[ 20, 0, 0, 0, 0, 0, 20, 20, 20, 29, 20, 0, 0, 0, 20],
[30060,30112,30113,30114,30065,30066, 0, 34, 0, 0, 20, 29, 20,368, 94],
[30073,30112,30113,30114,30073,30074, 20, 20, 20,209, 0, 34, 0, 0, 20],

View File

@ -14,7 +14,8 @@ main.floors.tower1=
"defaultGround": "T526",
"bgm": "tower.mp3",
"firstArrive": [
"\t[野蛮人]\b[up,hero]这里,便是智慧之塔了"
"\t[野蛮人]\b[up,hero]这里,便是智慧之塔了",
"注意破墙镐在本区结束后会全部删除,请在本区域全部用完"
],
"eachArrive": [],
"parallelDo": "",
@ -145,6 +146,16 @@ main.floors.tower1=
"type": "function",
"function": "function(){\nconsole.trace()\n}"
}
],
"7,14": [
{
"type": "changeFloor",
"floorId": "MT20",
"loc": [
7,
8
]
}
]
},
"afterBattle": {},
@ -216,13 +227,6 @@ main.floors.tower1=
],
"cannotMoveIn": {},
"changeFloor": {
"7,14": {
"floorId": "MT20",
"loc": [
7,
8
]
},
"0,7": {
"floorId": "tower6",
"loc": [

Binary file not shown.

View File

@ -709,10 +709,11 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
[
19,
'电摇嘲讽',
'当勇士移动到怪物同行或同列时,勇士会直接冲向怪物,撞碎路上的所有地形和门,拾取路上的道具,与路上的怪物以及该怪物战斗',
'当勇士移动到怪物同行或同列时,勇士会直接冲向怪物,撞碎路上的所有地形和门,拾取路上的道具,与路上的怪物战斗' +
',最后与该怪物战斗',
'#ff6666'
],
[20, '无敌', '勇士无法打败怪物,除非拥有十字架', '#aaaaaa'],
[20, '荆棘', '勇士无法打败怪物,除非拥有十字架', '#aaaaaa'],
[
21,
'退化',
@ -809,10 +810,11 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
var mon_money = core.getEnemyValue(enemy, 'money', x, y, floorId),
mon_exp = core.getEnemyValue(enemy, 'exp', x, y, floorId),
mon_point = core.getEnemyValue(enemy, 'point', x, y, floorId);
// 坚固
if (core.hasSpecial(mon_special, 3) && mon_def < hero_atk - 1) {
mon_def = hero_atk - 1;
}
if (typeof enemy === 'number')
core.getBlockByNumber(enemy).event.id;
if (typeof enemy === 'string') enemy = core.material.enemys[enemy];
// 饥渴
if (core.hasSpecial(mon_special, 7))
mon_atk += (hero_atk * (enemy.hungry || 0)) / 100;
@ -822,6 +824,20 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
mon_atk += core.getFlag('inte_' + 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;
}
var guards = [];
// 光环和支援检查
@ -845,13 +861,13 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
if (!block.disable) {
// 获得该图块的ID
var id = block.event.id,
enemy = core.material.enemys[id];
e = core.material.enemys[id];
var dx = Math.abs(block.x - x),
dy = Math.abs(block.y - y);
// 检查【支援】技能数字26
if (
enemy &&
core.hasSpecial(enemy.special, 26) &&
e &&
core.hasSpecial(e.special, 26) &&
// 检查支援条件坐标存在距离为1且不能是自己
// 其他类型的支援怪,比如十字之类的话.... 看着做是一样的
x != null &&
@ -865,9 +881,9 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
}
// 抱团
if (
enemy &&
e &&
core.hasSpecial(mon_special, 8) &&
core.hasSpecial(enemy.special, 8) &&
core.hasSpecial(e.special, 8) &&
!(dx == 0 && dy == 0) &&
dx < 3 &&
dy < 3
@ -929,16 +945,6 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
// 后面三个参数主要是可以在光环等效果上可以适用
floorId = floorId || core.status.floorId;
// 怪物的各项数据
// 对坚固模仿等处理扔到了脚本编辑-getEnemyInfo之中
const enemyInfo = core.enemys.getEnemyInfo(
enemy,
hero,
x,
y,
floorId
);
function getDamage() {
let hero_hp = core.getRealStatusOrDefault(hero, 'hp'),
hero_atk = core.getRealStatusOrDefault(hero, 'atk'),
@ -950,6 +956,16 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
origin_hero_atk = core.getStatusOrDefault(hero, 'atk'),
origin_hero_def = core.getStatusOrDefault(hero, 'def');
// 怪物的各项数据
// 对坚固模仿等处理扔到了脚本编辑-getEnemyInfo之中
const enemyInfo = core.enemys.getEnemyInfo(
enemy,
hero,
x,
y,
floorId
);
let mon_hp = enemyInfo.hp,
mon_atk = enemyInfo.atk,
mon_def = enemyInfo.def,
@ -1100,7 +1116,10 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
let damageInfo = null;
let damage = Infinity;
const skills = [['bladeOn', 'blade']];
const skills = [
['bladeOn', 'blade'],
['shieldOn', 'shield']
];
damageInfo = getDamage();
if (damageInfo) damage = damageInfo.damage;
@ -1198,7 +1217,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
core.ui._drawStatistics();
break;
case 72: // H打开帮助页面
core.ui._drawHelp();
core.useItem('I560', true);
break;
case 77: // M快速标记
const [x, y] = flags.mouseLoc;
@ -1287,7 +1306,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
// 要存档的内容
var data = {
floorId: core.status.floorId,
hero: core.clone(core.status.hero),
hero: core.clone(core.status.hero, name => name !== 'chase'),
hard: core.status.hard,
maps: core.clone(core.maps.saveMap()),
route: core.encodeRoute(core.status.route),
@ -1620,13 +1639,13 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = {
// 电摇嘲讽
if (enemy && core.hasSpecial(enemy.special, 19)) {
for (let nx = 0; nx < width; nx++) {
if (!core.noPass(nx, y)) {
if (!core.noPass(nx, y, floorId)) {
mockery[`${nx},${y}`] ??= [];
mockery[`${nx},${y}`].push([x, y]);
}
}
for (let ny = 0; ny < height; ny++) {
if (!core.noPass(x, ny)) {
if (!core.noPass(x, ny, floorId)) {
mockery[`${x},${ny}`] ??= [];
mockery[`${x},${ny}`].push([x, y]);
}

View File

@ -331,7 +331,19 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 =
"E561": 119,
"E562": 120,
"E563": 121,
"E564": 122
"E564": 122,
"E566": 123,
"E567": 124,
"E568": 125,
"E569": 126,
"E570": 127,
"E571": 128,
"E572": 129,
"E573": 130,
"E576": 131,
"E577": 132,
"E578": 133,
"E579": 134
},
"enemy48": {
"angel": 0,
@ -521,7 +533,10 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 =
"I491": 94,
"I558": 95,
"I559": 96,
"I560": 97
"I560": 97,
"I565": 98,
"I574": 99,
"I575": 100
},
"autotile": {
"autotile": 0,

View File

@ -855,7 +855,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"name": "大绿宝石",
"text": ",护盾+${core.values.greenGem}",
"itemEffect": "core.status.hero.mdef += 80 * core.status.thisMap.ratio / core.getFlag(\"hard\") * (core.getSkillLevel(11) / 20 + 1)",
"itemEffectTip": ",智慧+${80 * core.status.thisMap.ratio / core.getFlag(\"hard\") * (core.getSkillLevel(11) / 20 + 1)",
"itemEffectTip": ",智慧+${80 * core.status.thisMap.ratio / core.getFlag(\"hard\") * (core.getSkillLevel(11) / 20 + 1)}",
"useItemEffect": "core.status.hero.mdef += core.values.greenGem",
"canUseItemEffect": "true"
},
@ -925,7 +925,12 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
},
"I420": {
"cls": "items",
"name": "新物品"
"name": "超大红宝石",
"text": "攻击+${core.values.redGem}",
"itemEffect": "core.status.hero.atk += 8 * core.status.thisMap.ratio",
"itemEffectTip": ",攻击+${8 * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.atk += core.values.redGem",
"canUseItemEffect": "true"
},
"I421": {
"cls": "items",
@ -965,7 +970,12 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
},
"I430": {
"cls": "items",
"name": "新物品"
"name": "超大蓝宝石",
"text": ",防御+${core.values.blueGem}",
"itemEffect": "core.status.hero.def += 8 * core.status.thisMap.ratio",
"itemEffectTip": ",防御+${8 * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.def += core.values.blueGem",
"canUseItemEffect": "true"
},
"I431": {
"cls": "items",
@ -1114,15 +1124,30 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
},
"I466": {
"cls": "items",
"name": "新物品"
"name": "璀璨红宝石",
"text": "攻击+${core.values.redGem}",
"itemEffect": "core.status.hero.atk += 16 * core.status.thisMap.ratio",
"itemEffectTip": ",攻击+${16 * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.atk += core.values.redGem",
"canUseItemEffect": "true"
},
"I467": {
"cls": "items",
"name": "新物品"
"name": "璀璨蓝宝石",
"text": ",防御+${core.values.blueGem}",
"itemEffect": "core.status.hero.def += 16 * core.status.thisMap.ratio",
"itemEffectTip": ",防御+${16 * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.def += core.values.blueGem",
"canUseItemEffect": "true"
},
"I468": {
"cls": "items",
"name": "新物品"
"name": "璀璨绿宝石",
"text": ",护盾+${core.values.greenGem}",
"itemEffect": "core.status.hero.mdef += 320 * core.status.thisMap.ratio / core.getFlag(\"hard\") * (core.getSkillLevel(11) / 20 + 1)",
"itemEffectTip": ",智慧+${320 * core.status.thisMap.ratio / core.getFlag(\"hard\") * (core.getSkillLevel(11) / 20 + 1)}",
"useItemEffect": "core.status.hero.mdef += core.values.greenGem",
"canUseItemEffect": "true"
},
"I469": {
"cls": "items",
@ -1130,15 +1155,30 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
},
"I470": {
"cls": "items",
"name": "新物品"
"name": "新物品",
"text": "攻击+${core.values.redGem}",
"itemEffect": "core.status.hero.atk += 32 * core.status.thisMap.ratio",
"itemEffectTip": ",攻击+${32 * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.atk += core.values.redGem",
"canUseItemEffect": "true"
},
"I471": {
"cls": "items",
"name": "新物品"
"name": "新物品",
"text": ",防御+${core.values.blueGem}",
"itemEffect": "core.status.hero.def += 32 * core.status.thisMap.ratio",
"itemEffectTip": ",防御+${32 * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.def += core.values.blueGem",
"canUseItemEffect": "true"
},
"I472": {
"cls": "items",
"name": "新物品"
"name": "新物品",
"text": ",防御+${core.values.blueGem}",
"itemEffect": "core.status.hero.def += 8 * core.status.thisMap.ratio",
"itemEffectTip": ",防御+${8 * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.def += core.values.blueGem",
"canUseItemEffect": "true"
},
"I473": {
"cls": "items",
@ -1154,7 +1194,12 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
},
"I476": {
"cls": "items",
"name": "新物品"
"name": "史诗绿宝石",
"text": ",护盾+${core.values.greenGem}",
"itemEffect": "core.status.hero.mdef += 1280 * core.status.thisMap.ratio / core.getFlag(\"hard\") * (core.getSkillLevel(11) / 20 + 1)",
"itemEffectTip": ",智慧+${1280 * core.status.thisMap.ratio / core.getFlag(\"hard\") * (core.getSkillLevel(11) / 20 + 1)}",
"useItemEffect": "core.status.hero.mdef += core.values.greenGem",
"canUseItemEffect": "true"
},
"I477": {
"cls": "items",
@ -1256,5 +1301,30 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"canUseItemEffect": "true",
"text": "一个包含游戏中所有功能详细说明的百科全书,可以查看游戏中所有的功能",
"useItemEffect": "if (!core.isReplaying()) core.plugin.descOpened.value = true;"
},
"I565": {
"cls": "constants",
"name": "学习",
"canUseItemEffect": "true",
"text": "可以学习怪物的技能,学习后持续${core.getSkillLevel(11) * 3 + 2}场战斗"
},
"I574": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I575": {
"cls": "equips",
"name": "智慧之靴",
"canUseItemEffect": "true",
"text": "用智慧制作出的靴子穿上后增加10%的攻击力和10%的防御",
"equip": {
"type": "鞋子",
"value": {},
"percentage": {
"def": 10,
"atk": 10
}
}
}
}

View File

@ -489,6 +489,21 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e =
"562": {"cls":"enemys","id":"E562"},
"563": {"cls":"enemys","id":"E563"},
"564": {"cls":"enemys","id":"E564"},
"565": {"cls":"items","id":"I565"},
"566": {"cls":"enemys","id":"E566"},
"567": {"cls":"enemys","id":"E567"},
"568": {"cls":"enemys","id":"E568"},
"569": {"cls":"enemys","id":"E569"},
"570": {"cls":"enemys","id":"E570"},
"571": {"cls":"enemys","id":"E571"},
"572": {"cls":"enemys","id":"E572"},
"573": {"cls":"enemys","id":"E573"},
"574": {"cls":"items","id":"I574"},
"575": {"cls":"items","id":"I575"},
"576": {"cls":"enemys","id":"E576"},
"577": {"cls":"enemys","id":"E577"},
"578": {"cls":"enemys","id":"E578"},
"579": {"cls":"enemys","id":"E579"},
"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"]},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 123 KiB

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -531,7 +531,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
// 删除楼层
// core.removeMaps("MT1", "MT300") 删除MT1~MT300之间的全部层
// core.removeMaps("MT10") 只删除MT10层
this.removeMaps = function (fromId, toId) {
this.removeMaps = function (fromId, toId, force) {
toId = toId || fromId;
var fromIndex = core.floorIds.indexOf(fromId),
toIndex = core.floorIds.indexOf(toId);
@ -540,6 +540,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
flags.__removed__ = flags.__removed__ || [];
flags.__disabled__ = flags.__disabled__ || {};
flags.__leaveLoc__ = flags.__leaveLoc__ || {};
flags.__forceDelete__ ??= {};
for (var i = fromIndex; i <= toIndex; ++i) {
var floorId = core.floorIds[i];
if (core.status.maps[floorId].deleted) continue;
@ -557,6 +558,10 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
core.status.maps[floorId].canFlyTo = false;
core.status.maps[floorId].canFlyFrom = false;
core.status.maps[floorId].cannotViewMap = true;
if (force) {
core.status.maps[floorId].forceDelete = true;
flags.__forceDelete__[floorId] = true;
}
}
};
@ -572,6 +577,11 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
for (var i = fromIndex; i <= toIndex; ++i) {
var floorId = core.floorIds[i];
if (!core.status.maps[floorId].deleted) continue;
if (
core.status.maps[floorId].forceDelete ||
flags.__forceDelete__[floorId]
)
continue;
flags.__removed__ = flags.__removed__.filter(f => {
return f != floorId;
});
@ -1442,7 +1452,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
const item = core.material.items[id];
if (item.cls === 'equips') {
// 装备也显示
const diff = item.equip.value ?? {};
const diff = core.clone(item.equip.value ?? {});
const per = item.equip.percentage ?? {};
for (const name in per) {
diff[name + 'per'] = per[name].toString() + '%';
@ -1530,10 +1540,18 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
'X20076'
]
};
const jumpIgnoreFloor = ['MT31'];
// 跳跃
this.jumpSkill = function () {
if (core.status.floorId.startsWith('tower'))
return core.drawTip('当无法使用该技能');
if (
jumpIgnoreFloor.includes(core.status.floorId) ||
flags.onChase
) {
return core.drawTip('当前楼层无法使用该技能');
}
if (!flags.skill2) return;
if (!flags['jump_' + core.status.floorId])
flags['jump_' + core.status.floorId] = 0;
@ -1600,7 +1618,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
true
);
if (!toLoc) return;
core.status.hero.hp -= 200 * flags.hard;
if (flags.chapter <= 1) core.status.hero.hp -= 200 * flags.hard;
core.updateStatusBar();
flags['jump_' + core.status.floorId]++;
if (core.status.hero.hp <= 0) {
@ -3433,6 +3451,11 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
this._moveHero_moving();
};
/**
* 电摇嘲讽
* @param {LocString} loc
* @param {boolean} force
*/
function checkMockery(loc, force) {
if (core.status.lockControl && !force) return;
const mockery = core.status.checkBlock.mockery[loc];
@ -3471,6 +3494,10 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
remove: true,
time: 0
},
{
type: 'function',
function: `function() { core.removeGlobalAnimate(${x}, ${y}) }`
},
{
type: 'animate',
name: 'hand',
@ -3546,6 +3573,12 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
* @param {string} data
*/
async function reloadFloor(data) {
// 如果被砍层了直接忽略
if (
core.status.maps[data].deleted ||
core.status.maps[data].forceDelete
)
return;
// 首先重新加载main.floors对应的楼层
await import(`/project/floors/${data}.js?v=${Date.now()}`);
// 然后写入core.floors并解析
@ -3907,6 +3940,20 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
const skill = parseInt(name.slice(6));
core.upgradeSkill(skill);
});
core.registerReplayAction('study', name => {
if (!name.startsWith('study:')) return false;
const [num, x, y] = name
.slice(6)
.split(',')
.map(v => parseInt(v));
if (!core.canStudySkill(num)) return false;
const id = core.getBlockId(x, y);
const enemy = core.getEnemyInfo(id, void 0, x, y);
if (!enemy.special.includes(num)) return false;
core.studySkill(enemy, num);
return true;
});
},
skillTree: function () {
/**
@ -4086,7 +4133,9 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
{
index: 13,
title: '治愈',
desc: ['每级使血瓶的加血量增加2%'],
desc: [
'使主角能够更好地回复生命每级使血瓶的加血量增加2%'
],
consume:
'level > 5 ? 100 * level ** 2 : 250 * level + 1250',
front: [[10, 3]],
@ -4205,6 +4254,9 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
case 10: // 铸剑为盾
core.setFlag('shieldOn', true);
break;
case 11: // 学习
core.setItem('I565', 1);
break;
}
const consume = core.getSkillConsume(skill);
core.status.hero.mdef -= consume;
@ -4469,5 +4521,74 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = {
core.status[name + 'maps'][floorId] = arr;
return arr;
};
},
study: function () {
// 负责勇士技能:学习
const values = {
1: ['crit'],
6: ['n'],
7: ['hungry'],
8: ['togrther'],
10: ['courage'],
11: ['charge']
};
const cannotStudy = [9, 12, 14, 15, 24];
this.canStudySkill = function (number) {
core.status.hero.special ??= { num: [] };
if (core.status.hero.special.num.length >= 1) {
return false;
}
if (cannotStudy.includes(number)) return false;
return true;
};
this.studySkill = function (enemy, number) {
core.status.hero.special ??= { num: [], last: [] };
const s = core.status.hero.special;
const specials = core.getSpecials();
let special = specials[number - 1][1];
if (special instanceof Function) special = special(enemy);
if (!this.canStudySkill(number)) {
if (!main.replayChecking) {
core.tip('error', `无法学习${special}`);
}
return;
}
s.num.push(number);
s.last.push(core.getSkillLevel(11) * 3 + 2);
const value = values[number] ?? [];
for (const key of value) {
s[key] = enemy[key];
}
};
this.forgetStudiedSkill = function (num, i) {
const s = core.status.hero.special;
const index = i !== void 0 && i !== null ? i : s.num.indexOf(num);
if (index === -1) return;
s.num.splice(index, 1);
s.last.splice(index, 1);
const value = values[number] ?? [];
for (const key of value) {
delete s[key];
}
};
this.declineStudiedSkill = function () {
const s = core.status.hero.special;
s.last = s.last.map(v => v - 1);
};
this.checkStudiedSkill = function () {
const s = core.status.hero.special;
for (let i = 0; i < s.last.length; i++) {
if (s.last[i] <= 0) {
this.forgetStudiedSkill(void 0, i);
i--;
}
}
};
}
};