feat: 2023-3-24
This commit is contained in:
parent
ae0bef770f
commit
54415e1d7b
File diff suppressed because one or more lines are too long
BIN
project/autotiles/autotile5.png
Normal file
BIN
project/autotiles/autotile5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.8 KiB |
BIN
project/bgms/BlackBlade.mp3
Normal file
BIN
project/bgms/BlackBlade.mp3
Normal file
Binary file not shown.
BIN
project/bgms/beishanb.mp3
Normal file
BIN
project/bgms/beishanb.mp3
Normal file
Binary file not shown.
BIN
project/bgms/sjnj.mp3
Normal file
BIN
project/bgms/sjnj.mp3
Normal file
Binary file not shown.
@ -36,7 +36,20 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
"FF7",
|
||||
"FF8",
|
||||
"FF9",
|
||||
"FF10"
|
||||
"FF10",
|
||||
"YZ16",
|
||||
"YZ17",
|
||||
"YZ18",
|
||||
"CL1",
|
||||
"CL2",
|
||||
"CL3",
|
||||
"CL4",
|
||||
"CL5",
|
||||
"CL6",
|
||||
"CL7",
|
||||
"CL8",
|
||||
"CL9",
|
||||
"CL10"
|
||||
],
|
||||
"floorPartitions": [],
|
||||
"images": [
|
||||
@ -90,14 +103,16 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
"bgms": [
|
||||
"1-2.mp3",
|
||||
"A.mp3",
|
||||
"BlackBlade.mp3",
|
||||
"Breaking.mp3",
|
||||
"beishanb.mp3",
|
||||
"bgm.mp3",
|
||||
"biaoti.mp3",
|
||||
"bihaichaosheng.mp3",
|
||||
"chongerfei.mp3",
|
||||
"jiandanyuchuxia.mp3",
|
||||
"shiyu.mp3",
|
||||
"starsky.mp3",
|
||||
"sjnj.mp3",
|
||||
"tuo.mp3",
|
||||
"zhandou.mp3"
|
||||
],
|
||||
@ -120,6 +135,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
"error.mp3",
|
||||
"floor.mp3",
|
||||
"gem.mp3",
|
||||
"hand.mp3",
|
||||
"hou.mp3",
|
||||
"icePickaxe.mp3",
|
||||
"item.mp3",
|
||||
@ -176,7 +192,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
1
|
||||
],
|
||||
"action": [
|
||||
"简单模式获得30%减伤,开启负伤",
|
||||
"简单模式获得30%减伤,开启负伤,血瓶效果增加",
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "item:I436",
|
||||
@ -233,8 +249,6 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
}
|
||||
],
|
||||
"equipName": [
|
||||
"武器",
|
||||
"盾牌",
|
||||
"卷轴",
|
||||
"卷轴",
|
||||
"卷轴",
|
||||
@ -309,7 +323,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
"loc": {
|
||||
"direction": "down",
|
||||
"x": 6,
|
||||
"y": 6
|
||||
"y": 0
|
||||
},
|
||||
"flags": {},
|
||||
"followers": [],
|
||||
|
@ -749,7 +749,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
|
||||
"E1133": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1134": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1135": {"name":"青蛛队长","hp":15000,"atk":680,"def":480,"money":150,"exp":0,"point":0,"special":[40],"displayIdInBook":null},
|
||||
"E1136": {"name":"普通魔蛛","hp":5000,"atk":350,"def":280,"money":40,"exp":0,"point":0,"special":[5]},
|
||||
"E1136": {"name":"普通魔蛛","hp":5000,"atk":350,"def":280,"money":40,"exp":0,"point":0,"special":[5,22],"damage":3000},
|
||||
"E1137": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1138": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1139": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
@ -1210,11 +1210,11 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
|
||||
"E1594": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1595": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1596": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1597": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1598": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1599": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1600": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1601": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1597": {"name":"丛林史莱姆","hp":1258,"atk":275,"def":165,"money":21,"exp":0,"point":0,"special":[44],"x":15},
|
||||
"E1598": {"name":"丛林红史莱姆","hp":1155,"atk":305,"def":175,"money":23,"exp":0,"point":0,"special":[1]},
|
||||
"E1599": {"name":"墨史莱姆","hp":1850,"atk":302,"def":155,"money":25,"exp":0,"point":0,"special":[]},
|
||||
"E1600": {"name":"丛林史莱姆王","hp":2500,"atk":300,"def":185,"money":27,"exp":0,"point":0,"special":[]},
|
||||
"E1601": {"name":"黄金史莱姆武士","hp":855,"atk":125,"def":395,"money":22,"exp":0,"point":0,"special":[2]},
|
||||
"E1602": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1603": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1604": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
@ -1260,13 +1260,13 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
|
||||
"E1644": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1645": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1646": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1647": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1648": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1649": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1650": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1651": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1652": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1653": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1647": {"name":"丛林盾骷","hp":2255,"atk":455,"def":265,"money":32,"exp":0,"point":0,"special":[45,48,49],"displayIdInBook":null,"defValue":10},
|
||||
"E1648": {"name":"丛林魔骷","hp":1855,"atk":475,"def":215,"money":30,"exp":0,"point":0,"special":[50]},
|
||||
"E1649": {"name":"红奇异花","hp":1455,"atk":390,"def":115,"money":24,"exp":0,"point":0,"special":[9],"purify":2},
|
||||
"E1650": {"name":"蓝奇异花","hp":1428,"atk":360,"def":135,"money":25,"exp":0,"point":0,"special":[7]},
|
||||
"E1651": {"name":"紫奇异花","hp":1680,"atk":345,"def":175,"money":27,"exp":0,"point":0,"special":[]},
|
||||
"E1652": {"name":"粉奇异花","hp":2254,"atk":325,"def":240,"money":28,"exp":0,"point":0,"special":[]},
|
||||
"E1653": {"name":"魔力草妖","hp":2854,"atk":345,"def":258,"money":35,"exp":0,"point":0,"special":[46],"displayIdInBook":null},
|
||||
"E1654": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1655": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
"E1656": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
|
||||
|
200
project/floors/CL1.js
Normal file
200
project/floors/CL1.js
Normal file
@ -0,0 +1,200 @@
|
||||
main.floors.CL1=
|
||||
{
|
||||
"floorId": "CL1",
|
||||
"title": "丛林 1 ",
|
||||
"name": "丛林1",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"cannotViewMap": false,
|
||||
"cannotMoveDirectly": false,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"firstArrive": [
|
||||
{
|
||||
"type": "hide",
|
||||
"loc": [
|
||||
[
|
||||
6,
|
||||
1
|
||||
]
|
||||
],
|
||||
"floorId": "FF10",
|
||||
"remove": true
|
||||
},
|
||||
"\\c[50]\r[red]第三章 晋森宝\r\\c[]",
|
||||
{
|
||||
"type": "if",
|
||||
"condition": "(flag:hard===3)",
|
||||
"true": [
|
||||
{
|
||||
"type": "setEnemy",
|
||||
"id": "E1597",
|
||||
"name": "def",
|
||||
"operator": "+=",
|
||||
"value": "10"
|
||||
},
|
||||
{
|
||||
"type": "setEnemy",
|
||||
"id": "E1597",
|
||||
"name": "hp",
|
||||
"operator": "+=",
|
||||
"value": "150"
|
||||
},
|
||||
{
|
||||
"type": "setEnemy",
|
||||
"id": "E1598",
|
||||
"name": "atk",
|
||||
"operator": "+=",
|
||||
"value": "20"
|
||||
},
|
||||
{
|
||||
"type": "setEnemy",
|
||||
"id": "E1598",
|
||||
"name": "hp",
|
||||
"operator": "+=",
|
||||
"value": "200"
|
||||
},
|
||||
{
|
||||
"type": "setEnemy",
|
||||
"id": "E1599",
|
||||
"name": "atk",
|
||||
"operator": "+=",
|
||||
"value": "20"
|
||||
},
|
||||
{
|
||||
"type": "setEnemy",
|
||||
"id": "E1599",
|
||||
"name": "hp",
|
||||
"operator": "+=",
|
||||
"value": "200"
|
||||
},
|
||||
{
|
||||
"type": "setEnemy",
|
||||
"id": "E1601",
|
||||
"name": "hp",
|
||||
"operator": "*=",
|
||||
"value": "1.2"
|
||||
},
|
||||
{
|
||||
"type": "setEnemy",
|
||||
"id": "E1649",
|
||||
"name": "hp",
|
||||
"operator": "+=",
|
||||
"value": "300"
|
||||
},
|
||||
{
|
||||
"type": "setEnemy",
|
||||
"id": "E1650",
|
||||
"name": "hp",
|
||||
"operator": "+=",
|
||||
"value": "500"
|
||||
},
|
||||
{
|
||||
"type": "setEnemy",
|
||||
"id": "E1652",
|
||||
"name": "hp",
|
||||
"operator": "+=",
|
||||
"value": "500"
|
||||
},
|
||||
{
|
||||
"type": "setEnemy",
|
||||
"id": "E1651",
|
||||
"name": "hp",
|
||||
"operator": "+=",
|
||||
"value": "500"
|
||||
},
|
||||
{
|
||||
"type": "setEnemy",
|
||||
"id": "E1648",
|
||||
"name": "hp",
|
||||
"operator": "+=",
|
||||
"value": "500"
|
||||
},
|
||||
{
|
||||
"type": "setEnemy",
|
||||
"id": "E1648",
|
||||
"name": "atk",
|
||||
"operator": "+=",
|
||||
"value": "15"
|
||||
}
|
||||
],
|
||||
"false": []
|
||||
}
|
||||
],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {
|
||||
"0,6": {
|
||||
"floorId": "YZ18",
|
||||
"loc": [
|
||||
12,
|
||||
6
|
||||
]
|
||||
},
|
||||
"12,7": {
|
||||
"floorId": "CL2",
|
||||
"loc": [
|
||||
12,
|
||||
7
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {
|
||||
"8,9": [
|
||||
{
|
||||
"type": "function",
|
||||
"function": "function(){\ncore.changeHero(0);\n}"
|
||||
},
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "item:sword4",
|
||||
"operator": "+=",
|
||||
"value": "1"
|
||||
},
|
||||
"\t[彭绍谦,hero]拿到一把武器,美滋滋"
|
||||
]
|
||||
},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336],
|
||||
[455,370, 22, 0,1599, 0,370, 0,1598, 0,50336,370,50336],
|
||||
[50336,50336,50336,50336,50336,50336,50336,50336,50336, 0, 81,1651,50336],
|
||||
[50336,363, 0,1784,50336,446, 0,370,50336,441,50336, 21,50336],
|
||||
[50336, 0,1600, 0,50336, 0,1649, 0,50336, 0,50336,416,50336],
|
||||
[50336,50336, 81,50336,50336,50336, 81,50336,50336,1650,50336,364,50336],
|
||||
[ 94, 0, 0,1598, 0, 0, 0,1597, 0, 0,50336,50336,50336],
|
||||
[50336,50336,1597,50336, 21, 0,445,50336,370, 0,1601, 0, 94],
|
||||
[50336,369,368,50336,50336, 81,50336,50336,50336,50336, 81,50336,50336],
|
||||
[50336,50336,50336,50336, 0,1650, 0,50336,371,50336,1600, 0,50336],
|
||||
[50336, 0,379,50336, 21, 0, 21,50336,368,50336,50336, 21,50336],
|
||||
[50336,370, 0,1601, 21,426, 21,50336,1648, 81, 0,365,50336],
|
||||
[50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
],
|
||||
"flyPoint": [
|
||||
0,
|
||||
6
|
||||
],
|
||||
"bgm": "sjnj.mp3"
|
||||
}
|
44
project/floors/CL10.js
Normal file
44
project/floors/CL10.js
Normal file
@ -0,0 +1,44 @@
|
||||
main.floors.CL10=
|
||||
{
|
||||
"floorId": "CL10",
|
||||
"title": "丛林 10 ",
|
||||
"name": "丛林10",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"cannotViewMap": false,
|
||||
"cannotMoveDirectly": false,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"bgm": "sjnj.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]
|
||||
],
|
||||
}
|
114
project/floors/CL2.js
Normal file
114
project/floors/CL2.js
Normal file
@ -0,0 +1,114 @@
|
||||
main.floors.CL2=
|
||||
{
|
||||
"floorId": "CL2",
|
||||
"title": "丛林 2 ",
|
||||
"name": "丛林2",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"cannotViewMap": false,
|
||||
"cannotMoveDirectly": false,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"bgm": "sjnj.mp3",
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {
|
||||
"12,7": {
|
||||
"floorId": "CL1",
|
||||
"loc": [
|
||||
12,
|
||||
7
|
||||
]
|
||||
},
|
||||
"0,6": {
|
||||
"floorId": "CL3",
|
||||
"loc": [
|
||||
0,
|
||||
6
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {
|
||||
"1,4": [
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "flag:door_CL2_2_3",
|
||||
"operator": "+=",
|
||||
"value": "1"
|
||||
}
|
||||
],
|
||||
"3,4": [
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "flag:door_CL2_2_3",
|
||||
"operator": "+=",
|
||||
"value": "1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {
|
||||
"2,3": {
|
||||
"0": {
|
||||
"condition": "flag:door_CL2_2_3==2",
|
||||
"currentFloor": true,
|
||||
"priority": 0,
|
||||
"delayExecute": false,
|
||||
"multiExecute": false,
|
||||
"data": [
|
||||
{
|
||||
"type": "openDoor"
|
||||
},
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "flag:door_CL2_2_3",
|
||||
"operator": "=",
|
||||
"value": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"1": null
|
||||
}
|
||||
},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336],
|
||||
[50336, 21,368, 21,50336,368,50336, 0,1598, 81, 0, 21,50336],
|
||||
[50336,364, 0,363,50336,1598,50338, 0, 0,50336,443, 0,50336],
|
||||
[50336,50336, 85,50336,50336,361,50336,426, 0,50336, 0,416,50336],
|
||||
[50336,1601, 0,1601,50336,1599,50336,50336,50336,50336,1597,50336,50336],
|
||||
[50336,50336, 81,50336,50336, 81,50336,1784, 0,50336, 0,370,50336],
|
||||
[ 92, 0, 21, 0,367, 0,1650, 0, 21,50336, 0, 0,50336],
|
||||
[50336, 81,50336,50336,50336,50336,50336,50336, 0, 81,1649, 0, 92],
|
||||
[50336,1648, 0,416, 0,424,1600, 0, 82,50336,50336,50336,50336],
|
||||
[50336, 0,50336,50336, 82,50336,50336,50336,1650,50336,387,10110,50336],
|
||||
[50336, 21,50336, 0,445, 0,50336, 21, 0,50336, 0, 0,50336],
|
||||
[50336,365,50336,1785, 0,455,50336, 0,370, 81,1652, 0,50336],
|
||||
[50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
],
|
||||
"flyPoint": [
|
||||
12,
|
||||
7
|
||||
]
|
||||
}
|
75
project/floors/CL3.js
Normal file
75
project/floors/CL3.js
Normal file
@ -0,0 +1,75 @@
|
||||
main.floors.CL3=
|
||||
{
|
||||
"floorId": "CL3",
|
||||
"title": "丛林 3 ",
|
||||
"name": "丛林3",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"cannotViewMap": false,
|
||||
"cannotMoveDirectly": false,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"bgm": "sjnj.mp3",
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {
|
||||
"0,6": {
|
||||
"floorId": "CL2",
|
||||
"loc": [
|
||||
0,
|
||||
6
|
||||
]
|
||||
},
|
||||
"6,0": {
|
||||
"floorId": "CL4",
|
||||
"loc": [
|
||||
6,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[50336,438,368, 21,1784,1600, 91,50336,50336,50336,50336,50336,50336],
|
||||
[50336,50336,50336,50336,50336,50336, 0,50336,370,50336,1784,1784,50336],
|
||||
[50336,426, 0,426, 0,50336,1598,50336, 21,50336, 21,1784,50336],
|
||||
[50336, 0,454, 0,1652, 82, 0,50336, 0,50336,1599,50336,50336],
|
||||
[50336,426, 0,426, 0,50336,1784,50336,1600,50336, 0,1599,50336],
|
||||
[50336,50336,50336,50336,50336,50336, 0,50336, 81,50336,50336, 81,50336],
|
||||
[ 94, 0,1649, 0,370, 0,1597, 0, 0,1650, 0, 0,50336],
|
||||
[50336, 81,50336,1648,50336, 81,50336,50336, 81,50336,50336,1601,50336],
|
||||
[50336,1600,50336,443,50336,1651,50336, 0,1600, 0,50336,363,50336],
|
||||
[50336, 0,50336,364,50336,1784,50336, 21,50336, 0,50336,50336,50336],
|
||||
[50336, 21,50336,50336,50336, 0,50336, 21,50336,1651, 81,445,50336],
|
||||
[50336,361,370,1648, 0,368,50336, 21,50336,370,50336,368,50336],
|
||||
[50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
],
|
||||
"flyPoint": [
|
||||
0,
|
||||
6
|
||||
]
|
||||
}
|
75
project/floors/CL4.js
Normal file
75
project/floors/CL4.js
Normal file
@ -0,0 +1,75 @@
|
||||
main.floors.CL4=
|
||||
{
|
||||
"floorId": "CL4",
|
||||
"title": "丛林 4 ",
|
||||
"name": "丛林4",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"cannotViewMap": false,
|
||||
"cannotMoveDirectly": false,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"bgm": "sjnj.mp3",
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {
|
||||
"6,0": {
|
||||
"floorId": "CL3",
|
||||
"loc": [
|
||||
6,
|
||||
0
|
||||
]
|
||||
},
|
||||
"12,0": {
|
||||
"floorId": "CL5",
|
||||
"loc": [
|
||||
12,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[50336,50336,50336,50336,50336,50336, 93,50336, 0,1600,370, 0, 94],
|
||||
[1647, 0, 21,383,368,50336, 0,50336,1652,50336,50336,50336, 82],
|
||||
[ 81,50336,50336,50336,50336,50336,1650, 81, 0,1784, 0,1601, 0],
|
||||
[ 0, 0,50336,370, 0,50336, 0,50336,50336,50336,50336,50336, 81],
|
||||
[50336, 0,1648, 0, 0, 82,443, 81,1598, 0,370,50336,1599],
|
||||
[50336,1649,50336,50336, 81,50336, 0,50336,50336,50336,1600,50336, 0],
|
||||
[50336, 0,50336, 0,1653,50336,50338,50336,455,50336, 0,50336, 21],
|
||||
[50336,370,50336, 21, 21,50336,1598,50336,438,50336, 21,50336, 0],
|
||||
[50336, 0,50336,452,452,50336, 0,50336,364,50336,363,50336,445],
|
||||
[50336,1601,50336,1785,1785,50336, 21,50336, 21,50336,370,50336, 0],
|
||||
[50336, 0,50336,50336,50336,50336, 0,50336, 0,50336,50336,50336,1651],
|
||||
[50336, 0, 21, 0,1649, 81,1599,50336,1647, 81, 0,370, 0],
|
||||
[50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
],
|
||||
"flyPoint": [
|
||||
6,
|
||||
0
|
||||
]
|
||||
}
|
70
project/floors/CL5.js
Normal file
70
project/floors/CL5.js
Normal file
@ -0,0 +1,70 @@
|
||||
main.floors.CL5=
|
||||
{
|
||||
"floorId": "CL5",
|
||||
"title": "丛林 5 ",
|
||||
"name": "丛林5",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"cannotViewMap": false,
|
||||
"cannotMoveDirectly": false,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"bgm": "sjnj.mp3",
|
||||
"firstArrive": [
|
||||
"\t[彭绍麟,fairy]欢迎使用事件编辑器(双击方块可直接预览)"
|
||||
],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {
|
||||
"12,0": {
|
||||
"floorId": "CL4",
|
||||
"loc": [
|
||||
12,
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[50336,50336,50336,50336,50336,50336,50336,50336,50336,50336,50336, 0, 92],
|
||||
[50336, 0,50336, 0, 0,50336, 0, 0, 0, 0, 0, 0,50336],
|
||||
[50336, 0,50336, 0, 0,50336, 0,50336,50336,50336,50336, 0,50336],
|
||||
[50336, 0,50336, 0, 0,50336, 0,50336, 0, 0,50336, 0,50336],
|
||||
[50336, 0,50336, 0, 0,50336, 0, 0, 0, 0,50336, 0,50336],
|
||||
[50336, 0,50336, 0, 0,50336, 0,50336, 0, 0,50336, 0,50336],
|
||||
[50336, 0,50336, 0, 0,50336, 0,50336, 0, 0,50336, 0,50336],
|
||||
[50336, 0,50336, 0, 0, 0, 0,50336, 0, 0,50336, 0,50336],
|
||||
[50336, 0,50336,50336,50336,50336, 0,50336,50336,50336,50336, 0,50336],
|
||||
[50336, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,50336],
|
||||
[50336, 0,50336,50336,50336,50336, 0,50336,50336,50336,50336, 0,50336],
|
||||
[50336, 0, 0, 0, 0,50336, 0, 0, 0, 0,50336, 0,50336],
|
||||
[50336,50336,50336,50336,50336,50336, 93,50336,50336,50336,50336,50336,50336]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
],
|
||||
"flyPoint": [
|
||||
12,
|
||||
0
|
||||
]
|
||||
}
|
44
project/floors/CL6.js
Normal file
44
project/floors/CL6.js
Normal file
@ -0,0 +1,44 @@
|
||||
main.floors.CL6=
|
||||
{
|
||||
"floorId": "CL6",
|
||||
"title": "丛林 6 ",
|
||||
"name": "丛林6",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"cannotViewMap": false,
|
||||
"cannotMoveDirectly": false,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"bgm": "sjnj.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]
|
||||
],
|
||||
}
|
44
project/floors/CL7.js
Normal file
44
project/floors/CL7.js
Normal file
@ -0,0 +1,44 @@
|
||||
main.floors.CL7=
|
||||
{
|
||||
"floorId": "CL7",
|
||||
"title": "丛林 7 ",
|
||||
"name": "丛林7",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"cannotViewMap": false,
|
||||
"cannotMoveDirectly": false,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"bgm": "sjnj.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]
|
||||
],
|
||||
}
|
44
project/floors/CL8.js
Normal file
44
project/floors/CL8.js
Normal file
@ -0,0 +1,44 @@
|
||||
main.floors.CL8=
|
||||
{
|
||||
"floorId": "CL8",
|
||||
"title": "丛林 8 ",
|
||||
"name": "丛林8",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"cannotViewMap": false,
|
||||
"cannotMoveDirectly": false,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"bgm": "sjnj.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]
|
||||
],
|
||||
}
|
44
project/floors/CL9.js
Normal file
44
project/floors/CL9.js
Normal file
@ -0,0 +1,44 @@
|
||||
main.floors.CL9=
|
||||
{
|
||||
"floorId": "CL9",
|
||||
"title": "丛林 9 ",
|
||||
"name": "丛林9",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"cannotViewMap": false,
|
||||
"cannotMoveDirectly": false,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "grass",
|
||||
"bgm": "sjnj.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]
|
||||
],
|
||||
}
|
@ -72,11 +72,11 @@ main.floors.DY9=
|
||||
]
|
||||
]
|
||||
},
|
||||
"\t[外门弟子,npc3]\b[this,6,4]咦?这里怎么打开了?",
|
||||
"\t[外门弟子,npc0]\b[this,6,4]咦?这里怎么打开了?",
|
||||
"\t[新生,N1723]\b[this,5,4]师姐,这里怎么了",
|
||||
"\t[外门弟子,npc3]\b[this,6,4]只是很奇怪,这里平时是封闭的,不知道为什么打开了",
|
||||
"\t[外门弟子,npc0]\b[this,6,4]只是很奇怪,这里平时是封闭的,不知道为什么打开了",
|
||||
"\t[新生,N1723]\b[this,5,4]师姐,我们能进去吗",
|
||||
"\t[外门弟子,npc3]\b[this,6,4]进去看看,我也好奇里面是什么东西",
|
||||
"\t[外门弟子,npc0]\b[this,6,4]进去看看,我也好奇里面是什么东西",
|
||||
{
|
||||
"type": "jump",
|
||||
"from": [
|
||||
@ -121,9 +121,9 @@ main.floors.DY9=
|
||||
"name": "zhandou.mp3",
|
||||
"startTime": 162
|
||||
},
|
||||
"\t[外门弟子,npc3]师弟!快跑!",
|
||||
"\t[外门弟子,npc0]师弟!快跑!",
|
||||
"\t[新生,N1723]师姐!",
|
||||
"\t[外门弟子,npc3]快跑!啊!",
|
||||
"\t[外门弟子,npc0]快跑!啊!",
|
||||
{
|
||||
"type": "setBlock",
|
||||
"number": "N1723",
|
||||
|
@ -196,7 +196,7 @@ main.floors.FF1=
|
||||
"parallelDo": "",
|
||||
"events": {
|
||||
"7,12": [
|
||||
"彭绍谦可以拿武器防具和卷轴,所有武器防具卷轴统一用一个模型放置在地图上",
|
||||
"彭绍谦可以拿武器防具和卷轴,所有武器防具卷轴统一用一个模型放置在地图上\n舒落雪的攻击力为魔攻(无视敌人防御力),防御力为真实防御(可防御敌人魔攻,无视反击),击败怪物额外获得8点魔力值,但不能捡装备,红蓝绿宝石无效,黄宝石效果减少。\n彭绍谦的最终对手是赤龙皇、黑魂皇帝周雨晨,舒落雪的最终对手是青耀。",
|
||||
"\t[武器,I371]这是武器的模型,代表所有的武器",
|
||||
"\t[防具,I373]这是防具的模型,代表所有的防具",
|
||||
"\t[卷轴,I345]这是卷轴的模型,代表所有的卷轴"
|
||||
|
@ -280,18 +280,108 @@ main.floors.FF10=
|
||||
]
|
||||
]
|
||||
},
|
||||
"\t[孟致,king]\b[this,6,3]还得我出手!",
|
||||
{
|
||||
"type": "animate",
|
||||
"name": "sg",
|
||||
"loc": [
|
||||
6,
|
||||
4
|
||||
"type": "confirm",
|
||||
"text": "确认要跳过剧情吗?",
|
||||
"yes": [],
|
||||
"no": [
|
||||
"\t[孟致,king]\b[this,6,3]还得我出手!",
|
||||
{
|
||||
"type": "animate",
|
||||
"name": "sg",
|
||||
"loc": [
|
||||
6,
|
||||
4
|
||||
]
|
||||
},
|
||||
"\t[彭绍谦,hero]啊!",
|
||||
"\t[舒落雪,N1696]绍谦!",
|
||||
"\t[孟致,king]\b[this,6,3]跟我到会议室好好谈谈!",
|
||||
{
|
||||
"type": "hide",
|
||||
"loc": [
|
||||
[
|
||||
6,
|
||||
3
|
||||
]
|
||||
],
|
||||
"remove": true
|
||||
},
|
||||
{
|
||||
"type": "changeFloor",
|
||||
"floorId": "YZ15",
|
||||
"loc": [
|
||||
6,
|
||||
7
|
||||
]
|
||||
},
|
||||
"\t[秦元,N1759]\b[this,6,2]师弟,这是怎么回事",
|
||||
"\t[孟致,king]\b[this,8,4]师兄,经过我一番调查,上次解开药族与魔蛛族之间的封印,就是彭绍谦和舒落雪这两人所为",
|
||||
"\t[万广,N1763]\b[this,4,7]我当时就说是他们两个了,你们还不信",
|
||||
"\t[王梓轩,N1687]\b[this,4,5]这其中是否有什么误会……",
|
||||
"\t[孟致,king]\b[this,8,4]能有什么误会?彭绍谦从小在药族长大,他能不知道大长老的命令?虽然大长老没有告诉外门弟子那边的封印,但他确确实实干了坏事",
|
||||
"\t[孟致,king]\b[this,8,4]那些天,有好几个弟子看到他们两个往那边去了",
|
||||
"\t[孟致,king]\b[this,8,4]彭绍谦,你可招认?",
|
||||
"\t[彭绍谦,hero]事已至此,我无话可说,此事是我一人所为,舒落雪初来药族,不熟悉药族规矩,还望长老不要责罚她",
|
||||
"\t[舒落雪,N1696]绍谦!",
|
||||
"\t[彭寂灵,N1683]\b[this,2,8]谦儿!",
|
||||
"\t[孟致,king]\b[this,8,4]舒落雪比你大了几岁,你这十几年都没去碰过封印,定是她指使的。你们谁也别想逃脱惩罚!",
|
||||
"\t[舒落雪,N1696]我是很好奇那个封印,没想到闯下大祸,甘愿受罚。还望长老不要责罚彭绍谦,他是被我强行拉着去破封印的……",
|
||||
"\t[彭绍谦,hero]落雪……",
|
||||
"\t[孟致,king]\b[this,8,4]哼!",
|
||||
"\t[王梓轩,N1687]\b[this,4,5]是该责罚,不过二长老准备如何责罚他们二人?",
|
||||
"\t[孟致,king]\b[this,8,4]他们破了封印,导致几名弟子死亡,罪不可赦!自然要以命抵命!",
|
||||
"\t[彭寂灵,N1683]\b[this,2,8]不可以!",
|
||||
"\t[孟致,king]\b[this,8,4]彭寂灵,你想干什么!想造反吗!",
|
||||
"\t[彭寂灵,N1683]\b[this,2,8]我……谦儿只是一时疏忽……二长老万万不可如此啊!",
|
||||
"\t[万广,N1763]\b[this,4,7]那怎么可以,他们二人的事,导致那么多弟子死亡,岂可轻易饶恕",
|
||||
"\t[彭绍麟,N1700]\b[this,10,8]哥哥……",
|
||||
"\t[彭绍谦,hero]我没事……",
|
||||
"\t[王梓轩,N1687]\b[this,4,5]彭绍谦虽然有错,但他在药族十几年来采药,也是有功之人,且彭家为药族做了多少贡献",
|
||||
"\t[王梓轩,N1687]\b[this,4,5]弟子觉得不能杀了他",
|
||||
"\t[孟致,king]\b[this,8,4]……",
|
||||
"\t[秦元,N1759]\b[this,6,2]梓轩说的有理,不过他们二人既然犯错,死罪可免,活罪难逃!就赶出药族吧",
|
||||
"\t[孟致,king]\b[this,8,4]真是便宜你们了",
|
||||
"\t[彭绍谦,hero]多谢大长老",
|
||||
"\t[秦元,N1759]\b[this,6,2]你们退下吧",
|
||||
"\t[彭绍谦,hero]是!",
|
||||
{
|
||||
"type": "moveHero",
|
||||
"steps": [
|
||||
"down:4"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "setHeroOpacity",
|
||||
"opacity": 0
|
||||
},
|
||||
{
|
||||
"type": "playBgm",
|
||||
"name": "beishanb.mp3"
|
||||
},
|
||||
"\t[秦元,N1759]\b[this,6,2]还有一件事。武族和黑魂帝国又打起来了",
|
||||
"\t[孟致,king]\b[this,8,4]又打起来了?",
|
||||
"\t[秦元,N1759]\b[this,6,2]正是,三日前,黑魂皇帝周雨晨趁着魔蛛帝国与武族交战,出兵攻打武族……",
|
||||
"\t[秦元,N1759]\b[this,6,2]药族和巫族与武族是盟友,同为武帝国人,理应出手相助",
|
||||
"\t[孟致,king]\b[this,8,4]师兄身为大长老,需要坐镇药族,我刚刚从外地办事回来,恐怕不能前往啊",
|
||||
"\t[秦元,N1759]\b[this,6,2]让几个内门弟子一同前去",
|
||||
"\t[秦元,N1759]\b[this,6,2]谁愿替我前去?",
|
||||
"\t[内门弟子,E1766]\b[this,8,9]……",
|
||||
"\t[内门弟子,E1768]\b[this,4,9]……",
|
||||
"\t[内门弟子,E1568]\b[this,4,7]……",
|
||||
"\t[秦元,N1759]\b[this,6,2]都不去?那药族就不去人了?",
|
||||
"\t[秦元,N1759]\b[this,6,2]诺大的药族就无人替我分忧吗",
|
||||
"\t[王梓轩,N1687]\b[this,4,5]弟子愿为药族前往武族,支援武族",
|
||||
"\t[秦元,N1759]\b[this,6,2]梓轩!你!",
|
||||
"\t[彭寂灵,N1683]\b[this,2,8]梓轩……",
|
||||
"\t[孟致,king]\b[this,8,4]哈哈,梓轩愿往,有药族第一天才前往,武族的难题必定迎刃而解啊",
|
||||
"\t[秦元,N1759]\b[this,6,2]梓轩……",
|
||||
{
|
||||
"type": "setHeroOpacity",
|
||||
"opacity": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"\t[彭绍谦,hero]啊!",
|
||||
"\t[舒落雪,N1696]绍谦!",
|
||||
"\t[孟致,king]\b[this,6,3]跟我到会议室好好谈谈!",
|
||||
{
|
||||
"type": "hide",
|
||||
"loc": [
|
||||
@ -300,44 +390,36 @@ main.floors.FF10=
|
||||
3
|
||||
]
|
||||
],
|
||||
"floorId": "FF10",
|
||||
"remove": true
|
||||
},
|
||||
{
|
||||
"type": "changeFloor",
|
||||
"floorId": "YZ15",
|
||||
"floorId": "YZ14",
|
||||
"loc": [
|
||||
6,
|
||||
7
|
||||
4
|
||||
]
|
||||
},
|
||||
"\t[秦元,N1759]\b[this,6,2]师弟,这是怎么回事",
|
||||
"\t[孟致,king]\b[this,8,4]师兄,经过我一番调查,上次解开药族与魔蛛族之间的封印,就是彭绍谦和舒落雪这两人所为",
|
||||
"\t[万广,N1763]\b[this,4,7]我当时就说是他们两个了,你们还不信",
|
||||
"\t[王梓轩,N1687]\b[this,4,5]这其中是否有什么误会……",
|
||||
"\t[孟致,king]\b[this,8,4]能有什么误会?彭绍谦从小在药族长大,他能不知道大长老的命令?虽然大长老没有告诉外门弟子那边的封印,但他确确实实干了坏事",
|
||||
"\t[孟致,king]\b[this,8,4]那些天,有好几个弟子看到他们两个往那边去了",
|
||||
"\t[孟致,king]\b[this,8,4]彭绍谦,你可招认?",
|
||||
"\t[彭绍谦,hero]事已至此,我无话可说,此事是我一人所为,舒落雪初来药族,不熟悉药族规矩,还望长老不要责罚她",
|
||||
"\t[舒落雪,N1696]绍谦!",
|
||||
"\t[彭寂灵,N1683]\b[this,2,8]谦儿!",
|
||||
"\t[孟致,king]\b[this,8,4]舒落雪比你大了几岁,你这十几年都没去碰过封印,定是她指使的。你们谁也别想逃脱惩罚!",
|
||||
"\t[舒落雪,N1696]我是很好奇那个封印,没想到闯下大祸,甘愿受罚。还望长老不要责罚彭绍谦,他是被我强行拉着去破封印的……",
|
||||
"\t[彭绍谦,hero]落雪……",
|
||||
"\t[孟致,king]\b[this,8,4]哼!",
|
||||
"\t[王梓轩,N1687]\b[this,4,5]是该责罚,不过二长老准备如何责罚他们二人?",
|
||||
"\t[孟致,king]\b[this,8,4]他们破了封印,导致几名弟子死亡,罪不可赦!自然要以命抵命!",
|
||||
"\t[彭寂灵,N1683]\b[this,2,8]不可以!",
|
||||
"\t[孟致,king]\b[this,8,4]彭寂灵,你想干什么!想造反吗!",
|
||||
"\t[彭寂灵,N1683]\b[this,2,8]我……谦儿只是一时疏忽……二长老万万不可如此啊!",
|
||||
"\t[万广,N1763]\b[this,4,7]那怎么可以,他们二人的事,导致那么多弟子死亡,岂可轻易饶恕",
|
||||
"\t[彭绍麟,N1700]\b[this,10,8]哥哥……",
|
||||
"\t[彭绍谦,hero]我没事……",
|
||||
"\t[王梓轩,N1687]\b[this,4,5]彭绍谦虽然有错,但他在药族十几年来采药,也是有功之人,且彭家为药族做了多少贡献",
|
||||
"\t[王梓轩,N1687]\b[this,4,5]弟子觉得不能杀了他",
|
||||
"\t[孟致,king]\b[this,8,4]……",
|
||||
"\t[秦元,N1759]\b[this,6,2]梓轩说的有理,不过他们二人既然犯错,死罪可免,活罪难逃!就赶出药族吧",
|
||||
"\t[孟致,king]\b[this,8,4]真是便宜你们了",
|
||||
"\t[彭绍谦,hero]多谢大长老"
|
||||
{
|
||||
"type": "show",
|
||||
"loc": [
|
||||
[
|
||||
6,
|
||||
6
|
||||
]
|
||||
],
|
||||
"floorId": "YZ14"
|
||||
},
|
||||
{
|
||||
"type": "moveHero",
|
||||
"steps": [
|
||||
"down:1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "moveAction"
|
||||
}
|
||||
]
|
||||
},
|
||||
"afterGetItem": {},
|
||||
@ -346,19 +428,19 @@ main.floors.FF10=
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 20, 20, 20,140, 20, 20, 20, 20, 20,140, 20, 20, 20],
|
||||
[ 20,368, 20,140, 20, 0, 89, 0, 20,140, 20, 25, 20],
|
||||
[ 20,368, 20,140, 20, 0, 0, 0, 20,140, 20, 25, 20],
|
||||
[ 20,368, 20,140, 20, 0,127, 0, 20,140, 20, 25, 20],
|
||||
[ 20,366, 20,140, 20, 0, 0, 0, 20,140, 20,426, 20],
|
||||
[ 20,366, 20,140, 20, 0, 0, 0, 20,140, 20,426, 20],
|
||||
[ 20,366, 20,140, 20, 0, 0, 0, 20,140, 20,426, 20],
|
||||
[ 20, 85, 20,140, 20, 0, 0, 0, 20,140, 20, 85, 20],
|
||||
[ 20, 0, 20, 20, 20, 20, 83, 20, 20, 20, 20, 0, 20],
|
||||
[ 20, 0, 0,252, 0, 0, 0, 0, 0,252, 0, 0, 20],
|
||||
[ 20, 20,141,140,141,141,141,141,141,140,141, 20, 20],
|
||||
[ 20,368,141,140,141, 0, 89, 0,141,140,141, 25, 20],
|
||||
[ 20,368,141,140,141, 0, 0, 0,141,140,141, 25, 20],
|
||||
[ 20,368,141,140,141, 0,127, 0,141,140,141, 25, 20],
|
||||
[ 20,366,141,140,141, 0, 0, 0,141,140,141,426, 20],
|
||||
[ 20,366,141,140,141, 0, 0, 0,141,140,141,426, 20],
|
||||
[ 20,366,141,140,141, 0, 0, 0,141,140,141,426, 20],
|
||||
[ 20, 85,141,140,141, 0, 0, 0,141,140,141, 85, 20],
|
||||
[ 20, 0,141,141,141,141, 83,141,141,141,141, 0, 20],
|
||||
[ 20,368, 0,252, 0,416, 0,416, 0,252, 0,368, 20],
|
||||
[ 20, 20, 20, 20, 20, 20, 81, 20, 20, 20, 20, 20, 20],
|
||||
[ 0, 0, 81,213, 0, 0, 0, 0, 0,213, 81, 0, 0],
|
||||
[ 91, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 0]
|
||||
[ 0,432, 81,213,370, 0,365, 0,370,213, 81, 0,362],
|
||||
[ 91, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20,443]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
|
@ -88,7 +88,7 @@ main.floors.FF4=
|
||||
"\t[彭绍谦,hero]这真是太棒了",
|
||||
"\t[舒落雪,N1696]\b[this,0,10]另外,我还能炼制\r[blue]魔力水晶\r[],来恢复魔力值了。(舒落雪击败怪物额外获得3点魔力值)",
|
||||
"\t[彭绍谦,hero]咱们走吧",
|
||||
"\r[blue]剧情默认玩家操控男主,所以之后剧情不会特意转换玩家操纵的人物。需要注意:女主是魔法师,攻击为魔攻,但不吃红蓝绿宝石,且黄宝石效果减少,女主可以依靠商店进行提升,击败怪物额外获得3的魔力值\r[]",
|
||||
"\r[blue]剧情默认玩家操控男主,所以之后剧情不会特意转换玩家操纵的人物。需要注意:女主是魔法师,攻击为魔攻,防御力为真实防御(可以防御魔攻)但不吃红蓝绿宝石,且黄宝石效果减少,女主可以依靠商店进行提升,击败怪物额外获得8的魔力值\r[]",
|
||||
{
|
||||
"type": "function",
|
||||
"function": "function(){\ncore.getItem('wand', 1)\n}"
|
||||
|
@ -44,19 +44,19 @@ main.floors.FF6=
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 20, 20, 20, 20, 20, 0, 0, 0, 20, 20,151,151,151],
|
||||
[ 20, 93,220, 21, 20, 0, 0, 0, 20, 21, 20, 91, 20],
|
||||
[ 20, 0, 20,362, 20, 0, 0, 0, 20,383, 20,367, 20],
|
||||
[ 20, 82,151, 81, 20, 0, 0, 0, 20, 21, 20, 0, 20],
|
||||
[ 20,219,151,382, 20, 0, 0, 0, 20,236, 20,252, 20],
|
||||
[ 20, 0,151,214, 20,10148,10148,10148, 20, 81, 20, 81, 20],
|
||||
[ 20, 20, 20, 20,141, 0, 0, 0,141, 20,151,151,151],
|
||||
[ 20, 93,220, 21,141, 0, 0, 0,141, 21, 20, 91, 20],
|
||||
[ 20, 0, 20,362,141, 0, 0, 0,141,383, 20,367, 20],
|
||||
[ 20, 82,151, 81,141, 0, 0, 0,141, 21, 20, 0, 20],
|
||||
[ 20,219,151,382,141, 0, 0, 0,141,236, 20,252, 20],
|
||||
[ 20, 0,151,214,141,10148,10148,10148,141, 81, 20, 81, 20],
|
||||
[ 20, 21, 20,368, 81,222,370,359,213, 0, 21, 0, 20],
|
||||
[ 20,367, 20, 0, 20,10148,10148,10148, 20, 20, 20, 81, 20],
|
||||
[ 20, 21, 20,213, 20, 0, 0, 0, 20,453,368,219, 20],
|
||||
[ 20, 0, 20, 0, 20, 0, 0, 0, 20, 20, 20, 0, 20],
|
||||
[ 20,252, 81,356, 20, 0, 0, 0, 20,450, 20,367, 20],
|
||||
[ 20,442, 20,455, 20, 0, 0, 0, 20, 21,220, 0,151],
|
||||
[ 20, 20, 20, 20, 20, 0, 0, 0, 20, 20, 20,151,151]
|
||||
[ 20,367, 20, 0,141,10148,10148,10148,141, 20, 20, 81, 20],
|
||||
[ 20, 21, 20,213,141, 0, 0, 0,141,453,368,219, 20],
|
||||
[ 20, 0, 20, 0,141, 0, 0, 0,141, 20, 20, 0, 20],
|
||||
[ 20,252, 81,356,141, 0, 0, 0,141,450, 20,367, 20],
|
||||
[ 20,442, 20,455,141, 0, 0, 0,141, 21,220, 0,151],
|
||||
[ 20, 20, 20, 20,141, 0, 0, 0,141, 20, 20,151,151]
|
||||
],
|
||||
"bgmap": [
|
||||
[ 0, 0, 0, 0, 0,140,140,140, 0, 0, 0, 0, 0],
|
||||
|
@ -112,15 +112,15 @@ main.floors.FF7=
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[151, 20, 20, 0, 20, 20, 20, 20, 20, 20, 20, 20, 20],
|
||||
[151, 91, 20, 0, 20, 0,369, 20,379, 0, 20, 93, 20],
|
||||
[151,367, 20, 0, 20,373, 0,220, 0,219, 20, 0, 20],
|
||||
[ 20, 81, 20, 20, 20,151,151,151,151, 83, 20,233, 20],
|
||||
[ 20,213, 20,222, 81,359, 0,236, 21,361, 20,367, 20],
|
||||
[ 20, 0, 20, 21, 20, 20, 85, 20, 20,1784, 20, 0, 20],
|
||||
[ 20,442, 20, 21, 20,214, 0,214, 20, 20, 20,213, 20],
|
||||
[ 20,370, 20, 21, 20, 0, 0, 0, 20, 0, 20, 81, 20],
|
||||
[ 20, 0, 20, 21, 20,214, 0,214, 20, 0, 20, 0, 20],
|
||||
[151, 20,141, 0,141, 20, 20, 20, 20, 20,141, 20, 20],
|
||||
[151, 91,141, 0,141, 0,369, 20,379, 0,141, 93, 20],
|
||||
[151,367,141, 0,141,373, 0,220, 0,219,141, 0, 20],
|
||||
[ 20, 81,141,141,141,151,151,151,151, 83,141,233, 20],
|
||||
[ 20,213,141,222, 81,359, 0,236, 21,361,141,367, 20],
|
||||
[ 20, 0, 20, 21, 20, 20, 85,141,141,1784,141, 0, 20],
|
||||
[ 20,442, 20, 21, 20,214, 0,214,141,141,141,213, 20],
|
||||
[ 20,370, 20, 21, 20, 0, 0, 0,141, 0,141, 81, 20],
|
||||
[ 20, 0, 20, 21, 20,214, 0,214,141, 0,141, 0, 20],
|
||||
[ 20,252, 20, 20, 20, 20, 81,151,151,151,151,357,151],
|
||||
[ 20, 0, 81, 0,213, 0, 0, 0,213, 0,151, 0,151],
|
||||
[ 20,432, 20,368, 20, 20, 81, 20, 20,425, 81,233,151],
|
||||
|
@ -254,9 +254,6 @@ main.floors.YZ1=
|
||||
"\t[彭绍谦,hero]\b[this,6,0]咦?这是什么?",
|
||||
"\t[彭绍谦,hero]\b[this,6,0]心灵宝典?上品卷轴,可以查看别人的属性",
|
||||
"\t[彭绍谦,hero]\b[this,6,0]我靠,上品卷轴,我真赚了!只是不知道这附近为什么有上品卷轴,是什么人掉落的……"
|
||||
],
|
||||
"8,8": [
|
||||
"这是一把小破剑,需要装备"
|
||||
]
|
||||
},
|
||||
"afterOpenDoor": {},
|
||||
@ -264,19 +261,19 @@ main.floors.YZ1=
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 20, 20, 20, 20, 20, 20, 0, 20, 20, 20, 20, 20, 20],
|
||||
[ 20, 0,201, 81,367, 20, 0, 20, 28, 0, 81, 0, 20],
|
||||
[ 20, 20, 20,151,151,151, 0,151,151,151,151, 20, 20],
|
||||
[ 20, 0,201, 81,367,151, 0, 20, 28, 0, 81, 0, 20],
|
||||
[ 20, 31, 0, 20, 0, 20, 45, 20, 0,424, 20, 29, 20],
|
||||
[ 20,203, 20,202, 0, 20, 0, 81,202, 0, 20, 0, 20],
|
||||
[ 20, 21, 20, 81, 20, 20, 46, 20, 20, 20, 20,201, 20],
|
||||
[ 20, 27, 20, 21, 0, 20, 0, 20, 21, 31, 20, 31, 20],
|
||||
[ 20, 21, 20, 0,205, 81, 0, 81,201, 28, 20, 21, 20],
|
||||
[ 20, 0, 20, 27, 0, 20, 0, 20, 20, 20, 20, 0, 20],
|
||||
[ 20, 21, 20, 81, 20, 20, 46, 20, 20, 20, 20,201,151],
|
||||
[ 20, 27, 20, 21, 0, 20, 0, 20, 21, 31, 20, 31,151],
|
||||
[ 20, 21, 20, 0,205, 81, 0, 81,201, 28, 20, 21,151],
|
||||
[ 20, 0, 20, 27, 0, 20, 0, 20, 20, 20, 20, 0,151],
|
||||
[ 20, 81, 20, 20,202, 20, 25,205, 70, 20,440,203, 20],
|
||||
[ 20, 0, 20, 0, 0, 20,201, 20, 20, 20, 20, 0, 20],
|
||||
[ 20,205, 82,440, 0, 20, 82, 20, 0,204, 81, 0, 20],
|
||||
[ 20, 29, 20, 0, 31, 20, 93, 20,356, 0, 20,123, 20],
|
||||
[ 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20]
|
||||
[151, 0, 20, 0, 0, 20,201, 20, 20, 20, 20, 0, 20],
|
||||
[151,205, 82,440, 0, 20, 82, 20, 0,204, 81, 0, 20],
|
||||
[151, 29, 20, 0, 31, 20, 93, 20,356, 0, 20,123, 20],
|
||||
[151,151,151, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
@ -287,5 +284,11 @@ main.floors.YZ1=
|
||||
"flyPoint": [
|
||||
6,
|
||||
0
|
||||
]
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
]
|
||||
}
|
@ -492,11 +492,11 @@ main.floors.YZ10=
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 20, 91, 20,140, 20, 20, 20, 20, 20,140, 20, 93, 20],
|
||||
[ 20, 20, 20,140, 20, 0,1568, 0, 20,140, 20, 0, 20],
|
||||
[ 20, 0, 20,140, 20, 0, 0, 0, 20,140, 20, 0, 20],
|
||||
[ 20,204, 20,140, 20, 0, 0, 0, 20,140, 20,204, 20],
|
||||
[ 20, 0, 20,140, 20, 20, 85, 20, 20,140, 20, 0, 20],
|
||||
[ 20, 91,141,140,141,141,141,141,141,140,141, 93, 20],
|
||||
[ 20, 20,141,140,141, 0,1568, 0,141,140,141, 0, 20],
|
||||
[ 20, 0,141,140,141, 0, 0, 0,141,140,141, 0, 20],
|
||||
[ 20,204,141,140,141, 0, 0, 0,141,140,141,204, 20],
|
||||
[ 20, 0,141,141,141,141, 85,141,141,141,141, 0, 20],
|
||||
[ 20, 0,211, 32, 20,212, 0,212, 20, 32,211, 0, 20],
|
||||
[ 20, 0,211, 32, 20,212, 0,212, 20, 32,211, 0, 20],
|
||||
[ 20, 81, 20, 20,151,151, 83,151,151, 20, 20, 81, 20],
|
||||
@ -527,5 +527,11 @@ main.floors.YZ10=
|
||||
"flyPoint": [
|
||||
11,
|
||||
0
|
||||
]
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
]
|
||||
}
|
@ -93,11 +93,11 @@ main.floors.YZ14=
|
||||
"loc": [
|
||||
[
|
||||
6,
|
||||
2
|
||||
3
|
||||
]
|
||||
]
|
||||
},
|
||||
"\t[王梓轩,N1687]\b[this,6,2]绍谦,既然你招到新人了,你就先带带她吧",
|
||||
"\t[王梓轩,N1687]\b[this,6,3]绍谦,既然你招到新人了,你就先带带她吧",
|
||||
"\t[彭绍谦,hero]\b[this,8,4]是",
|
||||
"\t[彭绍谦,hero]\b[this,8,4]舒落雪,你就跟我去\r[red]丹药峰\r[]采药吧",
|
||||
"\t[舒落雪,N1696]\b[this,8,7]嘿嘿,谢谢你",
|
||||
@ -106,7 +106,7 @@ main.floors.YZ14=
|
||||
"loc": [
|
||||
[
|
||||
6,
|
||||
2
|
||||
3
|
||||
]
|
||||
],
|
||||
"remove": true
|
||||
@ -186,7 +186,179 @@ main.floors.YZ14=
|
||||
],
|
||||
"3,9": [
|
||||
"\t[新生,N1723]\b[this,3,9]排这么长的队,真无聊,好在我可以玩血狱打发时间"
|
||||
]
|
||||
],
|
||||
"6,2": {
|
||||
"trigger": null,
|
||||
"enable": false,
|
||||
"noPass": null,
|
||||
"displayDamage": true,
|
||||
"opacity": 1,
|
||||
"filter": {
|
||||
"blur": 0,
|
||||
"hue": 0,
|
||||
"grayscale": 0,
|
||||
"invert": false,
|
||||
"shadow": 0
|
||||
},
|
||||
"data": [
|
||||
{
|
||||
"type": "changeFloor",
|
||||
"floorId": "YZ16",
|
||||
"loc": [
|
||||
6,
|
||||
12
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"6,6": {
|
||||
"trigger": null,
|
||||
"enable": false,
|
||||
"noPass": null,
|
||||
"displayDamage": true,
|
||||
"opacity": 1,
|
||||
"filter": {
|
||||
"blur": 0,
|
||||
"hue": 0,
|
||||
"grayscale": 0,
|
||||
"invert": false,
|
||||
"shadow": 0
|
||||
},
|
||||
"data": [
|
||||
{
|
||||
"type": "confirm",
|
||||
"text": "确认要跳过剧情吗?",
|
||||
"yes": [
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "item:I453",
|
||||
"operator": "+=",
|
||||
"value": "2"
|
||||
}
|
||||
],
|
||||
"no": [
|
||||
"\t[彭寂灵,N1683]\b[this,6,6]谦儿,离开药族可要小心啊……",
|
||||
"\t[彭寂灵,N1683]\b[this,6,6]我这里有一些疗伤药,你带在身上,好歹能有些用",
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "item:I453",
|
||||
"operator": "+=",
|
||||
"value": "2"
|
||||
},
|
||||
"\t[彭绍谦,N1790]姐姐!对不起!",
|
||||
"\t[彭寂灵,N1683]\b[this,6,6]有什么对不起的",
|
||||
"\t[彭绍谦,N1790]谦儿总是惹祸,让姐姐伤心,这回又闯下大祸,谦儿真是……",
|
||||
"\t[彭寂灵,N1683]\b[this,6,6]谦儿!呜呜呜……",
|
||||
"\t[彭寂灵,N1683]\b[this,6,6]谦儿,药族容不下你,你去武族找大哥!大哥在武族是一个队长,一定可以给你安排个住处……",
|
||||
"\t[彭绍谦,N1790]姐姐……",
|
||||
{
|
||||
"type": "setBlock",
|
||||
"number": "N1712",
|
||||
"loc": [
|
||||
[
|
||||
11,
|
||||
7
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "move",
|
||||
"loc": [
|
||||
11,
|
||||
7
|
||||
],
|
||||
"time": 500,
|
||||
"keep": true,
|
||||
"steps": [
|
||||
"left:6"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "turnBlock",
|
||||
"direction": "up",
|
||||
"loc": [
|
||||
[
|
||||
5,
|
||||
7
|
||||
]
|
||||
]
|
||||
},
|
||||
"\t[彭绍麟,N1700]\b[this,5,7]二哥!",
|
||||
"\t[彭绍谦,N1790]麟儿!",
|
||||
"\t[彭绍麟,N1700]\b[this,5,7]二哥!你不要走啊……麟儿舍不得你……",
|
||||
"\t[彭绍谦,N1790]麟儿!对不起……",
|
||||
{
|
||||
"type": "setBlock",
|
||||
"number": "N1690",
|
||||
"loc": [
|
||||
[
|
||||
6,
|
||||
8
|
||||
]
|
||||
]
|
||||
},
|
||||
"\t[王梓轩,N1687]\b[this,6,8]寂灵!绍谦,绍麟。",
|
||||
{
|
||||
"type": "turnBlock",
|
||||
"direction": "down",
|
||||
"loc": [
|
||||
[
|
||||
6,
|
||||
6
|
||||
]
|
||||
]
|
||||
},
|
||||
"\t[彭寂灵,N1683]\b[this,6,6]梓轩……",
|
||||
"\t[王梓轩,N1687]\b[this,6,8]我也要去武族,顺便和绍谦一起去吧",
|
||||
"\t[彭寂灵,N1683]\b[this,6,6]梓轩,你为什么……",
|
||||
"\t[王梓轩,N1687]\b[this,6,8]没有为什么,我不去,也是其他师兄弟去,他们的命,也是命啊……",
|
||||
"\t[彭寂灵,N1683]\b[this,6,6]呜呜呜……",
|
||||
"\t[王梓轩,N1687]\b[this,6,8]咱们先进去,大长老还有话和我说……",
|
||||
{
|
||||
"type": "jump",
|
||||
"from": [
|
||||
6,
|
||||
8
|
||||
],
|
||||
"to": [
|
||||
6,
|
||||
2
|
||||
],
|
||||
"time": 500
|
||||
},
|
||||
{
|
||||
"type": "hide",
|
||||
"loc": [
|
||||
[
|
||||
5,
|
||||
7
|
||||
]
|
||||
],
|
||||
"remove": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "hide",
|
||||
"loc": [
|
||||
[
|
||||
6,
|
||||
6
|
||||
]
|
||||
],
|
||||
"remove": true
|
||||
},
|
||||
{
|
||||
"type": "show",
|
||||
"loc": [
|
||||
[
|
||||
6,
|
||||
2
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"changeFloor": {
|
||||
"12,7": {
|
||||
@ -207,11 +379,11 @@ main.floors.YZ14=
|
||||
"map": [
|
||||
[20168,20169,20142,20169,20169,20169,20172,20169,20169,20169,20142,20169,20170],
|
||||
[20176,20177,20150,20177,20177,20177,20180,20177,20177,20177,20150,20177,20178],
|
||||
[20169,20185,20185,20185,20185,20185, 0,20185,20185,20185, 0,20185,20169],
|
||||
[20169,20185,20185,20185,20185,20185, 91,20185,20185,20185, 0,20185,20169],
|
||||
[20169, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,20169],
|
||||
[20169, 0, 0,133, 0, 0, 0, 0, 0, 0, 0, 0,20169],
|
||||
[20169, 0,40784,40785,40786, 0, 0,40784,40785,40786, 0, 0,20169],
|
||||
[20169, 0,40792,40793,40794, 0, 0,40792,40793,40794, 0,50746,50746],
|
||||
[20169, 0,40792,40793,40794, 0,1686,40792,40793,40794, 0,50746,50746],
|
||||
[20169, 0, 0,1718, 0, 0, 0, 0, 0, 0,1685, 0, 92],
|
||||
[20169, 0, 0,1722, 0, 0, 0, 0, 0, 0, 0,50746,50746],
|
||||
[20169, 0, 0,1726, 0, 0, 0, 0, 0, 0, 0, 0,20169],
|
||||
@ -240,5 +412,11 @@ main.floors.YZ14=
|
||||
"flyPoint": [
|
||||
12,
|
||||
7
|
||||
]
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
]
|
||||
}
|
171
project/floors/YZ16.js
Normal file
171
project/floors/YZ16.js
Normal file
@ -0,0 +1,171 @@
|
||||
main.floors.YZ16=
|
||||
{
|
||||
"floorId": "YZ16",
|
||||
"title": "药族 16 ",
|
||||
"name": "药族16",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "X50061",
|
||||
"bgm": "jiandanyuchuxia.mp3",
|
||||
"firstArrive": [
|
||||
{
|
||||
"type": "moveHero",
|
||||
"steps": [
|
||||
"up:4"
|
||||
]
|
||||
},
|
||||
"\t[秦元,N1759]\b[this,6,3]梓轩,你怎么就要求前往武族呢",
|
||||
"\t[王梓轩,N1687]\b[this,6,6]师父不必担心,弟子相信自己一定可以胜任的",
|
||||
"\t[秦元,N1759]\b[this,6,3]唉,我不是担心你能不能帮武族,这可是战争……",
|
||||
{
|
||||
"type": "hide",
|
||||
"loc": [
|
||||
[
|
||||
6,
|
||||
3
|
||||
]
|
||||
],
|
||||
"remove": true
|
||||
},
|
||||
{
|
||||
"type": "playBgm",
|
||||
"name": "sjnj.mp3",
|
||||
"keep": true
|
||||
},
|
||||
{
|
||||
"type": "move",
|
||||
"loc": [
|
||||
8,
|
||||
7
|
||||
],
|
||||
"time": 500,
|
||||
"keep": true,
|
||||
"steps": [
|
||||
"left:2"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "turnBlock",
|
||||
"direction": "up",
|
||||
"loc": [
|
||||
[
|
||||
6,
|
||||
7
|
||||
]
|
||||
]
|
||||
},
|
||||
"\t[彭寂灵,N1683]\b[this,8,7]梓轩,你可要平安归来啊",
|
||||
{
|
||||
"type": "turnBlock",
|
||||
"direction": "down",
|
||||
"loc": [
|
||||
[
|
||||
6,
|
||||
6
|
||||
]
|
||||
]
|
||||
},
|
||||
"\t[王梓轩,N1687]\b[this,6,6]我,一定会平安归来的。",
|
||||
"\t[彭寂灵,N1683]\b[this,8,7]我等你回来……",
|
||||
"\t[王梓轩,N1687]\b[this,6,6]嗯嗯,寂灵,好好照顾自己……",
|
||||
"\t[彭绍谦,hero]好啦好啦,搞得跟生离死别一样",
|
||||
"\t[彭寂灵,N1683]\b[this,8,7]……",
|
||||
"\t[王梓轩,N1687]\b[this,6,6]我和几位师兄弟一起前往武族,绍谦也顺便一起吧",
|
||||
"\t[彭寂灵,N1683]\b[this,8,7]绍谦就麻烦你了……",
|
||||
{
|
||||
"type": "hide",
|
||||
"loc": [
|
||||
[
|
||||
4,
|
||||
7
|
||||
]
|
||||
],
|
||||
"remove": true
|
||||
},
|
||||
{
|
||||
"type": "hide",
|
||||
"loc": [
|
||||
[
|
||||
6,
|
||||
7
|
||||
]
|
||||
],
|
||||
"remove": true
|
||||
},
|
||||
"\t[王梓轩,N1687]\b[this,6,6]绍谦,咱们走吧",
|
||||
{
|
||||
"type": "jump",
|
||||
"from": [
|
||||
6,
|
||||
6
|
||||
],
|
||||
"to": [
|
||||
6,
|
||||
0
|
||||
],
|
||||
"time": 500
|
||||
}
|
||||
],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {},
|
||||
"changeFloor": {
|
||||
"6,12": {
|
||||
"floorId": "YZ14",
|
||||
"loc": [
|
||||
6,
|
||||
2
|
||||
]
|
||||
},
|
||||
"6,0": {
|
||||
"floorId": "YZ17",
|
||||
"loc": [
|
||||
6,
|
||||
12
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[20169,20169,20169,20169,20169,20169, 91,20169,20169,20169,20169,20169,20169],
|
||||
[20169,10110, 0, 0, 0,20282, 0,20282, 0, 0, 0,10110,20169],
|
||||
[20169, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,20169],
|
||||
[20169, 0, 0, 0, 0, 0,1759, 0, 0, 0, 0, 0,20169],
|
||||
[20169, 0, 21, 0, 0, 0, 0, 0, 0, 0, 21, 0,20169],
|
||||
[20169, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,20169],
|
||||
[20169, 0, 0, 0, 0, 0,1690, 0, 0, 0, 0, 0,20169],
|
||||
[20169, 0, 0, 0,1714, 0, 0, 0,1686, 0, 0, 0,20169],
|
||||
[20169, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,20169],
|
||||
[20169, 0, 21, 0, 0, 0, 0, 0, 0, 0, 21, 0,20169],
|
||||
[20169, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,20169],
|
||||
[20169,10110, 0, 0, 0,20282, 0,20282, 0, 0, 0,10110,20169],
|
||||
[20169,20169,20169,20169,20169,20169, 91,20169,20169,20169,20169,20169,20169]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
],
|
||||
"flyPoint": [
|
||||
6,
|
||||
12
|
||||
]
|
||||
}
|
129
project/floors/YZ17.js
Normal file
129
project/floors/YZ17.js
Normal file
@ -0,0 +1,129 @@
|
||||
main.floors.YZ17=
|
||||
{
|
||||
"floorId": "YZ17",
|
||||
"title": "药族 17 ",
|
||||
"name": "药族17",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "X50061",
|
||||
"bgm": "sjnj.mp3",
|
||||
"firstArrive": [],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {
|
||||
"6,1": [
|
||||
"\t[王梓轩,N1687]绍谦,这里有一卷仙医点化术的完整版,你拿去吧……",
|
||||
"\t[彭绍谦,N1790]仙医点化术的完整版……你……",
|
||||
"\t[王梓轩,N1687]绍谦,你资质平庸,短时间怕是没有能力发挥完全仙医点化术的全部威力……",
|
||||
"\t[王梓轩,N1687]你多加练习,别在其他师兄弟面前显露便是了",
|
||||
"\t[彭绍谦,N1790]王梓轩……",
|
||||
"\t[王梓轩,N1687]我只能送你到半路上,然后你去武帝国找你大哥,我和几位师兄弟奔赴战场了。",
|
||||
"\t[彭绍谦,N1790]嗯嗯……",
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "item:I1771",
|
||||
"operator": "+=",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "item:I1770",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"type": "hide",
|
||||
"loc": [
|
||||
[
|
||||
4,
|
||||
5
|
||||
]
|
||||
],
|
||||
"floorId": "YZ15",
|
||||
"remove": true
|
||||
},
|
||||
{
|
||||
"type": "hide",
|
||||
"remove": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"changeFloor": {
|
||||
"6,12": {
|
||||
"floorId": "YZ16",
|
||||
"loc": [
|
||||
6,
|
||||
0
|
||||
]
|
||||
},
|
||||
"6,0": {
|
||||
"floorId": "YZ18",
|
||||
"loc": [
|
||||
6,
|
||||
12
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[20282, 0, 0, 0, 0,30080, 91,30080, 0,20005, 0, 0, 0],
|
||||
[ 0, 0,20282, 0, 0, 0,1687, 0, 0, 0, 0, 0,20012],
|
||||
[20012, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0,20030,20031, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[20282, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,20109,20110,20111],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,20117,20118,20119],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[20012, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,20005],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0,20005, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[20282, 0, 0, 0,20005, 0, 91, 0, 0,20005, 0, 0,20282]
|
||||
],
|
||||
"bgmap": [
|
||||
[ 0, 0, 0, 0, 0, 0,50060, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0,50060, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0,50060, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0,50060, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0,50060, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0,50060, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0,50060, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0,50060, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0,50060, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0,50060, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0,50060, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0,50060, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0,50060, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"fgmap": [
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0,20022,20023, 0, 0, 0, 0, 0,20084,20085,20086,20087],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0,20092,20093,20094,20095],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0,20100,20101,20102,20103],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0,20108,20109,20110,20111],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
]
|
||||
}
|
86
project/floors/YZ18.js
Normal file
86
project/floors/YZ18.js
Normal file
@ -0,0 +1,86 @@
|
||||
main.floors.YZ18=
|
||||
{
|
||||
"floorId": "YZ18",
|
||||
"title": "药族 18 ",
|
||||
"name": "药族18",
|
||||
"width": 13,
|
||||
"height": 13,
|
||||
"canFlyTo": true,
|
||||
"canFlyFrom": true,
|
||||
"canUseQuickShop": true,
|
||||
"images": [],
|
||||
"ratio": 1,
|
||||
"defaultGround": "X20000",
|
||||
"bgm": "sjnj.mp3",
|
||||
"firstArrive": [
|
||||
"\t[彭绍谦,N1790]药族的毒气阵",
|
||||
"\t[舒落雪,N1696]看起来很强大的样子",
|
||||
"\t[彭绍谦,N1790]那是自然,武族曾经想吞并药族,千军万马都被毒气阵挡在这里",
|
||||
"\t[舒落雪,N1696]比巫族的魔法阵也不差",
|
||||
"\t[彭绍谦,N1790]小心点,被毒气沾上很麻烦的,虽然我是药师,但小心点终归没错"
|
||||
],
|
||||
"eachArrive": [],
|
||||
"parallelDo": "",
|
||||
"events": {
|
||||
"11,5": [
|
||||
"犯药族者,必遭毒气阵加身!"
|
||||
],
|
||||
"9,1": [
|
||||
"剧情层,后续丹药峰保卫战在此展开"
|
||||
]
|
||||
},
|
||||
"changeFloor": {
|
||||
"6,12": {
|
||||
"floorId": "YZ17",
|
||||
"loc": [
|
||||
6,
|
||||
0
|
||||
]
|
||||
},
|
||||
"12,6": {
|
||||
"floorId": "CL1",
|
||||
"loc": [
|
||||
0,
|
||||
6
|
||||
]
|
||||
}
|
||||
},
|
||||
"beforeBattle": {},
|
||||
"afterBattle": {},
|
||||
"afterGetItem": {},
|
||||
"afterOpenDoor": {},
|
||||
"autoEvent": {},
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 0, 12, 12, 0,141,140,140,140,141, 12, 12, 12, 12],
|
||||
[ 0, 12, 12, 0,141,140,140,140,141,129, 12, 0, 0],
|
||||
[ 0, 12, 0, 12,141,140,140,140,141, 0, 12, 0, 0],
|
||||
[ 12, 12, 0, 0,141,140,140,140,141, 0, 12, 0, 12],
|
||||
[ 0, 12, 12, 0,141,141,141,141,141, 0, 12, 12, 12],
|
||||
[ 0, 12, 0, 12, 12, 0, 12, 12, 12, 0, 12,129, 0],
|
||||
[ 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94],
|
||||
[ 0, 12, 0, 12, 0, 0, 12, 0, 0, 0, 12, 0, 0],
|
||||
[ 12, 12, 12, 0, 12, 12, 0, 12, 12, 12, 12, 0, 12],
|
||||
[ 0, 0, 12, 12, 0, 0, 12, 12, 0, 12, 0, 12, 0],
|
||||
[ 12, 0, 12, 0, 12, 12, 0, 12, 0, 12, 0, 0, 12],
|
||||
[ 0, 12, 12, 0, 12, 0, 0, 12, 12, 12, 12, 12, 12],
|
||||
[ 20, 20, 20, 20, 20, 20, 91, 20, 20, 20, 20, 20, 20]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
],
|
||||
"fgmap": [
|
||||
|
||||
],
|
||||
"bg2map": [
|
||||
|
||||
],
|
||||
"fg2map": [
|
||||
|
||||
],
|
||||
"flyPoint": [
|
||||
6,
|
||||
12
|
||||
]
|
||||
}
|
@ -31,6 +31,28 @@ main.floors.YZ2=
|
||||
],
|
||||
"7,5": [
|
||||
"后期重要人物排行榜单\n药者榜:\n一流\n1.彭绍谦(主角)\n二流\n1.墨沙(药族叛徒,黑魂帝国国师)\n2.王梓轩(药族天才)\n三流\n1.秦元(药族大长老)\n2.孟致(药族二长老)"
|
||||
],
|
||||
"5,6": [
|
||||
"很显然,这是一个罪恶的插件:自动拾取。\n很多玩家因此捡到不该捡到的物品,比如满魔力值捡到魔力药水。\n但是作者本着给予玩家方便的想法还是将它放在这里,如果玩家需要可以使用,如果不需要千万不要拿它!",
|
||||
{
|
||||
"type": "choices",
|
||||
"text": "\t[玩家]选择",
|
||||
"choices": [
|
||||
{
|
||||
"text": "我承诺捡错了东西绝不怪作者",
|
||||
"action": [
|
||||
{
|
||||
"type": "hide",
|
||||
"remove": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"text": "还是不要了",
|
||||
"action": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"changeFloor": {
|
||||
@ -61,19 +83,19 @@ main.floors.YZ2=
|
||||
"cannotMove": {},
|
||||
"cannotMoveIn": {},
|
||||
"map": [
|
||||
[ 20,140,140,140, 20, 20, 91, 20, 20,140,140,140, 20],
|
||||
[ 20,140,140,140, 20, 20, 0, 20, 20,140,140,140, 20],
|
||||
[ 20,140,140,140, 20, 20, 0, 20, 20,140,140,140, 20],
|
||||
[ 20,140,140,140, 20,129, 0,129, 20,140,140,140, 20],
|
||||
[ 20,140,140,140, 20, 20,424, 20, 20,140,140,140, 20],
|
||||
[ 20,140,140,140, 20, 20, 21,129, 20,140,140,140, 20],
|
||||
[ 20,140,140,140, 20, 20, 21, 20, 20,140,140,140, 20],
|
||||
[ 20,140,140,140, 20, 20, 21, 20, 20,140,140,140, 20],
|
||||
[ 20,140,140,140, 20, 20, 0, 20, 20,140,140,140, 20],
|
||||
[ 20,140,140,140, 20,129, 0,129, 20,140,140,140, 20],
|
||||
[ 20,140,140,140, 20, 20, 0, 20, 20,140,140,140, 20],
|
||||
[ 20,140,140,140, 20, 20, 91, 20, 20,140,140,140, 20],
|
||||
[ 20,140,140,140, 20, 20, 20, 20, 20,140,140,140, 20]
|
||||
[141,140,140,140,141,141, 91,141,141,140,140,140,141],
|
||||
[141,140,140,140,141,141, 0,141,141,140,140,140,141],
|
||||
[141,140,140,140,141,141, 0,141,141,140,140,140,141],
|
||||
[141,140,140,140,141,129, 0,129,141,140,140,140,141],
|
||||
[141,140,140,140,141,141,424,141,141,140,140,140,141],
|
||||
[141,140,140,140,141,141, 21,129,141,140,140,140,141],
|
||||
[141,140,140,140,339,129, 21,141,141,140,140,140,141],
|
||||
[141,140,140,140,141,141, 21,141,141,140,140,140,141],
|
||||
[141,140,140,140,141,141, 0,141,141,140,140,140,141],
|
||||
[141,140,140,140,141,129, 0,129,141,140,140,140,141],
|
||||
[141,140,140,140,141,141, 0,141,141,140,140,140,141],
|
||||
[141,140,140,140,141,141, 91,141,141,140,140,140,141],
|
||||
[141,140,140,140,141,141,141,141,141,140,140,140,141]
|
||||
],
|
||||
"bgmap": [
|
||||
|
||||
|
@ -314,7 +314,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
||||
|
||||
//获得魔力值
|
||||
if (flags.heroId == 1) {
|
||||
core.status.hero.mana += 3
|
||||
core.status.hero.mana += 8
|
||||
}
|
||||
// 获得经验
|
||||
var exp = guards.reduce(function (curr, g) {
|
||||
@ -670,13 +670,13 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
||||
[26, '支援', '当周围一圈的怪物受到攻击时将上前支援,并组成小队战斗。', '#99ff99', 1],
|
||||
[
|
||||
27,
|
||||
'捕捉',
|
||||
'探测术',
|
||||
function (enemy) {
|
||||
return '当走到怪物周围' + (enemy.zoneSquare ? '九宫格' : '十字') + '时会强制进行战斗。'
|
||||
},
|
||||
'#c0ddbb',
|
||||
],
|
||||
[28, '复制镜', '拥有复制镜的准圣子,攻击力为勇者1.2倍攻击,防御力为勇者0.8倍防御加上0.1倍护盾,生命值为本身生命值加上勇者5倍护盾值', '#ff3366'],
|
||||
[28, '战意', '拥有战意的怪物,攻击力为勇者1.2倍攻击,防御力为勇者0.8倍防御加上0.1倍护盾,生命值为本身生命值加上勇者5倍护盾值', '#ff3366'],
|
||||
[29, '窥血为攻', '当勇士生命值大于怪物生命值1.5倍时,怪物的攻防增加40%', '#ff3366'],
|
||||
[30, '愤怒', '当勇士生命值大于怪物生命值时,怪物攻击力变为原始攻击力的2倍', 'red'],
|
||||
[31, '杀气', '战斗时给予勇士自身3倍攻击力的伤害', '#99FFFF'],
|
||||
@ -762,7 +762,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
||||
if (core.hasSpecial(mon_special, 35)) {
|
||||
mon_atk = mon_atk + 0.3 * hero_mdef
|
||||
}
|
||||
//复制镜
|
||||
//战意
|
||||
if (core.hasSpecial(mon_special, 28)) {
|
||||
mon_atk = hero_atk * 1.2
|
||||
|
||||
@ -936,7 +936,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
||||
//魔抗
|
||||
if (core.hasSpecial(mon_special, 50))
|
||||
if (flags.heroId == 1) {
|
||||
her_atk *= 0.1;
|
||||
hero_atk *= 0.1;
|
||||
}
|
||||
//混乱
|
||||
if (core.hasSpecial(mon_special, 46)) {
|
||||
@ -989,8 +989,8 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
||||
}
|
||||
// 魔攻:战斗伤害就是怪物攻击力
|
||||
if (core.hasSpecial(mon_special, 2)) {
|
||||
if (core.hasEquip('I1216')) {
|
||||
per_damage = mon_atk - hero_def / 4;
|
||||
if (flags.heroId == 1) {
|
||||
per_damage = mon_atk - hero_def;
|
||||
} else {
|
||||
per_damage = mon_atk;
|
||||
}
|
||||
@ -1581,216 +1581,216 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
||||
core.updateDamage();
|
||||
},
|
||||
"updateCheckBlock": function (floorId) {
|
||||
// 领域、夹击、阻击等的伤害值计算
|
||||
floorId = floorId || core.status.floorId;
|
||||
if (!floorId || !core.status.maps) return;
|
||||
// 领域、夹击、阻击等的伤害值计算
|
||||
floorId = floorId || core.status.floorId;
|
||||
if (!floorId || !core.status.maps) return;
|
||||
|
||||
var width = core.floors[floorId].width,
|
||||
height = core.floors[floorId].height;
|
||||
var blocks = core.getMapBlocksObj(floorId);
|
||||
var width = core.floors[floorId].width,
|
||||
height = core.floors[floorId].height;
|
||||
var blocks = core.getMapBlocksObj(floorId);
|
||||
|
||||
var damage = {}, // 每个点的伤害值
|
||||
type = {}, // 每个点的伤害类型
|
||||
repulse = {}, // 每个点的阻击怪信息
|
||||
ambush = {}; // 每个点的捕捉信息
|
||||
var betweenAttackLocs = {}; // 所有可能的夹击点
|
||||
var needCache = false;
|
||||
var canGoDeadZone = core.flags.canGoDeadZone;
|
||||
core.flags.canGoDeadZone = true;
|
||||
var damage = {}, // 每个点的伤害值
|
||||
type = {}, // 每个点的伤害类型
|
||||
repulse = {}, // 每个点的阻击怪信息
|
||||
ambush = {}; // 每个点的捕捉信息
|
||||
var betweenAttackLocs = {}; // 所有可能的夹击点
|
||||
var needCache = false;
|
||||
var canGoDeadZone = core.flags.canGoDeadZone;
|
||||
core.flags.canGoDeadZone = true;
|
||||
|
||||
// 计算血网和领域、阻击、激光的伤害,计算捕捉信息
|
||||
for (var loc in blocks) {
|
||||
var block = blocks[loc],
|
||||
x = block.x,
|
||||
y = block.y,
|
||||
id = block.event.id,
|
||||
enemy = core.material.enemys[id];
|
||||
if (block.disable) continue;
|
||||
// 计算血网和领域、阻击、激光的伤害,计算捕捉信息
|
||||
for (var loc in blocks) {
|
||||
var block = blocks[loc],
|
||||
x = block.x,
|
||||
y = block.y,
|
||||
id = block.event.id,
|
||||
enemy = core.material.enemys[id];
|
||||
if (block.disable) continue;
|
||||
|
||||
type[loc] = type[loc] || {};
|
||||
type[loc] = type[loc] || {};
|
||||
|
||||
// 血网
|
||||
// 如需调用当前楼层的ratio可使用 core.status.maps[floorId].ratio
|
||||
if (id == 'lavaNet' && !core.hasItem('amulet')) {
|
||||
damage[loc] = (damage[loc] || 0) + core.values.lavaDamage;
|
||||
type[loc][(block.event.name || "血网") + "伤害"] = true;
|
||||
}
|
||||
// 血网
|
||||
// 如需调用当前楼层的ratio可使用 core.status.maps[floorId].ratio
|
||||
if (id == 'lavaNet' && !core.hasItem('amulet')) {
|
||||
damage[loc] = (damage[loc] || 0) + core.values.lavaDamage;
|
||||
type[loc][(block.event.name || "血网") + "伤害"] = true;
|
||||
}
|
||||
|
||||
// 领域
|
||||
// 如果要防止领域伤害,可以直接简单的将 flag:no_zone 设为true
|
||||
if (enemy && core.hasSpecial(enemy.special, 15) && !core.hasFlag('no_zone')) {
|
||||
// 领域范围,默认为1
|
||||
var range = enemy.range || 1;
|
||||
// 是否是九宫格领域
|
||||
var zoneSquare = false;
|
||||
if (enemy.zoneSquare != null) zoneSquare = enemy.zoneSquare;
|
||||
// 在范围内进行搜索,增加领域伤害值
|
||||
for (var dx = -range; dx <= range; dx++) {
|
||||
for (var dy = -range; dy <= range; dy++) {
|
||||
if (dx == 0 && dy == 0) continue;
|
||||
var nx = x + dx,
|
||||
ny = y + dy,
|
||||
currloc = nx + "," + ny;
|
||||
if (nx < 0 || nx >= width || ny < 0 || ny >= height) continue;
|
||||
// 如果是十字领域,则还需要满足 |dx|+|dy|<=range
|
||||
if (!zoneSquare && Math.abs(dx) + Math.abs(dy) > range) continue;
|
||||
damage[currloc] = (damage[currloc] || 0) + (enemy.zone || 0);
|
||||
type[currloc] = type[currloc] || {};
|
||||
type[currloc]["领域伤害"] = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 阻击
|
||||
// 如果要防止阻击伤害,可以直接简单的将 flag:no_repulse 设为true
|
||||
if (enemy && core.hasSpecial(enemy.special, 18) && !core.hasFlag('no_repulse')) {
|
||||
var scan = enemy.zoneSquare ? core.utils.scan2 : core.utils.scan;
|
||||
for (var dir in scan) {
|
||||
var nx = x + scan[dir].x,
|
||||
ny = y + scan[dir].y,
|
||||
currloc = nx + "," + ny;
|
||||
if (nx < 0 || nx >= width || ny < 0 || ny >= height) continue;
|
||||
damage[currloc] = (damage[currloc] || 0) + (enemy.repulse || 0);
|
||||
type[currloc] = type[currloc] || {};
|
||||
type[currloc]["阻击伤害"] = true;
|
||||
|
||||
var rdir = core.turnDirection(":back", dir);
|
||||
// 检查下一个点是否存在事件(从而判定是否移动)
|
||||
var rnx = x + scan[rdir].x,
|
||||
rny = y + scan[rdir].y;
|
||||
if (rnx < 0 || rnx >= width || rny < 0 || rny >= height) continue;
|
||||
// 如需禁止阻击被推到已隐藏的事件处(如重生怪处),可将这一句的false改为true
|
||||
if (core.getBlock(rnx, rny, floorId, false) != null) continue;
|
||||
if (core.utils.scan[rdir] && !core.canMoveHero(x, y, rdir, floorId)) continue;
|
||||
repulse[currloc] = (repulse[currloc] || []).concat([
|
||||
[x, y, id, rdir]
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
// 激光
|
||||
// 如果要防止激光伤害,可以直接简单的将 flag:no_laser 设为true
|
||||
if (enemy && core.hasSpecial(enemy.special, 24) && !core.hasFlag("no_laser")) {
|
||||
for (var nx = 0; nx < width; nx++) {
|
||||
var currloc = nx + "," + y;
|
||||
if (nx != x) {
|
||||
damage[currloc] = (damage[currloc] || 0) + (enemy.laser || 0);
|
||||
type[currloc] = type[currloc] || {};
|
||||
type[currloc]["激光伤害"] = true;
|
||||
}
|
||||
}
|
||||
for (var ny = 0; ny < height; ny++) {
|
||||
var currloc = x + "," + ny;
|
||||
if (ny != y) {
|
||||
damage[currloc] = (damage[currloc] || 0) + (enemy.laser || 0);
|
||||
type[currloc] = type[currloc] || {};
|
||||
type[currloc]["激光伤害"] = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 捕捉
|
||||
// 如果要防止捕捉效果,可以直接简单的将 flag:no_ambush 设为true
|
||||
if (enemy && core.enemys.hasSpecial(enemy.special, 27) && !core.hasFlag("no_ambush")) {
|
||||
var scan = enemy.zoneSquare ? core.utils.scan2 : core.utils.scan;
|
||||
// 给周围格子加上【捕捉】记号
|
||||
for (var dir in scan) {
|
||||
var nx = x + scan[dir].x,
|
||||
ny = y + scan[dir].y,
|
||||
currloc = nx + "," + ny;
|
||||
if (nx < 0 || nx >= width || ny < 0 || ny >= height || (core.utils.scan[dir] && !core.canMoveHero(x, y, dir, floorId))) continue;
|
||||
ambush[currloc] = (ambush[currloc] || []).concat([
|
||||
[x, y, id, dir]
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
// 夹击;在这里提前计算所有可能的夹击点,具体计算逻辑在下面
|
||||
// 如果要防止夹击伤害,可以简单的将 flag:no_betweenAttack 设为true
|
||||
if (enemy && core.enemys.hasSpecial(enemy.special, 16) && !core.hasFlag('no_betweenAttack')) {
|
||||
for (var dir in core.utils.scan) {
|
||||
var nx = x + core.utils.scan[dir].x,
|
||||
ny = y + core.utils.scan[dir].y,
|
||||
currloc = nx + "," + ny;
|
||||
if (nx < 0 || nx >= width || ny < 0 || ny >= height) continue;
|
||||
betweenAttackLocs[currloc] = true;
|
||||
}
|
||||
}
|
||||
|
||||
// 检查地图范围类技能
|
||||
var specialFlag = core.getSpecialFlag(enemy);
|
||||
if (specialFlag & 1) needCache = true;
|
||||
if (core.status.event.id == 'viewMaps') needCache = true;
|
||||
if ((core.status.event.id == 'book' || core.status.event.id == 'bool-detail') && core.status.event.ui) needCache = true;
|
||||
}
|
||||
|
||||
// 对每个可能的夹击点计算夹击伤害
|
||||
for (var loc in betweenAttackLocs) {
|
||||
var xy = loc.split(","),
|
||||
x = parseInt(xy[0]),
|
||||
y = parseInt(xy[1]);
|
||||
// 夹击怪物的ID
|
||||
var enemyId1 = null,
|
||||
enemyId2 = null;
|
||||
// 检查左右夹击
|
||||
var leftBlock = blocks[(x - 1) + "," + y],
|
||||
rightBlock = blocks[(x + 1) + "," + y];
|
||||
var leftId = core.getFaceDownId(leftBlock),
|
||||
rightId = core.getFaceDownId(rightBlock);
|
||||
if (leftBlock && !leftBlock.disable && rightBlock && !rightBlock.disable && leftId == rightId) {
|
||||
if (core.hasSpecial(leftId, 16))
|
||||
enemyId1 = leftId;
|
||||
}
|
||||
// 检查上下夹击
|
||||
var topBlock = blocks[x + "," + (y - 1)],
|
||||
bottomBlock = blocks[x + "," + (y + 1)];
|
||||
var topId = core.getFaceDownId(topBlock),
|
||||
bottomId = core.getFaceDownId(bottomBlock);
|
||||
if (topBlock && !topBlock.disable && bottomBlock && !bottomBlock.disable && topId == bottomId) {
|
||||
if (core.hasSpecial(topId, 16))
|
||||
enemyId2 = topId;
|
||||
}
|
||||
|
||||
if (enemyId1 != null || enemyId2 != null) {
|
||||
var leftHp = core.status.hero.hp - (damage[loc] || 0);
|
||||
if (leftHp > 1) {
|
||||
// 夹击伤害值
|
||||
var value = Math.floor(leftHp / 2);
|
||||
// 是否不超过怪物伤害值
|
||||
if (core.flags.betweenAttackMax) {
|
||||
var enemyDamage1 = core.getDamage(enemyId1, x, y, floorId);
|
||||
if (enemyDamage1 != null && enemyDamage1 < value)
|
||||
value = enemyDamage1;
|
||||
var enemyDamage2 = core.getDamage(enemyId2, x, y, floorId);
|
||||
if (enemyDamage2 != null && enemyDamage2 < value)
|
||||
value = enemyDamage2;
|
||||
}
|
||||
if (value > 0) {
|
||||
damage[loc] = (damage[loc] || 0) + value;
|
||||
type[loc] = type[loc] || {};
|
||||
type[loc]["夹击伤害"] = true;
|
||||
}
|
||||
}
|
||||
// 领域
|
||||
// 如果要防止领域伤害,可以直接简单的将 flag:no_zone 设为true
|
||||
if (enemy && core.hasSpecial(enemy.special, 15) && !core.hasFlag('no_zone')) {
|
||||
// 领域范围,默认为1
|
||||
var range = enemy.range || 1;
|
||||
// 是否是九宫格领域
|
||||
var zoneSquare = false;
|
||||
if (enemy.zoneSquare != null) zoneSquare = enemy.zoneSquare;
|
||||
// 在范围内进行搜索,增加领域伤害值
|
||||
for (var dx = -range; dx <= range; dx++) {
|
||||
for (var dy = -range; dy <= range; dy++) {
|
||||
if (dx == 0 && dy == 0) continue;
|
||||
var nx = x + dx,
|
||||
ny = y + dy,
|
||||
currloc = nx + "," + ny;
|
||||
if (nx < 0 || nx >= width || ny < 0 || ny >= height) continue;
|
||||
// 如果是十字领域,则还需要满足 |dx|+|dy|<=range
|
||||
if (!zoneSquare && Math.abs(dx) + Math.abs(dy) > range) continue;
|
||||
damage[currloc] = (damage[currloc] || 0) + (enemy.zone || 0);
|
||||
type[currloc] = type[currloc] || {};
|
||||
type[currloc]["领域伤害"] = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 取消注释下面这一段可以让护盾抵御阻激夹域伤害
|
||||
/*
|
||||
for (var loc in damage) {
|
||||
damage[loc] = Math.max(0, damage[loc] - core.getRealStatus('mdef'));
|
||||
// 阻击
|
||||
// 如果要防止阻击伤害,可以直接简单的将 flag:no_repulse 设为true
|
||||
if (enemy && core.hasSpecial(enemy.special, 18) && !core.hasFlag('no_repulse')) {
|
||||
var scan = enemy.zoneSquare ? core.utils.scan2 : core.utils.scan;
|
||||
for (var dir in scan) {
|
||||
var nx = x + scan[dir].x,
|
||||
ny = y + scan[dir].y,
|
||||
currloc = nx + "," + ny;
|
||||
if (nx < 0 || nx >= width || ny < 0 || ny >= height) continue;
|
||||
damage[currloc] = (damage[currloc] || 0) + (enemy.repulse || 0);
|
||||
type[currloc] = type[currloc] || {};
|
||||
type[currloc]["阻击伤害"] = true;
|
||||
|
||||
var rdir = core.turnDirection(":back", dir);
|
||||
// 检查下一个点是否存在事件(从而判定是否移动)
|
||||
var rnx = x + scan[rdir].x,
|
||||
rny = y + scan[rdir].y;
|
||||
if (rnx < 0 || rnx >= width || rny < 0 || rny >= height) continue;
|
||||
// 如需禁止阻击被推到已隐藏的事件处(如重生怪处),可将这一句的false改为true
|
||||
if (core.getBlock(rnx, rny, floorId, false) != null) continue;
|
||||
if (core.utils.scan[rdir] && !core.canMoveHero(x, y, rdir, floorId)) continue;
|
||||
repulse[currloc] = (repulse[currloc] || []).concat([
|
||||
[x, y, id, rdir]
|
||||
]);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
core.flags.canGoDeadZone = canGoDeadZone;
|
||||
core.status.checkBlock = {
|
||||
damage: damage,
|
||||
type: type,
|
||||
repulse: repulse,
|
||||
ambush: ambush,
|
||||
needCache: needCache,
|
||||
cache: {} // clear cache
|
||||
};
|
||||
},
|
||||
// 激光
|
||||
// 如果要防止激光伤害,可以直接简单的将 flag:no_laser 设为true
|
||||
if (enemy && core.hasSpecial(enemy.special, 24) && !core.hasFlag("no_laser")) {
|
||||
for (var nx = 0; nx < width; nx++) {
|
||||
var currloc = nx + "," + y;
|
||||
if (nx != x) {
|
||||
damage[currloc] = (damage[currloc] || 0) + (enemy.laser || 0);
|
||||
type[currloc] = type[currloc] || {};
|
||||
type[currloc]["激光伤害"] = true;
|
||||
}
|
||||
}
|
||||
for (var ny = 0; ny < height; ny++) {
|
||||
var currloc = x + "," + ny;
|
||||
if (ny != y) {
|
||||
damage[currloc] = (damage[currloc] || 0) + (enemy.laser || 0);
|
||||
type[currloc] = type[currloc] || {};
|
||||
type[currloc]["激光伤害"] = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 捕捉
|
||||
// 如果要防止捕捉效果,可以直接简单的将 flag:no_ambush 设为true
|
||||
if (enemy && core.enemys.hasSpecial(enemy.special, 27) && !core.hasFlag("no_ambush")) {
|
||||
var scan = enemy.zoneSquare ? core.utils.scan2 : core.utils.scan;
|
||||
// 给周围格子加上【捕捉】记号
|
||||
for (var dir in scan) {
|
||||
var nx = x + scan[dir].x,
|
||||
ny = y + scan[dir].y,
|
||||
currloc = nx + "," + ny;
|
||||
if (nx < 0 || nx >= width || ny < 0 || ny >= height || (core.utils.scan[dir] && !core.canMoveHero(x, y, dir, floorId))) continue;
|
||||
ambush[currloc] = (ambush[currloc] || []).concat([
|
||||
[x, y, id, dir]
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
// 夹击;在这里提前计算所有可能的夹击点,具体计算逻辑在下面
|
||||
// 如果要防止夹击伤害,可以简单的将 flag:no_betweenAttack 设为true
|
||||
if (enemy && core.enemys.hasSpecial(enemy.special, 16) && !core.hasFlag('no_betweenAttack')) {
|
||||
for (var dir in core.utils.scan) {
|
||||
var nx = x + core.utils.scan[dir].x,
|
||||
ny = y + core.utils.scan[dir].y,
|
||||
currloc = nx + "," + ny;
|
||||
if (nx < 0 || nx >= width || ny < 0 || ny >= height) continue;
|
||||
betweenAttackLocs[currloc] = true;
|
||||
}
|
||||
}
|
||||
|
||||
// 检查地图范围类技能
|
||||
var specialFlag = core.getSpecialFlag(enemy);
|
||||
if (specialFlag & 1) needCache = true;
|
||||
if (core.status.event.id == 'viewMaps') needCache = true;
|
||||
if ((core.status.event.id == 'book' || core.status.event.id == 'bool-detail') && core.status.event.ui) needCache = true;
|
||||
}
|
||||
|
||||
// 对每个可能的夹击点计算夹击伤害
|
||||
for (var loc in betweenAttackLocs) {
|
||||
var xy = loc.split(","),
|
||||
x = parseInt(xy[0]),
|
||||
y = parseInt(xy[1]);
|
||||
// 夹击怪物的ID
|
||||
var enemyId1 = null,
|
||||
enemyId2 = null;
|
||||
// 检查左右夹击
|
||||
var leftBlock = blocks[(x - 1) + "," + y],
|
||||
rightBlock = blocks[(x + 1) + "," + y];
|
||||
var leftId = core.getFaceDownId(leftBlock),
|
||||
rightId = core.getFaceDownId(rightBlock);
|
||||
if (leftBlock && !leftBlock.disable && rightBlock && !rightBlock.disable && leftId == rightId) {
|
||||
if (core.hasSpecial(leftId, 16))
|
||||
enemyId1 = leftId;
|
||||
}
|
||||
// 检查上下夹击
|
||||
var topBlock = blocks[x + "," + (y - 1)],
|
||||
bottomBlock = blocks[x + "," + (y + 1)];
|
||||
var topId = core.getFaceDownId(topBlock),
|
||||
bottomId = core.getFaceDownId(bottomBlock);
|
||||
if (topBlock && !topBlock.disable && bottomBlock && !bottomBlock.disable && topId == bottomId) {
|
||||
if (core.hasSpecial(topId, 16))
|
||||
enemyId2 = topId;
|
||||
}
|
||||
|
||||
if (enemyId1 != null || enemyId2 != null) {
|
||||
var leftHp = core.status.hero.hp - (damage[loc] || 0);
|
||||
if (leftHp > 1) {
|
||||
// 夹击伤害值
|
||||
var value = Math.floor(leftHp / 2);
|
||||
// 是否不超过怪物伤害值
|
||||
if (core.flags.betweenAttackMax) {
|
||||
var enemyDamage1 = core.getDamage(enemyId1, x, y, floorId);
|
||||
if (enemyDamage1 != null && enemyDamage1 < value)
|
||||
value = enemyDamage1;
|
||||
var enemyDamage2 = core.getDamage(enemyId2, x, y, floorId);
|
||||
if (enemyDamage2 != null && enemyDamage2 < value)
|
||||
value = enemyDamage2;
|
||||
}
|
||||
if (value > 0) {
|
||||
damage[loc] = (damage[loc] || 0) + value;
|
||||
type[loc] = type[loc] || {};
|
||||
type[loc]["夹击伤害"] = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 取消注释下面这一段可以让护盾抵御阻激夹域伤害
|
||||
/*
|
||||
for (var loc in damage) {
|
||||
damage[loc] = Math.max(0, damage[loc] - core.getRealStatus('mdef'));
|
||||
}
|
||||
*/
|
||||
|
||||
core.flags.canGoDeadZone = canGoDeadZone;
|
||||
core.status.checkBlock = {
|
||||
damage: damage,
|
||||
type: type,
|
||||
repulse: repulse,
|
||||
ambush: ambush,
|
||||
needCache: needCache,
|
||||
cache: {} // clear cache
|
||||
};
|
||||
},
|
||||
"moveOneStep": function (callback) {
|
||||
// 勇士每走一步后执行的操作。callback为行走完毕后的回调
|
||||
// 这个函数执行在“刚走完”的时候,即还没有检查该点的事件和领域伤害等。
|
||||
|
@ -194,7 +194,16 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 =
|
||||
"N1759": 74,
|
||||
"N1760": 75,
|
||||
"N1761": 76,
|
||||
"N1762": 77
|
||||
"N1762": 77,
|
||||
"N1790": 78,
|
||||
"N1791": 79,
|
||||
"N1792": 80,
|
||||
"N1793": 81,
|
||||
"N1794": 82,
|
||||
"N1795": 83,
|
||||
"N1796": 84,
|
||||
"N1797": 85,
|
||||
"N1798": 86
|
||||
},
|
||||
"enemys": {
|
||||
"greenSlime": 0,
|
||||
@ -1714,13 +1723,19 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 =
|
||||
"I1781": 203,
|
||||
"I1782": 204,
|
||||
"I1783": 205,
|
||||
"I1784": 206
|
||||
"I1784": 206,
|
||||
"I1785": 207,
|
||||
"I1786": 208,
|
||||
"I1787": 209,
|
||||
"I1788": 210,
|
||||
"I1789": 211
|
||||
},
|
||||
"autotile": {
|
||||
"autotile": 0,
|
||||
"autotile1": 0,
|
||||
"autotile2": 0,
|
||||
"autotile3": 0,
|
||||
"autotile4": 0
|
||||
"autotile4": 0,
|
||||
"autotile5": 0
|
||||
}
|
||||
}
|
390
project/items.js
390
project/items.js
@ -52,243 +52,125 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
"cls": "items",
|
||||
"name": "红血瓶",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hp += 75;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 25;",
|
||||
"itemEffect": "core.status.hero.hp += 75;\nif (core.getFlag(\"hard\") == 1)\n\thero.hp += 25;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 25;",
|
||||
"itemEffectTip": "恢复生命值"
|
||||
},
|
||||
"bluePotion": {
|
||||
"cls": "items",
|
||||
"name": "蓝血瓶",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hp += 100;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 25;",
|
||||
"itemEffect": "core.status.hero.hp += 100;\nif (core.getFlag(\"hard\") == 1)\n\thero.hp += 25;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 25;",
|
||||
"itemEffectTip": "恢复生命值"
|
||||
},
|
||||
"yellowPotion": {
|
||||
"cls": "items",
|
||||
"name": "黄血瓶",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hp += 200;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 50;",
|
||||
"itemEffect": "core.status.hero.hp += 200;\nif (core.getFlag(\"hard\") == 1)\n\thero.hp += 50;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 50;",
|
||||
"itemEffectTip": "恢复生命值"
|
||||
},
|
||||
"greenPotion": {
|
||||
"cls": "items",
|
||||
"name": "绿血瓶",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hp += 300;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 100;",
|
||||
"itemEffect": "core.status.hero.hp += 300;\nif (core.getFlag(\"hard\") == 1)\n\thero.hp += 50;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 100;",
|
||||
"itemEffectTip": "恢复生命值"
|
||||
},
|
||||
"sword0": {
|
||||
"cls": "equips",
|
||||
"cls": "items",
|
||||
"name": "破旧的剑",
|
||||
"text": "一把已经生锈的剑",
|
||||
"equip": {
|
||||
"type": "武器",
|
||||
"animate": "sword",
|
||||
"value": {
|
||||
"atk": 2
|
||||
},
|
||||
"percentage": {}
|
||||
},
|
||||
"itemEffect": "core.status.hero.atk += 0",
|
||||
"itemEffectTip": "破旧的小刀,需要装备"
|
||||
"equip": null,
|
||||
"itemEffect": "core.status.hero.atk += 2",
|
||||
"itemEffectTip": ""
|
||||
},
|
||||
"sword1": {
|
||||
"cls": "equips",
|
||||
"cls": "items",
|
||||
"name": "铁剑",
|
||||
"text": "一把很普通的铁剑",
|
||||
"equip": {
|
||||
"type": "武器",
|
||||
"animate": "sword",
|
||||
"value": {
|
||||
"atk": 7
|
||||
},
|
||||
"percentage": {},
|
||||
"equipEvent": [
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "item:sword0",
|
||||
"value": "0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"itemEffect": "",
|
||||
"itemEffectTip": ""
|
||||
"text": "",
|
||||
"equip": null,
|
||||
"itemEffect": "core.status.hero.atk += 5",
|
||||
"itemEffectTip": "攻击提升"
|
||||
},
|
||||
"sword2": {
|
||||
"cls": "equips",
|
||||
"cls": "items",
|
||||
"name": "银剑",
|
||||
"text": "",
|
||||
"equip": {
|
||||
"type": "武器",
|
||||
"animate": "sword",
|
||||
"value": {
|
||||
"atk": 27
|
||||
},
|
||||
"percentage": {},
|
||||
"equipEvent": [
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "item:sword1",
|
||||
"value": "0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"itemEffect": "",
|
||||
"itemEffectTip": ""
|
||||
"equip": null,
|
||||
"itemEffect": "core.status.hero.atk += 20",
|
||||
"itemEffectTip": "攻击提升"
|
||||
},
|
||||
"sword3": {
|
||||
"cls": "equips",
|
||||
"cls": "items",
|
||||
"name": "骑士剑",
|
||||
"text": "",
|
||||
"equip": {
|
||||
"type": "武器",
|
||||
"animate": "sword",
|
||||
"value": {
|
||||
"atk": 67
|
||||
},
|
||||
"percentage": {},
|
||||
"equipEvent": [
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "item:sword2",
|
||||
"value": "0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"itemEffect": "",
|
||||
"itemEffectTip": ""
|
||||
"equip": null,
|
||||
"itemEffect": "core.status.hero.atk += 40",
|
||||
"itemEffectTip": "攻击提升"
|
||||
},
|
||||
"sword4": {
|
||||
"cls": "items",
|
||||
"name": "圣剑",
|
||||
"text": "一把很普通的圣剑",
|
||||
"equip": {
|
||||
"type": 0,
|
||||
"animate": "sword",
|
||||
"value": {
|
||||
"atk": 80
|
||||
}
|
||||
},
|
||||
"itemEffect": "core.status.hero.atk += 80",
|
||||
"itemEffectTip": ",攻击+80"
|
||||
"text": "",
|
||||
"equip": null,
|
||||
"itemEffect": "core.status.hero.atk += 50",
|
||||
"itemEffectTip": "攻击提升"
|
||||
},
|
||||
"sword5": {
|
||||
"cls": "items",
|
||||
"name": "神圣剑",
|
||||
"text": "一把很普通的神圣剑",
|
||||
"equip": {
|
||||
"type": 0,
|
||||
"animate": "sword",
|
||||
"value": {
|
||||
"atk": 160
|
||||
}
|
||||
},
|
||||
"text": "",
|
||||
"equip": null,
|
||||
"itemEffect": "core.status.hero.atk += 100",
|
||||
"itemEffectTip": ",攻击+100"
|
||||
"itemEffectTip": "攻击提升"
|
||||
},
|
||||
"shield0": {
|
||||
"cls": "equips",
|
||||
"cls": "items",
|
||||
"name": "破旧的盾",
|
||||
"text": "一个已破旧的盾牌",
|
||||
"equip": {
|
||||
"type": "防具",
|
||||
"animate": "sword",
|
||||
"value": {
|
||||
"def": 2
|
||||
},
|
||||
"percentage": {}
|
||||
},
|
||||
"itemEffect": "core.status.hero.atk += 0",
|
||||
"itemEffectTip": "破旧的盾牌,需要装备"
|
||||
"equip": null,
|
||||
"itemEffect": "core.status.hero.def += 2",
|
||||
"itemEffectTip": ""
|
||||
},
|
||||
"shield1": {
|
||||
"cls": "equips",
|
||||
"cls": "items",
|
||||
"name": "铁盾",
|
||||
"text": "一个很普通的铁盾",
|
||||
"equip": {
|
||||
"type": "盾牌",
|
||||
"value": {
|
||||
"def": 7
|
||||
},
|
||||
"percentage": {},
|
||||
"equipEvent": [
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "item:shield0",
|
||||
"value": "0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"itemEffect": "",
|
||||
"itemEffectTip": ""
|
||||
"text": "",
|
||||
"equip": null,
|
||||
"itemEffect": "core.status.hero.def += 5",
|
||||
"itemEffectTip": "防御提升"
|
||||
},
|
||||
"shield2": {
|
||||
"cls": "equips",
|
||||
"cls": "items",
|
||||
"name": "银盾",
|
||||
"text": "一个很普通的铁盾",
|
||||
"equip": {
|
||||
"type": "盾牌",
|
||||
"value": {
|
||||
"def": 27
|
||||
},
|
||||
"percentage": {},
|
||||
"equipEvent": [
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "item:shield0",
|
||||
"value": "0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"itemEffect": "",
|
||||
"itemEffectTip": ""
|
||||
"text": "",
|
||||
"equip": null,
|
||||
"itemEffect": "core.status.hero.def += 50",
|
||||
"itemEffectTip": "防御提升"
|
||||
},
|
||||
"shield3": {
|
||||
"cls": "equips",
|
||||
"cls": "items",
|
||||
"name": "骑士盾",
|
||||
"text": "一个很普通的铁盾",
|
||||
"equip": {
|
||||
"type": "盾牌",
|
||||
"value": {
|
||||
"def": 67
|
||||
},
|
||||
"percentage": {},
|
||||
"equipEvent": [
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "item:shield2",
|
||||
"value": "0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"itemEffect": "",
|
||||
"itemEffectTip": ""
|
||||
"text": "",
|
||||
"equip": null,
|
||||
"itemEffect": "core.status.hero.def += 40",
|
||||
"itemEffectTip": "防御提升"
|
||||
},
|
||||
"shield4": {
|
||||
"cls": "items",
|
||||
"name": "圣盾",
|
||||
"text": "一个很普通的圣盾",
|
||||
"equip": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"def": 80
|
||||
}
|
||||
},
|
||||
"itemEffect": "core.status.hero.def += 80",
|
||||
"itemEffectTip": ",防御+80"
|
||||
"text": "",
|
||||
"equip": null,
|
||||
"itemEffect": "core.status.hero.def += 5",
|
||||
"itemEffectTip": "防御提升"
|
||||
},
|
||||
"shield5": {
|
||||
"cls": "items",
|
||||
"name": "神圣盾",
|
||||
"text": "一个很普通的神圣盾",
|
||||
"equip": {
|
||||
"type": 1,
|
||||
"value": {
|
||||
"def": 100,
|
||||
"mdef": 100
|
||||
}
|
||||
},
|
||||
"itemEffect": "core.status.hero.def += 100;core.status.hero.mdef += 100",
|
||||
"itemEffectTip": ",防御+100,护盾+100"
|
||||
"text": "",
|
||||
"equip": null,
|
||||
"itemEffect": "core.status.hero.def += 100",
|
||||
"itemEffectTip": "防御提升"
|
||||
},
|
||||
"superPotion": {
|
||||
"cls": "items",
|
||||
@ -689,9 +571,52 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
"canUseItemEffect": "true"
|
||||
},
|
||||
"I339": {
|
||||
"cls": "items",
|
||||
"name": "新物品",
|
||||
"canUseItemEffect": "true"
|
||||
"cls": "constants",
|
||||
"name": "罪恶的插件",
|
||||
"canUseItemEffect": "true",
|
||||
"useItemEvent": [
|
||||
{
|
||||
"type": "choices",
|
||||
"text": "这里是自动拾取开关!",
|
||||
"choices": [
|
||||
{
|
||||
"text": "开启自动拾取",
|
||||
"color": [
|
||||
105,
|
||||
231,
|
||||
153,
|
||||
1
|
||||
],
|
||||
"action": [
|
||||
"自动拾取已开启!",
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "flag:shiqu",
|
||||
"value": "true"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"text": "关闭自动拾取",
|
||||
"color": [
|
||||
243,
|
||||
184,
|
||||
78,
|
||||
1
|
||||
],
|
||||
"action": [
|
||||
"自动拾取已关闭!",
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "flag:shiqu",
|
||||
"value": "false"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"text": "自动拾取宝物,捡到了不该捡的别怪我"
|
||||
},
|
||||
"I340": {
|
||||
"cls": "items",
|
||||
@ -943,28 +868,28 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
"cls": "items",
|
||||
"name": "一阶红药水",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hp += 500;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 100;",
|
||||
"itemEffect": "core.status.hero.hp += 500;\nif (core.getFlag(\"hard\") == 1)\n\thero.hp += 100;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 100;",
|
||||
"itemEffectTip": "恢复生命值"
|
||||
},
|
||||
"I368": {
|
||||
"cls": "items",
|
||||
"name": "三阶黄药水",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hp += 2000;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 1000;",
|
||||
"itemEffect": "core.status.hero.hp += 2000;\nif (core.getFlag(\"hard\") == 1)\n\thero.hp += 800;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 1000;",
|
||||
"itemEffectTip": "恢复生命值"
|
||||
},
|
||||
"I369": {
|
||||
"cls": "items",
|
||||
"name": "四阶绿药水",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hp += 3000;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 1500;",
|
||||
"itemEffect": "core.status.hero.hp += 3000;\nif (core.getFlag(\"hard\") == 1)\n\thero.hp += 1000;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 1500;",
|
||||
"itemEffectTip": "恢复生命值"
|
||||
},
|
||||
"I370": {
|
||||
"cls": "items",
|
||||
"name": "二阶蓝药水",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hp += 1000;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 500;",
|
||||
"itemEffect": "core.status.hero.hp += 1000;\nif (core.getFlag(\"hard\") == 1)\n\thero.hp += 250;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 500;",
|
||||
"itemEffectTip": "恢复生命值"
|
||||
},
|
||||
"I371": {
|
||||
@ -1220,23 +1145,31 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
},
|
||||
"I408": {
|
||||
"cls": "items",
|
||||
"name": "新物品",
|
||||
"canUseItemEffect": "true"
|
||||
"name": "十阶虹药水",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hp += 100000;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 50000;",
|
||||
"itemEffectTip": "恢复生命值"
|
||||
},
|
||||
"I409": {
|
||||
"cls": "items",
|
||||
"name": "新物品",
|
||||
"canUseItemEffect": "true"
|
||||
"name": "十一阶湛药水",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hp += 200000;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 100000;",
|
||||
"itemEffectTip": "恢复生命值"
|
||||
},
|
||||
"I410": {
|
||||
"cls": "items",
|
||||
"name": "新物品",
|
||||
"canUseItemEffect": "true"
|
||||
"name": "十二阶皇药水",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hp += 500000;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 250000;",
|
||||
"itemEffectTip": "恢复生命值"
|
||||
},
|
||||
"I411": {
|
||||
"cls": "items",
|
||||
"name": "新物品",
|
||||
"canUseItemEffect": "true"
|
||||
"name": "十三阶天药水",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hp += 1000000;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 500000;",
|
||||
"itemEffectTip": "恢复生命值"
|
||||
},
|
||||
"I412": {
|
||||
"cls": "items",
|
||||
@ -1578,22 +1511,22 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
"cls": "items",
|
||||
"name": "九阶血宝石",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hpmax += 3000;\ncore.status.hero.atk += 0;\ncore.status.hero.def += 0;\ncore.status.hero.mdef += 0;",
|
||||
"itemEffectTip": "生命上限+3000"
|
||||
"itemEffect": "core.status.hero.hpmax += 5000;\ncore.status.hero.atk += 0;\ncore.status.hero.def += 0;\ncore.status.hero.mdef += 0;",
|
||||
"itemEffectTip": "生命上限+5000"
|
||||
},
|
||||
"I448": {
|
||||
"cls": "items",
|
||||
"name": "十阶血宝石",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hpmax += 4000;\ncore.status.hero.atk += 0;\ncore.status.hero.def += 0;\ncore.status.hero.mdef += 0;",
|
||||
"itemEffectTip": "生命上限+4000"
|
||||
"itemEffect": "core.status.hero.hpmax += 10000;\ncore.status.hero.atk += 0;\ncore.status.hero.def += 0;\ncore.status.hero.mdef += 0;",
|
||||
"itemEffectTip": "生命上限+10000"
|
||||
},
|
||||
"I449": {
|
||||
"cls": "items",
|
||||
"name": "血神石",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hpmax += 5000;\ncore.status.hero.atk += 0;\ncore.status.hero.def += 0;\ncore.status.hero.mdef += 0;",
|
||||
"itemEffectTip": "生命上限+5000"
|
||||
"itemEffect": "core.status.hero.hpmax += 50000;\ncore.status.hero.atk += 0;\ncore.status.hero.def += 0;\ncore.status.hero.mdef += 0;",
|
||||
"itemEffectTip": "生命上限+50000"
|
||||
},
|
||||
"I450": {
|
||||
"cls": "tools",
|
||||
@ -1800,9 +1733,37 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
"text": "消耗10%的最大魔力值,恢复2倍最大魔力值的生命值"
|
||||
},
|
||||
"I1771": {
|
||||
"cls": "items",
|
||||
"name": "新物品",
|
||||
"canUseItemEffect": "true"
|
||||
"cls": "constants",
|
||||
"name": "仙医点化术(完整版)",
|
||||
"canUseItemEffect": "true",
|
||||
"useItemEvent": [
|
||||
{
|
||||
"type": "if",
|
||||
"condition": "(status:mana<(status:manamax*0.1))",
|
||||
"true": [
|
||||
{
|
||||
"type": "playSound",
|
||||
"name": "操作失败"
|
||||
},
|
||||
"\t[仙医点化术,I342]\b[this]你的魔力不足!"
|
||||
],
|
||||
"false": [
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "status:mana",
|
||||
"operator": "-=",
|
||||
"value": "(status:manamax*0.1)"
|
||||
},
|
||||
{
|
||||
"type": "setValue",
|
||||
"name": "status:hp",
|
||||
"operator": "+=",
|
||||
"value": "(status:manamax*3)"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"text": "消耗10%的最大魔力值,恢复3倍最大魔力值的生命值(达到更高的层次实力效果更强)"
|
||||
},
|
||||
"I1772": {
|
||||
"cls": "items",
|
||||
@ -1879,5 +1840,40 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.manamax += 30;\ncore.status.hero.atk += 0;\ncore.status.hero.def += 0;\ncore.status.hero.mdef += 0;",
|
||||
"itemEffectTip": "魔力上限+30"
|
||||
},
|
||||
"I1785": {
|
||||
"cls": "items",
|
||||
"name": "五阶蓝药水",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hp += 5000;\nif (core.getFlag(\"hard\") == 1)\n\thero.hp += 2500;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 2500;",
|
||||
"itemEffectTip": "恢复生命值"
|
||||
},
|
||||
"I1786": {
|
||||
"cls": "items",
|
||||
"name": "六阶粉药水",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hp += 8000;\nif (core.getFlag(\"hard\") == 1)\n\thero.hp += 2000;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 4000;",
|
||||
"itemEffectTip": "恢复生命值"
|
||||
},
|
||||
"I1787": {
|
||||
"cls": "items",
|
||||
"name": "七阶血药水",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hp += 10000;\nif (core.getFlag(\"hard\") == 1)\n\thero.hp += 5000;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 5000;",
|
||||
"itemEffectTip": "恢复生命值"
|
||||
},
|
||||
"I1788": {
|
||||
"cls": "items",
|
||||
"name": "八阶金药水",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hp += 20000;\nif (core.getFlag(\"hard\") == 1)\n\thero.hp += 10000;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 10000;",
|
||||
"itemEffectTip": "恢复生命值"
|
||||
},
|
||||
"I1789": {
|
||||
"cls": "items",
|
||||
"name": "九阶青药水",
|
||||
"canUseItemEffect": "true",
|
||||
"itemEffect": "core.status.hero.hp += 50000;\nif (core.getFlag(\"hard\") == 1)\n\thero.hp += 30000;\nif (core.getFlag(\"hard\") == 3)\n\thero.hp -= 25000;",
|
||||
"itemEffectTip": "恢复生命值"
|
||||
}
|
||||
}
|
@ -16,7 +16,7 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e =
|
||||
"14": {"cls":"animates","id":"curseNet","canPass":true,"trigger":"null","script":"(function () {\n\tif (!core.hasItem('amulet')) {\n\t\tcore.triggerDebuff('get', 'curse');\n\t\tcore.updateStatusBar();\n\t}\n\n\t// 如果要做一次性咒网,可直接注释掉下面这句话:\n\t// core.removeBlock(core.getHeroLoc('x'), core.getHeroLoc('y'));\n})()","name":"咒网"},
|
||||
"15": {"cls":"animates","id":"blueLava"},
|
||||
"16": {"cls":"animates","id":"water"},
|
||||
"20": {"cls":"autotile","id":"autotile","canBreak":false},
|
||||
"20": {"cls":"autotile","id":"autotile","canBreak":true},
|
||||
"21": {"cls":"items","id":"yellowKey"},
|
||||
"22": {"cls":"items","id":"blueKey"},
|
||||
"23": {"cls":"items","id":"redKey"},
|
||||
@ -106,6 +106,7 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e =
|
||||
"137": {"cls":"npcs","id":"greenMan"},
|
||||
"138": {"cls":"npcs","id":"blueTrader"},
|
||||
"140": {"cls":"autotile","id":"autotile4"},
|
||||
"141": {"cls":"autotile","id":"autotile5"},
|
||||
"151": {"cls":"autotile","id":"autotile1","canBreak":true},
|
||||
"152": {"cls":"autotile","id":"autotile2","canBreak":true},
|
||||
"153": {"cls":"autotile","id":"autotile3"},
|
||||
@ -1679,6 +1680,20 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e =
|
||||
"1782": {"cls":"items","id":"I1782"},
|
||||
"1783": {"cls":"items","id":"I1783"},
|
||||
"1784": {"cls":"items","id":"I1784"},
|
||||
"1785": {"cls":"items","id":"I1785"},
|
||||
"1786": {"cls":"items","id":"I1786"},
|
||||
"1787": {"cls":"items","id":"I1787"},
|
||||
"1788": {"cls":"items","id":"I1788"},
|
||||
"1789": {"cls":"items","id":"I1789"},
|
||||
"1790": {"cls":"npc48","id":"N1790"},
|
||||
"1791": {"cls":"npc48","id":"N1791","faceIds":{"down":"N1791","left":"N1792","right":"N1793","up":"N1794"}},
|
||||
"1792": {"cls":"npc48","id":"N1792","faceIds":{"down":"N1791","left":"N1792","right":"N1793","up":"N1794"}},
|
||||
"1793": {"cls":"npc48","id":"N1793","faceIds":{"down":"N1791","left":"N1792","right":"N1793","up":"N1794"}},
|
||||
"1794": {"cls":"npc48","id":"N1794","faceIds":{"down":"N1791","left":"N1792","right":"N1793","up":"N1794"}},
|
||||
"1795": {"cls":"npc48","id":"N1795","faceIds":{"down":"N1795","left":"N1796","right":"N1797","up":"N1798"}},
|
||||
"1796": {"cls":"npc48","id":"N1796","faceIds":{"down":"N1795","left":"N1796","right":"N1797","up":"N1798"}},
|
||||
"1797": {"cls":"npc48","id":"N1797","faceIds":{"down":"N1795","left":"N1796","right":"N1797","up":"N1798"}},
|
||||
"1798": {"cls":"npc48","id":"N1798","faceIds":{"down":"N1795","left":"N1796","right":"N1797","up":"N1798"}},
|
||||
"10110": {"cls":"tileset","id":"X10110","event":[{"type":"if","condition":"(flag:hard===3)","true":["最高难度禁开宝箱"],"false":[{"type":"confirm","text":"确认要花费80魔力值打开这个宝箱吗?","yes":[{"type":"if","condition":"(status:mana<80)","true":[{"type":"playSound","name":"操作失败"},"你的魔力不足!"],"false":[{"type":"setValue","name":"status:mana","operator":"-=","value":"80"},{"type":"playSound","name":"door.mp3"},{"type":"insert","name":"抽奖"},{"type":"setBlock","number":"X10111"}]}],"no":[]}]}]},
|
||||
"10145": {"cls":"tileset","id":"X10145","canPass":true},
|
||||
"20005": {"cls":"tileset","id":"X20005","canBreak":true},
|
||||
@ -1689,6 +1704,7 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e =
|
||||
"21632": {"cls":"tileset","id":"X21632","canBreak":true},
|
||||
"50259": {"cls":"tileset","id":"X50259","canBreak":true},
|
||||
"50282": {"cls":"tileset","id":"X50282","canBreak":true},
|
||||
"50336": {"cls":"tileset","id":"X50336","canBreak":true},
|
||||
"50338": {"cls":"tileset","id":"X50338","event":[{"type":"confirm","text":"确认要花费60魔力值破解魔法阵吗?","yes":[{"type":"if","condition":"(status:mana<60)","true":[{"type":"playSound","name":"操作失败"},"你的魔力不足!"],"false":[{"type":"setValue","name":"status:mana","operator":"-=","value":"60"},{"type":"animate","name":"sg"},{"type":"hide","remove":true}]}],"no":[]}]},
|
||||
"60004": {"cls":"tileset","id":"X60004","canBreak":true},
|
||||
"60006": {"cls":"tileset","id":"X60006","canBreak":true},
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 109 KiB |
Binary file not shown.
Before Width: | Height: | Size: 171 KiB After Width: | Height: | Size: 213 KiB |
@ -1735,5 +1735,147 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
"自动拾取!": function () {
|
||||
var enable = true;
|
||||
if (!enable) return;
|
||||
//
|
||||
// var noUpdate = false;
|
||||
////// 更新状态栏 ////// 不建议状态栏刷新后触发 容易导致录像不一致的问题
|
||||
//control.prototype.updateStatusBar = function (doNotCheckAutoEvents) {
|
||||
// if (!core.isPlaying()) return;
|
||||
// if (noUpdate) return;
|
||||
// noUpdate = true;
|
||||
// core.autoGetItem();
|
||||
// noUpdate = false;
|
||||
// this.controldata.updateStatusBar();
|
||||
// if (!doNotCheckAutoEvents) core.checkAutoEvents();
|
||||
// this._updateStatusBar_setToolboxIcon();
|
||||
// core.clearRouteFolding();
|
||||
//}
|
||||
|
||||
////// 每移动一格后执行的事件 //////
|
||||
control.prototype.moveOneStep = function (callback) {
|
||||
core.autoGetItem();
|
||||
return this.controldata.moveOneStep(callback);
|
||||
}
|
||||
|
||||
function bfsFlood(sx, sy, blockfn) {
|
||||
var canMoveArray = core.generateMovableArray();
|
||||
var blocksObj = core.getMapBlocksObj();
|
||||
var bgMap = core.getBgMapArray();
|
||||
|
||||
var visited = [],
|
||||
queue = [];
|
||||
visited[sx + "," + sy] = 0;
|
||||
queue.push(sx + "," + sy);
|
||||
|
||||
while (queue.length > 0) {
|
||||
var now = queue.shift().split(","),
|
||||
x = ~~now[0],
|
||||
y = ~~now[1];
|
||||
for (var direction in core.utils.scan) {
|
||||
if (!core.inArray(canMoveArray[x][y], direction)) continue;
|
||||
var nx = x + core.utils.scan[direction].x,
|
||||
ny = y + core.utils.scan[direction].y,
|
||||
nindex = nx + "," + ny;
|
||||
if (visited[nindex]) continue;
|
||||
if (core.onSki(bgMap[ny][nx])) continue;
|
||||
if (blockfn && !blockfn(blocksObj, nx, ny)) continue;
|
||||
visited[nindex] = visited[now] + 1;
|
||||
queue.push(nindex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function attractAnimate() {
|
||||
var name = 'attractAnimate';
|
||||
var isPlaying = false;
|
||||
this.nodes = [];
|
||||
|
||||
this.add = function (id, x, y, callback) {
|
||||
this.nodes.push({ id: id, x: x, y: y, callback: callback });
|
||||
}
|
||||
this.start = function () {
|
||||
if (isPlaying) return;
|
||||
isPlaying = true;
|
||||
core.registerAnimationFrame(name, true, this.update);
|
||||
this.ctx = core.createCanvas(name, 0, 0, core.__PIXELS__, core.__PIXELS__, 120);
|
||||
}
|
||||
this.remove = function () {
|
||||
core.unregisterAnimationFrame(name);
|
||||
core.deleteCanvas(name);
|
||||
isPlaying = false;
|
||||
}
|
||||
this.clear = function () {
|
||||
this.nodes = [];
|
||||
this.remove();
|
||||
}
|
||||
var lastTime = -1;
|
||||
var self = this;
|
||||
this.update = function (timeStamp) {
|
||||
if (lastTime < 0) lastTime = timeStamp;
|
||||
if (timeStamp - lastTime < 20) return;
|
||||
lastTime = timeStamp;
|
||||
core.clearMap(name);
|
||||
var cx = core.status.heroCenter.px - 16,
|
||||
cy = core.status.heroCenter.py - 16;
|
||||
var thr = 5; //缓动比例倒数 越大移动越慢
|
||||
self.nodes.forEach(function (n) {
|
||||
var dx = cx - n.x,
|
||||
dy = cy - n.y;
|
||||
if (Math.abs(dx) <= thr && Math.abs(dy) <= thr) {
|
||||
n.dead = true;
|
||||
} else {
|
||||
n.x += ~~(dx / thr);
|
||||
n.y += ~~(dy / thr);
|
||||
}
|
||||
core.drawIcon(name, n.id, n.x, n.y, 32, 32);
|
||||
});
|
||||
self.nodes = self.nodes.filter(function (n) {
|
||||
if (n.dead && n.callback) {
|
||||
n.callback();
|
||||
}
|
||||
return !n.dead;
|
||||
});
|
||||
if (self.nodes.length == 0)
|
||||
self.remove();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
var animateHwnd = new attractAnimate();
|
||||
|
||||
this.stopAttractAnimate = function () {
|
||||
animateHwnd.clear();
|
||||
}
|
||||
|
||||
this.autoGetItem = function () {
|
||||
var canGetItems = {};
|
||||
if (!core.status.floorId || !core.status.checkBlock.damage || core.status.event.id == 'action' || core.status.lockControl) return;
|
||||
if (core.getFlag("shiqu", 0) == 0) return;
|
||||
if (Object.keys(core.status.checkBlock.damage).indexOf(core.status.hero.loc.x + "," + core.status.hero.loc.y) != -1 && core.status.checkBlock.damage[core.status.hero.loc.x + "," + core.status.hero.loc.y] >= 1) return
|
||||
if (Object.keys(core.status.checkBlock.ambush).indexOf(core.status.hero.loc.x + "," + core.status.hero.loc.y) != -1) return
|
||||
if (Object.keys(core.status.checkBlock.repulse).indexOf(core.status.hero.loc.x + "," + core.status.hero.loc.y) != -1) return
|
||||
|
||||
bfsFlood(core.getHeroLoc('x'), core.getHeroLoc('y'), function (blockMap, x, y) {
|
||||
var idx = x + ',' + y;
|
||||
if (idx in canGetItems) return false;
|
||||
var blk = blockMap[idx];
|
||||
if (blk && !blk.disable && blk.event.cls == 'items' && !core.isMapBlockDisabled(core.status.floorId, blk.x, blk.y) && blk.event.trigger == 'getItem') {
|
||||
canGetItems[idx] = { x: x, y: y, id: blk.event.id };
|
||||
return !core.status.checkBlock.damage[idx] && !core.status.checkBlock.ambush[idx];
|
||||
}
|
||||
return core.maps._canMoveDirectly_checkNextPoint(blockMap, x, y);
|
||||
});
|
||||
for (var k in canGetItems) {
|
||||
var x = canGetItems[k].x,
|
||||
y = canGetItems[k].y,
|
||||
id = canGetItems[k].id;
|
||||
core.trigger(x, y);
|
||||
animateHwnd.add(id, x * 32, y * 32);
|
||||
}
|
||||
animateHwnd.start();
|
||||
}
|
||||
}
|
||||
}
|
BIN
project/sounds/hand.mp3
Normal file
BIN
project/sounds/hand.mp3
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user