Deploying to gh-pages from @ c3ae675537 🚀

This commit is contained in:
unanmed committed 2023-04-20 11:51:54 +00:00
1 parent 1f7456a976
commit c474ab5ea0
91 files changed
+213 -33960

No files matched your search

+1 -1
View File
@@ -158,7 +158,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
"E607": {"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":10000,"atk":2750,"def":1500,"money":0,"exp":0,"point":0,"special":[25],"melt":25},
"E610": {"name":"高冷雪人","hp":10000,"atk":2750,"def":1500,"money":2,"exp":150,"point":0,"special":[25],"melt":25},
"E611": {"name":"具形雪人法师","hp":12500,"atk":2750,"def":1750,"money":2,"exp":175,"point":0,"special":[13,25],"melt":30},
"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},
+14
View File
@@ -59,6 +59,20 @@ main.floors.MT42=
0,
13
]
},
"9,2": {
"floorId": "MT46",
"loc": [
3,
14
]
},
"2,0": {
"floorId": "MT47",
"loc": [
7,
14
]
}
},
"beforeBattle": {},
+8 -1
View File
@@ -45,6 +45,13 @@ main.floors.MT44=
0,
5
]
},
"6,2": {
"floorId": "MT46",
"loc": [
11,
14
]
}
},
"beforeBattle": {},
@@ -58,7 +65,7 @@ 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,617, 34,403, 34,600, 0, 0],
[ 92, 0,584,584,584, 0,543, 0, 34,604,604,604, 34, 0, 0],
[584, 0,584,390, 33, 0, 0, 0,378, 0,492, 0,378, 0, 0],
[584, 0,584,390, 33,390,403,396,378, 0,492, 0,378, 0, 0],
[584, 0,643, 33,441,381, 32,595, 0,602,604,610,70176,70177,70177],
[584,584,584,584,584, 0,584,584,494, 0, 34, 0,608, 0, 94],
[ 0, 0, 0, 0, 0,274,376, 32,584,614,584,584,70208,70209,70209],
+56 -12
View File
@@ -11,13 +11,43 @@ main.floors.MT46=
"cannotViewMap": false,
"images": [],
"ratio": 8,
"defaultGround": "T580",
"defaultGround": "T331",
"bgm": "winter.mp3",
"firstArrive": [],
"eachArrive": [],
"parallelDo": "",
"events": {},
"changeFloor": {},
"events": {
"7,12": [
"\t[初级智人]\b[up,hero]这里也有水!",
"\t[初级智人]\b[up,hero]看来下面的水的源头是这里吗。",
"\t[初级智人]\b[up,hero]喝一口吧,说不定有什么奇效。",
"攻防增加20点,智慧增加1000点",
"\t[初级智人]\b[up,hero]...",
"\t[初级智人]\b[up,hero]果然。",
"\t[初级智人]\b[up,hero]这就是智慧之神给我的引导吗。",
"\t[初级智人]\b[up,hero]前往山顶,走吧。",
{
"type": "hide",
"remove": true
}
]
},
"changeFloor": {
"3,14": {
"floorId": "MT42",
"loc": [
9,
2
]
},
"11,14": {
"floorId": "MT44",
"loc": [
6,
2
]
}
},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
@@ -33,17 +63,31 @@ main.floors.MT46=
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 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, 33,378, 0,608, 0,494, 0,608, 0,378, 33,376, 0],
[ 0,336,336,336,336, 0,345,494,345, 0,333,333,333,333, 0],
[ 0, 0,617, 34, 0, 0,610, 33,610, 0, 0, 34,600, 0, 0],
[ 0,403,336, 0, 0, 0, 0,643, 0, 0, 0, 0,333,403, 0],
[ 0,378,336,600, 0, 0, 0, 93, 0, 0, 0,617,333,376, 0],
[ 0,336,336, 0, 0, 0, 0,141, 0, 0, 0, 0,333,333, 0],
[ 0,484,492, 0, 0, 0, 0,141, 0, 0, 0, 0,492,484, 0],
[ 0, 0, 0,540, 0, 0, 0,141, 0, 0, 0,540, 0, 0, 0]
],
"bgmap": [
[20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041],
[20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041],
[20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041],
[20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041,20041],
[20044,20049,20049,20049,20049,20049,20049,20049,20049,20049,20049,20049,20049,20049,20043],
[20042,20057,20057,20057,20057,20057,20057,20057,20057,20057,20057,20057,20057,20057,20040],
[20042,20065,20065,20065,20065,20065,20065,20065,20065,20065,20065,20065,20065,20065,20040],
[20042, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,20040],
[20042, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,20040],
[20042, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,20040],
[20042, 0, 0, 0,20032,20033,20034, 0,20032,20033,20034, 0, 0, 0,20040],
[20042, 0, 0, 0,20040,20041,20042, 0,20040,20041,20042, 0, 0, 0,20040],
[20042, 0, 0, 0,20040,20041,20042, 0,20040,20041,20042, 0, 0, 0,20040],
[20042, 0, 0, 0,20040,20041,20042, 0,20040,20041,20042, 0, 0, 0,20040],
[20036,20033,20034, 0,20040,20041,20042, 0,20040,20041,20042, 0,20032,20033,20035]
],
"fgmap": [
+96 -41
View File
@@ -1,45 +1,100 @@
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]
"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": {
"7,14": {
"floorId": "MT42",
"loc": [
2,
0
]
},
"7,0": {
"floorId": "MT48",
"loc": [
7,
14
]
}
},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[ 0, 0,70030, 0, 0, 0,604, 91,604,70029,70029,70029,70029, 0, 0],
[ 0, 0,70030, 0,70031, 0,604, 0,604, 0, 0, 0,70028,70030,70030],
[70030,70030,70030,70031,70031,70031, 0,608, 0,70028,70028,70028,70028, 0, 0],
[ 0, 0, 0,70031, 0, 0, 0,604, 0, 0, 0, 0,70029,70029,70029],
[70031, 0, 0, 0, 0, 0, 0,604, 0, 0,604, 0, 0, 0,604],
[70031,586,586,586,586,586, 0, 0, 0, 0,604, 0,604, 0,604],
[70031, 0, 0, 0, 0,586, 0,604, 0, 0, 0, 0,604, 0,604],
[70031, 0, 0,585, 0, 0, 0,604, 0,587,587,587,587,587,587],
[ 0,585,585,585, 0,586,586,586, 0,587,587, 0, 0, 0,587],
[ 0, 0, 0, 0, 0, 0, 0,586, 0, 0, 0, 0,587, 0,587],
[ 0, 0, 0,584,584, 0,584,584,584, 0,584, 0,585,585,585],
[70029, 0, 0, 0,584, 0, 0,584, 0, 0,584, 0, 0, 0,585],
[70029, 0, 0, 0,584, 0, 0, 0, 0, 0,584, 0, 0, 0,585],
[70029,584,584,584,584,584,584, 0,584,584,584,584,584,584,584],
[70029, 0, 0, 0, 0, 0, 0, 93, 0, 0, 0, 0, 0, 0, 0]
],
"bgmap": [
[ 0, 0, 0, 0, 0, 0,70056, 0,70058, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0,70056, 0,70058, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0,70056, 0,70058, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0,70056, 0,70058, 0, 0, 0, 0, 0, 0],
[ 0,70048,70049,70049,70049,70049,70051, 0,70052,70049,70049,70049,70049,70049,70049],
[ 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,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,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,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,70065,70065,70065,70065, 0, 0, 0,70065,70065,70065,70065,70065,70065],
[ 0,70072,70073,70073,70073,70073,70073, 0,70073,70073,70073,70073,70073,70073,70073]
],
"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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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]
],
"fg2map": [
]
}
+24 -30
View File
@@ -17,7 +17,15 @@ main.floors.MT48=
"eachArrive": [],
"parallelDo": "",
"events": {},
"changeFloor": {},
"changeFloor": {
"7,14": {
"floorId": "MT47",
"loc": [
7,
0
]
}
},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
@@ -26,38 +34,24 @@ main.floors.MT48=
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[ 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0],
[ 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1],
[ 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0],
[ 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
[ 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0],
[ 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0],
[ 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0],
[ 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0],
[ 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0],
[ 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0],
[ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 93, 0, 0, 0, 0, 0, 0, 0]
],
"bgmap": [
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300],
[300,300,300,300,300,300,300,300,300,300,300,300,300,300,300]
],
"fgmap": [
+1 -1
View File
@@ -1 +1 @@
function _typeof(obj){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol!=="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==="number"){if(it)o=it;var i=0;var F=function F(){};return{s:F,n:function n(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]}},e:function e(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var normalCompletion=true,didErr=false,err;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();normalCompletion=step.done;return step},e:function e(_e3){didErr=true;err=_e3},f:function f(){try{if(!normalCompletion&&it["return"]!=null)it["return"]()}finally{if(didErr)throw err}}}}function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap;var cacheNodeInterop=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule){return obj}if(obj===null||_typeof(obj)!=="object"&&typeof obj!=="function"){return{"default":obj}}var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj)){return cache.get(obj)}var newObj={};var hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj){if(key!=="default"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;if(desc&&(desc.get||desc.set)){Object.defineProperty(newObj,key,desc)}else{newObj[key]=obj[key]}}}newObj["default"]=obj;if(cache){cache.set(obj,newObj)}return newObj}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_x,_r,_arr=[],_n=!0,_d=!1;try{if(_x=(_i=_i.call(arr)).next,0===i){if(Object(_i)!==_i)return;_n=!1}else for(;!(_n=(_s=_x.call(_i)).done)&&(_arr.push(_s.value),_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{if(!_n&&null!=_i["return"]&&(_r=_i["return"](),Object(_r)!==_r))return}finally{if(_d)throw _e}}return _arr}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return exports};var exports={},Op=Object.prototype,hasOwn=Op.hasOwnProperty,defineProperty=Object.defineProperty||function(obj,key,desc){obj[key]=desc.value},$Symbol="function"==typeof Symbol?Symbol:{},iteratorSymbol=$Symbol.iterator||"@@iterator",asyncIteratorSymbol=$Symbol.asyncIterator||"@@asyncIterator",toStringTagSymbol=$Symbol.toStringTag||"@@toStringTag";function define(obj,key,value){return Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}),obj[key]}try{define({},"")}catch(err){define=function define(obj,key,value){return obj[key]=value}}function wrap(innerFn,outerFn,self,tryLocsList){var protoGenerator=outerFn&&outerFn.prototype instanceof Generator?outerFn:Generator,generator=Object.create(protoGenerator.prototype),context=new ConLine truncated
function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol!=="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==="number"){if(it)o=it;var i=0;var F=function F(){};return{s:F,n:function n(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]}},e:function e(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var normalCompletion=true,didErr=false,err;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();normalCompletion=step.done;return step},e:function e(_e3){didErr=true;err=_e3},f:function f(){try{if(!normalCompletion&&it["return"]!=null)it["return"]()}finally{if(didErr)throw err}}}}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _iterableToArrayLimit(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_x,_r,_arr=[],_n=!0,_d=!1;try{if(_x=(_i=_i.call(arr)).next,0===i){if(Object(_i)!==_i)return;_n=!1}else for(;!(_n=(_s=_x.call(_i)).done)&&(_arr.push(_s.value),_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{if(!_n&&null!=_i["return"]&&(_r=_i["return"](),Object(_r)!==_r))return}finally{if(_d)throw _e}}return _arr}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}var CorePlugin=function(exports){"use strict";function createCanvas(name,zIndex){if(!name)return;var canvas=document.createElement("canvas");canvas.id=name;canvas.className="gameCanvas";if(main.mode!="editor")canvas.style.zIndex=zIndex||0;document.getElementById("gameDraw").appendChild(canvas);var ctx=canvas.getContext("2d");core.canvas[name]=ctx;return canvas}var bg2Canvas=createCanvas("bg2",20);var fg2Canvas=createCanvas("fg2",63);core.bigmap.canvas=["bg2","fg2","bg","event","event2","fg","damage"];core.initStatus.bg2maps={};core.initStatus.fg2maps={};if(main.mode=="editor"){document.getElementById("mapEdit").insertBefore(bg2Canvas,document.getElementById("event"));document.getElementById("mapEdit").insertBefore(fg2Canvas,document.getElementById("ebm"));var num=4;editor.dom.bg2c=core.canvas.bg2.canvas;editor.dom.bg2Ctx=core.canvas.bg2;editor.dom.fg2c=core.canvas.fg2.canvas;editor.dom.fg2Ctx=core.canvas.fg2;editor.dom.maps.push("bg2map","fg2map");editor.dom.canvas.push("bg2","fg2");var createCanvasBtn=function createCanvasBtn(name){var input=document.createElement("input");var id="layerMod"+num++;var value=name+"map";input.type="radio";input.name="layerMod";input.id=id;input.value=value;editor.dom[id]=input;input.onchange=function(){editor.uifunctions.setLayerMod(value)};return input};var createCanvasBtn_mobile=function createCanvasBtn_mobile(name){var input=document.createElement("option");var id="layerMod"+num++;var value=name+"map";input.name="layerMod";input.value=value;editor.dom[id]=input;return input};if(!editor.isMobile){var input=createCanvasBtn("bg2");var input2=createCanvasBtn("fg2");var child=document.getElementById("layerMod"),parent=child.parentNode;parent.insertBefore(input,child);var txt=document.createTextNode("\u80CC2");parent.insertBefore(txt,child);parent.appendChild(input2);var txt2=document.createTextNode("\u524D2");parent.appendChild(txt2)}else{var input=createCanvasBtn_mobile("bg2");var input2=createCanvasBtn_mobile("fg2");input.innerText="\u80CC\u666F2";input2.innerText="\u524D\u666F2";var parent=document.getElementById("layerMod");parent.insertBefore(input,parent.children[1]);parent.appendChild(input2)}}core.maps._loadFlLine truncated