finish first area and add some second area

This commit is contained in:
bdf1 2024-07-15 11:41:44 +08:00
parent 73bf6fc415
commit faa684590f
32 changed files with 2088 additions and 299 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
project/bgms/ending.mp3 Normal file

Binary file not shown.

View File

@ -18,7 +18,17 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"BH7",
"BH8",
"BH9",
"BH10"
"BH10",
"SN1",
"SN2",
"SN3",
"SN4",
"SN5",
"SN6",
"SN7",
"SN8",
"SN9",
"SN10"
],
"floorPartitions": [],
"images": [
@ -106,6 +116,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"zone"
],
"bgms": [
"ending.mp3",
"mingyunshouhu.mp3",
"xian.mp3"
],
@ -789,7 +800,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
]
},
{
"text": "防御+6",
"text": "防御+4",
"need": "status:money>=80+10*flag:shop1",
"color": [
11,
@ -818,7 +829,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "6"
"value": "4"
}
]
},

View File

@ -2,19 +2,19 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
{
"greenSlime": {"name":"绿史莱姆","hp":30,"atk":23,"def":0,"money":1,"exp":0,"point":0,"special":[],"level":"灵品初阶"},
"redSlime": {"name":"红史莱姆","hp":40,"atk":25,"def":0,"money":2,"exp":0,"point":0,"special":[],"value":10,"level":"灵品初阶"},
"blackSlime": {"name":"青史莱姆","hp":85,"atk":42,"def":8,"money":6,"exp":0,"point":0,"special":0,"level":"灵品中阶"},
"slimelord": {"name":"史莱姆王","hp":180,"atk":42,"def":0,"money":8,"exp":0,"point":0,"special":[29],"afterBattle":null,"level":"灵品高阶","fantan":20},
"bat": {"name":"小蝙蝠","hp":48,"atk":46,"def":0,"money":3,"exp":0,"point":0,"special":[]},
"bigBat": {"name":"大蝙蝠","hp":80,"atk":58,"def":19,"money":8,"exp":0,"point":0,"special":0,"level":"玄品初阶"},
"blackSlime": {"name":"青史莱姆","hp":85,"atk":42,"def":4,"money":6,"exp":0,"point":0,"special":0,"level":"灵品中阶"},
"slimelord": {"name":"史莱姆王","hp":80,"atk":42,"def":0,"money":8,"exp":0,"point":0,"special":[29],"afterBattle":null,"level":"灵品高阶","fantan":20},
"bat": {"name":"小蝙蝠","hp":48,"atk":28,"def":0,"money":3,"exp":0,"point":0,"special":[],"level":"灵品低阶"},
"bigBat": {"name":"大蝙蝠","hp":120,"atk":98,"def":21,"money":16,"exp":0,"point":0,"special":[32],"level":"玄品初阶","Z":80},
"redBat": {"name":"红蝙蝠","hp":160,"atk":68,"def":0,"money":14,"exp":0,"point":0,"special":[5],"displayIdInBook":null},
"vampire": {"name":"冥灵魔王","hp":888,"atk":888,"def":888,"money":888,"exp":888,"point":0,"special":[6],"n":8},
"skeleton": {"name":"骷髅人","hp":55,"atk":31,"def":7,"money":5,"exp":0,"point":0,"special":0,"displayIdInBook":"灵品中阶"},
"skeletonCaptain": {"name":"黄骷髅","hp":148,"atk":68,"def":28,"money":10,"exp":0,"point":0,"special":[6],"displayIdInBook":null,"counterAttack":0.2,"afterBattle":[{"type":"setValue","name":"item:I1030","operator":"+=","value":"1"}],"level":"玄品初阶","n":5},
"zombie": {"name":"兽人","hp":425,"atk":180,"def":20,"money":10,"exp":0,"point":0,"special":[22],"damage":25},
"zombieKnight": {"name":"兽人武士","hp":630,"atk":320,"def":105,"money":30,"exp":0,"point":0,"special":[5,22],"damage":3000,"displayIdInBook":null},
"rock": {"name":"石头人","hp":500,"atk":342,"def":0,"money":18,"exp":0,"point":0,"special":[3]},
"skeleton": {"name":"骷髅人","hp":55,"atk":35,"def":5,"money":5,"exp":0,"point":0,"special":0,"displayIdInBook":"","level":"灵品中阶"},
"skeletonCaptain": {"name":"黄骷髅","hp":148,"atk":68,"def":15,"money":10,"exp":0,"point":0,"special":[6],"displayIdInBook":null,"counterAttack":0.2,"afterBattle":null,"level":"玄品初阶","n":3},
"zombie": {"name":"兽人","hp":225,"atk":120,"def":28,"money":10,"exp":0,"point":0,"special":[22],"damage":25,"level":"玄品初阶"},
"zombieKnight": {"name":"兽人武士","hp":2030,"atk":140,"def":45,"money":30,"exp":0,"point":0,"special":[5],"damage":300,"displayIdInBook":null,"level":"玄品高阶"},
"rock": {"name":"石头人","hp":150,"atk":122,"def":65,"money":22,"exp":0,"point":0,"special":[],"level":"玄品中阶"},
"bluePriest": {"name":"初级法师","hp":58,"atk":30,"def":0,"money":4,"exp":0,"point":1,"special":[2],"level":"灵品中阶"},
"redPriest": {"name":"高级法师","hp":128,"atk":58,"def":10,"money":14,"exp":0,"point":1,"special":[2],"displayIdInBook":null},
"redPriest": {"name":"高级法师","hp":328,"atk":58,"def":32,"money":16,"exp":0,"point":1,"special":[2],"displayIdInBook":null,"level":"玄品初阶"},
"brownWizard": {"name":"麻衣巫师","hp":230,"atk":420,"def":0,"money":18,"exp":0,"point":0,"special":[2,6],"value":100,"range":null,"n":8},
"redWizard": {"name":"红衣巫师","hp":210,"atk":540,"def":20,"money":22,"exp":0,"point":0,"special":[2,6],"value":100,"range":null,"n":7,"displayIdInBook":null},
"swordsman": {"name":"双手剑士","hp":850,"atk":545,"def":220,"money":32,"exp":0,"point":0,"special":[4]},
@ -43,11 +43,11 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
"evilBat": {"name":"邪恶蝙蝠","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
"silverSlimelord": {"name":"银史莱姆王","hp":450,"atk":185,"def":68,"money":12,"exp":0,"point":0,"special":[2,5]},
"goldSlimelord": {"name":"金史莱姆王","hp":6250,"atk":2100,"def":255,"money":32,"exp":0,"point":0,"special":[37],"displayIdInBook":null,"Y":50},
"skeletonWarrior": {"name":"骷髅士兵","hp":86,"atk":65,"def":16,"money":8,"exp":0,"point":0,"special":[],"purify":1,"level":"灵品高阶"},
"skeletonWarrior": {"name":"骷髅士兵","hp":66,"atk":58,"def":9,"money":8,"exp":0,"point":0,"special":[],"purify":1,"level":"灵品高阶"},
"whiteSlimeman": {"name":"水银战士","hp":333,"atk":135,"def":24,"money":8,"exp":0,"point":0,"special":[9,31],"purify":2},
"slimeman": {"name":"幽灵","hp":145,"atk":54,"def":7,"money":7,"exp":0,"point":0,"special":[29],"atkValue":2,"defValue":3},
"yellowGateKeeper": {"name":"初级卫兵","hp":158,"atk":68,"def":12,"money":12,"exp":0,"point":0,"special":[22],"damage":50,"level":"灵品高阶"},
"blueGateKeeper": {"name":"中级卫兵","hp":485,"atk":220,"def":85,"money":18,"exp":0,"point":0,"special":0},
"slimeman": {"name":"幽灵","hp":225,"atk":125,"def":35,"money":18,"exp":0,"point":0,"special":[6],"atkValue":2,"defValue":3,"n":8,"level":"玄品中阶"},
"yellowGateKeeper": {"name":"初级卫兵","hp":158,"atk":65,"def":10,"money":12,"exp":0,"point":0,"special":[22],"damage":50,"level":"灵品高阶"},
"blueGateKeeper": {"name":"中级卫兵","hp":265,"atk":145,"def":55,"money":24,"exp":0,"point":0,"special":0,"level":"玄品中阶"},
"redGateKeeper": {"name":"高级卫兵","hp":72000,"atk":4850,"def":1350,"money":54,"exp":0,"point":0,"special":[9,36,37],"X":20,"Y":20,"purify":1},
"magicMaster": {"name":"黑暗大法师","hp":10000,"atk":1600,"def":280,"money":12,"exp":0,"point":0,"special":[38],"value":0.3333333333333333,"add":true,"notBomb":true},
"devilWarrior": {"name":"魔神武士","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":0},
@ -244,7 +244,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
"E721": {"name":"混沌魔君(幻境)","hp":5000000000,"atk":3600000,"def":540000,"money":100000,"exp":0,"point":0,"special":[2,6,37,38,40],"description":"灵兽榜上第二名,混沌属性最强灵兽","notBomb":true,"n":18,"Y":20},
"E722": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"E723": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"E724": {"name":"橙史莱姆","hp":55,"atk":28,"def":2,"money":3,"exp":0,"point":0,"special":[28],"level":"灵品初阶"},
"E724": {"name":"橙史莱姆","hp":55,"atk":24,"def":2,"money":3,"exp":0,"point":0,"special":[28],"level":"灵品初阶"},
"E725": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"E726": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"E727": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},

View File

@ -16,29 +16,476 @@ main.floors.BH10=
"firstArrive": [],
"eachArrive": [],
"parallelDo": "",
"events": {},
"changeFloor": {},
"events": {
"2,3": [
{
"type": "confirm",
"text": "确认要打开这个宝箱吗?",
"yes": [
{
"type": "if",
"condition": "(status:mana<50)",
"true": [
{
"type": "playSound",
"name": "操作失败"
},
"你的魔力不足!"
],
"false": [
{
"type": "setValue",
"name": "status:mana",
"operator": "-=",
"value": "50"
},
{
"type": "playSound",
"name": "door.mp3"
},
{
"type": "setBlock",
"number": "X10111"
},
"获得一把蓝钥匙",
{
"type": "setValue",
"name": "item:blueKey",
"operator": "+=",
"value": "1"
}
]
}
],
"no": []
}
],
"2,5": [
{
"type": "confirm",
"text": "确认要打开这个宝箱吗?",
"yes": [
{
"type": "if",
"condition": "(status:mana<50)",
"true": [
{
"type": "playSound",
"name": "操作失败"
},
"你的魔力不足!"
],
"false": [
{
"type": "setValue",
"name": "status:mana",
"operator": "-=",
"value": "50"
},
{
"type": "playSound",
"name": "door.mp3"
},
{
"type": "setBlock",
"number": "X10111"
},
"获得2点防御力",
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "2"
}
]
}
],
"no": []
}
],
"2,4": [
{
"type": "confirm",
"text": "确认要打开这个宝箱吗?",
"yes": [
{
"type": "if",
"condition": "(status:mana<50)",
"true": [
{
"type": "playSound",
"name": "操作失败"
},
"你的魔力不足!"
],
"false": [
{
"type": "setValue",
"name": "status:mana",
"operator": "-=",
"value": "50"
},
{
"type": "playSound",
"name": "door.mp3"
},
{
"type": "setBlock",
"number": "X10111"
},
"获得1点攻击力",
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "1"
}
]
}
],
"no": []
}
],
"6,11": [
"\t[罗涛,N582]\b[this]圣子殿下,前面有一群怪物,不过属下认为正是你大显身手的时候。",
"\t[莫析辉,hero]\b[hero]哼,真是够逊的,要本少爷亲自出手,一边去,看本少爷来收拾它们。",
"\t[罗涛,N582]\b[this]是!",
{
"type": "hide",
"remove": true
}
]
},
"changeFloor": {
"6,12": {
"floorId": "BH9",
"loc": [
6,
12
]
}
},
"beforeBattle": {},
"afterBattle": {},
"afterBattle": {
"3,8": [
{
"type": "setValue",
"name": "flag:door_BH10_6_7",
"operator": "+=",
"value": "1"
}
],
"4,8": [
{
"type": "setValue",
"name": "flag:door_BH10_6_7",
"operator": "+=",
"value": "1"
}
],
"5,8": [
{
"type": "setValue",
"name": "flag:door_BH10_6_7",
"operator": "+=",
"value": "1"
}
],
"7,8": [
{
"type": "setValue",
"name": "flag:door_BH10_6_7",
"operator": "+=",
"value": "1"
}
],
"8,8": [
{
"type": "setValue",
"name": "flag:door_BH10_6_7",
"operator": "+=",
"value": "1"
}
],
"9,8": [
{
"type": "setValue",
"name": "flag:door_BH10_6_7",
"operator": "+=",
"value": "1"
}
],
"3,9": [
{
"type": "setValue",
"name": "flag:door_BH10_6_7",
"operator": "+=",
"value": "1"
}
],
"4,9": [
{
"type": "setValue",
"name": "flag:door_BH10_6_7",
"operator": "+=",
"value": "1"
}
],
"5,9": [
{
"type": "setValue",
"name": "flag:door_BH10_6_7",
"operator": "+=",
"value": "1"
}
],
"7,9": [
{
"type": "setValue",
"name": "flag:door_BH10_6_7",
"operator": "+=",
"value": "1"
}
],
"8,9": [
{
"type": "setValue",
"name": "flag:door_BH10_6_7",
"operator": "+=",
"value": "1"
}
],
"9,9": [
{
"type": "setValue",
"name": "flag:door_BH10_6_7",
"operator": "+=",
"value": "1"
}
],
"6,3": [
{
"type": "setValue",
"name": "flag:door_BH10_5_4",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "flag:door_BH10_7_4",
"operator": "+=",
"value": "1"
},
{
"type": "setBlock",
"number": "demonPriest",
"loc": [
[
6,
2
]
]
},
"\t[希羽,demonPriest]\b[this,6,2]圣子殿下远道而来,朕有失远迎啊!",
{
"type": "setBlock",
"number": "N585",
"loc": [
[
6,
6
]
]
},
"\t[罗涛,N582]\b[this,6,6]这位就是北寒帝国的皇帝,希羽了。",
"\t[莫析辉,hero]\b[hero]有劳陛下远迎,我此次前往北寒帝国,只是为了向北寒皇室提亲。",
"\t[希羽,demonPriest]\b[this,6,2]啊?不知圣子殿下看上了哪位公主呢?是大公主希静吗?",
"\t[莫析辉,hero]\b[hero]不是。",
"\t[希羽,demonPriest]\b[this,6,2]莫非是二公主希醉蝶?",
"\t[莫析辉,hero]\b[hero]不是。",
"\t[希羽,demonPriest]\b[this,6,2]莫非是四公主希宫白?",
"\t[莫析辉,hero]\b[hero]是您的三公主希娜。",
"\t[希羽,demonPriest]\b[this,6,2]",
"\t[希羽,demonPriest]\b[this,6,2]希娜?圣子殿下,可知道希娜修炼禁术,是个邪修?",
"\t[莫析辉,hero]\b[hero]修炼黑暗法术才是邪修,心向光明,便是正道。陛下,请答应我向希娜公主的提亲。",
"\t[希羽,demonPriest]\b[this,6,2]这……只是小女并不在北寒帝国……",
{
"type": "setBlock",
"number": "N648",
"loc": [
[
6,
11
]
]
},
"\t[希娜,N645]\b[this,6,11]父皇,孩儿回来了。",
"\t[希羽,demonPriest]\b[this,6,2]哼,朕可没有你这样修炼禁术的女儿!",
"\t[希娜,N645]\b[this,6,11]呵,但是女儿给你找了一个这么好的女婿,您不高兴吗?",
"\t[莫析辉,hero]\b[hero]陛下?",
"\t[希羽,demonPriest]\b[this,6,2]唉,既是光明圣子殿下看上了你,那你就回来吧。",
"\t[希娜,N645]\b[this,6,11]多谢父皇。",
"\t[希羽,demonPriest]\b[this,6,2]圣子殿下,告辞了。",
{
"type": "hide",
"loc": [
[
6,
2
]
],
"remove": true
},
{
"type": "turnBlock",
"direction": "down",
"loc": [
[
6,
6
]
]
},
{
"type": "changePos",
"direction": "down"
},
"\t[莫析辉,hero]\b[hero]希娜,按照约定,我已经与你订了婚约。你该解除我的禁术了吧?",
"\t[希娜,N645]\b[this,6,11]嗯,谢了。",
{
"type": "setValue",
"name": "item:I673",
"operator": "-=",
"value": "1"
},
"\t[莫析辉,hero]\b[hero]哼!",
"\t[希娜,N645]\b[this,6,11]我先走一步了,圣子殿下。",
{
"type": "hide",
"loc": [
[
6,
11
]
],
"remove": true
},
{
"type": "turnBlock",
"direction": "up",
"loc": [
[
6,
6
]
]
},
"\t[罗涛,N582]\b[this,6,6]殿下,光明圣女殿下前几天还请您谈论光明法术,您要不要过去一趟?",
"\t[莫析辉,hero]\b[hero]好,那走吧!正好没事做。",
"\t[罗涛,N582]\b[this,6,6]是!",
{
"type": "hide",
"loc": [
[
6,
6
]
],
"remove": true
},
{
"type": "hide",
"loc": [
[
9,
11
]
],
"floorId": "GM1",
"remove": true
}
]
},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"autoEvent": {
"6,7": {
"0": {
"condition": "flag:door_BH10_6_7==12",
"currentFloor": true,
"priority": 0,
"delayExecute": false,
"multiExecute": false,
"data": [
{
"type": "openDoor"
},
{
"type": "setValue",
"name": "flag:door_BH10_6_7",
"operator": "=",
"value": "null"
}
]
}
},
"5,4": {
"0": {
"condition": "flag:door_BH10_5_4==1",
"currentFloor": true,
"priority": 0,
"delayExecute": false,
"multiExecute": false,
"data": [
{
"type": "openDoor"
},
{
"type": "setValue",
"name": "flag:door_BH10_5_4",
"operator": "=",
"value": "null"
}
]
}
},
"7,4": {
"0": {
"condition": "flag:door_BH10_7_4==1",
"currentFloor": true,
"priority": 0,
"delayExecute": false,
"multiExecute": false,
"data": [
{
"type": "openDoor"
},
{
"type": "setValue",
"name": "flag:door_BH10_7_4",
"operator": "=",
"value": "null"
}
]
}
}
},
"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]
[140,140,140,140,140,140, 91,140,140,140,140,140,140],
[140,140,140,140,140, 0,10295, 0,140,140,140,140,140],
[140,140,140,140,140,140, 0,140,140,140,140,140,140],
[140,140,10110,711, 21,140,211,140,606,345,598,140,140],
[140,140,10110,711, 21, 85, 0, 85,606,345,598,140,140],
[140,140,10110,711, 21,140, 0,140,606,345,598,140,140],
[140,140,140,140,140,140, 0,140,140,140,140,140,140],
[140,140,140,140,140,140, 85,140,140,140,140,140,140],
[140,681,140,210,210,210, 0,210,210,210,140,681,140],
[140,682,140,209,209,209, 0,209,209,209,140,682,140],
[140,681,140,140,140,140, 82,140,140,140,140,681,140],
[140, 81, 81, 81, 0, 0,582, 0, 0, 81, 81, 81,140],
[140,140,140,140,140,140, 91,140,140,140,140,140,140]
],
"bgmap": [
@ -51,5 +498,9 @@ main.floors.BH10=
],
"fg2map": [
]
],
"flyPoint": [
6,
12
]
}

View File

@ -50,9 +50,9 @@ main.floors.BH2=
[ 20, 20, 20, 20, 20, 20, 0, 20, 20, 20, 20, 20, 20],
[ 20,682,681,682, 82, 0, 0, 0, 82,682,681,682, 20],
[ 20, 20, 20, 20, 20, 20, 0, 20, 20, 20, 20, 20, 20],
[ 20, 22, 22, 22, 83, 0, 0, 0, 83,682,701,682, 20],
[ 20, 22, 22, 22, 83, 0, 0, 0, 83,684,701,684, 20],
[ 20, 20, 20, 20, 20, 20, 0, 20, 20, 20, 20, 20, 20],
[ 20, 21, 22, 21, 22, 21, 0,710,711,712,713,623, 20],
[ 20, 21, 21, 22, 21, 21, 0,710,711,712,713,623, 20],
[ 20, 20, 20, 20, 20, 20, 93, 20, 20, 20, 20, 20, 20]
],
"bgmap": [

View File

@ -50,17 +50,17 @@ main.floors.BH3=
"cannotMoveIn": {},
"map": [
[140,140,140,140,140,140,140,140,140,140,140,140,140],
[ 92, 0,202, 0,680, 0,201, 0,140, 27, 0,680,140],
[ 92,202, 0, 21,680, 0,201, 0,140, 27, 0,680,140],
[140,140,140,140,140,140,140, 81,140, 0,605, 0,140],
[140,202, 0, 28, 0,205, 0,582,140, 0,202, 0,140],
[140, 81,140,140,140,140,140,140,140,10300, 81,140,140],
[140, 0, 0,201, 0, 29, 0,205, 0, 21, 0,201,140],
[140,681, 0,201, 0, 29, 0,205, 0, 21, 0,201,140],
[140,140,140,140,140, 82,140,140,140,140,140, 81,140],
[140,710, 0, 0, 0,205,140, 0,217, 0, 0,680,140],
[140,710, 0,680, 0,205,140, 0,217, 0, 0,680,140],
[140,140, 81,140,140, 0,140,605,140,140, 81,140,140],
[140, 0,209, 0,140, 29,140, 0,140, 0,205, 0,140],
[140, 0, 28, 0,140, 0,60410,202,140, 0, 21, 0,140],
[140,680, 0,605,140,201, 0, 0,140, 21, 0, 21,140],
[140,681, 0,605,140,201, 0, 0,140, 21, 0, 21,140],
[140,140,140,140,140,140, 91,60395,140,140,140,140,140]
],
"bgmap": [

View File

@ -25,6 +25,49 @@ main.floors.BH4=
"type": "hide",
"remove": true
}
],
"7,11": [
{
"type": "confirm",
"text": "确认要打开这个宝箱吗?",
"yes": [
{
"type": "if",
"condition": "(status:mana<50)",
"true": [
{
"type": "playSound",
"name": "操作失败"
},
"你的魔力不足!"
],
"false": [
{
"type": "setValue",
"name": "status:mana",
"operator": "-=",
"value": "50"
},
{
"type": "playSound",
"name": "door.mp3"
},
{
"type": "setBlock",
"number": "X10111"
},
"获得50金币",
{
"type": "setValue",
"name": "status:money",
"operator": "+=",
"value": "50"
}
]
}
],
"no": []
}
]
},
"changeFloor": {
@ -52,17 +95,17 @@ main.floors.BH4=
"cannotMoveIn": {},
"map": [
[140,140,140,140,140,140,140,140,140,140,140,140,140],
[ 94, 0, 0,201, 0, 0, 29, 0, 81,203,348,606,140],
[ 94, 0,680,201, 0, 0, 29, 0, 81,203,348,606,140],
[140,140,140,140,140, 81,140,217,140,140,140,140,140],
[140,342, 0, 0,140,202,140, 0,692,140, 0,710,140],
[140,342, 0, 0,140,202,140,692,680,140, 0,710,140],
[140, 0,681,209, 81,680,140,140,201, 81,217, 0,140],
[140,140,140,140,140, 0,140, 0, 29,140, 0,680,140],
[ 92, 0, 29, 21, 0,205,140,202,140,140,140,140,140],
[140,140,140,140,140, 0,140, 21, 29,140, 0,680,140],
[ 92,680, 29, 21, 0,205,140,202,140,140,140,140,140],
[140,140,140,140,140, 0, 82, 21, 0,209,359,680,140],
[140, 0,724,582, 0,680,140, 0,140,140,140,140,140],
[140, 21,140,140, 81,140,140,205,140, 0, 30, 0,140],
[140,692,140,680, 0,209, 21, 0, 81,210, 0,694,140],
[140,680,140, 0, 28,140, 0,10110,140, 0, 29, 0,140],
[140,681,140, 0, 28,140, 0,10110,140, 0, 29, 0,140],
[140,140,140,140,140,140,140,140,140,140,140,140,140]
],
"bgmap": [

View File

@ -50,7 +50,7 @@ main.floors.BH5=
[ 94, 0,202, 0,680, 0,201, 0,692, 0,205, 0,140],
[140, 81,140, 81,140,140, 81,140, 81,140,140, 81,140],
[140,203,140,209,140, 0,209,140,203,680,140,217,140],
[140,680,140, 21,140,680, 0,140,680,694,140, 21,140],
[140,680,140, 21,140,681, 0,140,680,694,140, 21,140],
[140,605,140,681,140, 81,140,140,140,140,140, 21,140],
[140,680,205, 29,140,217,692,344, 28,710,140, 21,140],
[140,140,140,140,140,140,140,140,140,140,140,140,140]

View File

@ -16,7 +16,51 @@ main.floors.BH8=
"firstArrive": [],
"eachArrive": [],
"parallelDo": "",
"events": {},
"events": {
"4,11": [
{
"type": "confirm",
"text": "确认要打开这个宝箱吗?",
"yes": [
{
"type": "if",
"condition": "(status:mana<50)",
"true": [
{
"type": "playSound",
"name": "操作失败"
},
"你的魔力不足!"
],
"false": [
{
"type": "setValue",
"name": "status:mana",
"operator": "-=",
"value": "50"
},
{
"type": "playSound",
"name": "door.mp3"
},
{
"type": "setBlock",
"number": "X10111"
},
"获得生命上限200",
{
"type": "setValue",
"name": "status:hpmax",
"operator": "+=",
"value": "200"
}
]
}
],
"no": []
}
]
},
"changeFloor": {
"6,12": {
"floorId": "BH7",
@ -24,6 +68,13 @@ main.floors.BH8=
6,
0
]
},
"12,1": {
"floorId": "BH9",
"loc": [
12,
1
]
}
},
"beforeBattle": {},
@ -35,17 +86,17 @@ main.floors.BH8=
"cannotMoveIn": {},
"map": [
[140,140,140,140,140,140,140,140,140,140,140,140,140],
[140, 0,140, 0,140, 0,140, 0, 0, 0, 0, 0, 94],
[140, 0,140, 0,140, 0,140, 81,140,140,140,140,140],
[140, 0,140, 0,140, 0,140, 0, 81, 0, 0, 0,140],
[140, 0, 0, 0, 0, 0,140, 0,140, 0, 0, 0,140],
[140,681,140,680,140, 21,140, 0,710, 0,209, 0, 94],
[140,606,140,681,140, 21,140, 81,140,140,140,140,140],
[140, 27,140,680,140,724,140,205, 81,204, 21,343,140],
[140, 0,210, 0,209, 0,140,605,140, 0,342,681,140],
[140,140,140,140,140, 81,140, 0,140,140,140,140,140],
[140, 0, 0, 0, 0, 0, 0, 0,140, 0, 0, 0,140],
[140, 82,140,140, 81,140,140, 0, 81, 0, 0, 0,140],
[140, 0,140, 0, 0, 0,140, 0,140,140,140,140,140],
[140, 0,140, 0, 0, 0,140, 0,140, 0, 0, 0,140],
[140, 0,140,140,140,140,140, 0, 81, 0, 0, 0,140],
[140, 0, 0, 0,10110,140, 0, 0,140, 0, 0, 0,140],
[140,692, 0,205, 0, 27, 0,202,140, 0,680,693,140],
[140, 82,140,140, 81,140,140, 0, 81,724,344,693,140],
[140,209,140, 0,221, 0,140, 21,140,140,140,140,140],
[140, 21,140,348,599,694,140, 0,140, 0,680,681,140],
[140,693,140,140,140,140,140,201, 81,217,680,681,140],
[140,724, 29,682,10110,140, 0, 0,140, 0,680,681,140],
[140,140,140,140,140,140, 91,140,140,140,140,140,140]
],
"bgmap": [

View File

@ -17,7 +17,22 @@ main.floors.BH9=
"eachArrive": [],
"parallelDo": "",
"events": {},
"changeFloor": {},
"changeFloor": {
"12,1": {
"floorId": "BH8",
"loc": [
12,
1
]
},
"6,12": {
"floorId": "BH10",
"loc": [
6,
12
]
}
},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
@ -26,19 +41,19 @@ main.floors.BH9=
"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]
[140,140,140,140,140,140,140,140,140,140,140,140,140],
[140, 0, 21,344, 0,205, 0,680, 0,202, 0, 0, 92],
[140,202,140,140,140,140,140,140,140,140,140,140,140],
[140, 0,140,680, 28,203, 81,680,140, 21, 0, 21,140],
[140,710,140, 81,140,140,140, 29,140, 0, 22, 0,140],
[140, 0,140, 0,210, 23,140, 21,140, 0,209, 0,140],
[140,205,140,140,140,140,140,217,140,140, 81,140,140],
[140, 0,680, 0,203, 0,359, 0,205, 0, 0,680,140],
[140,140, 81,140,140, 29,140,140,140,140,140, 81,140],
[140, 0,204, 0,140, 0, 81,221,605,682,140,203,140],
[140, 0,681, 0,140,217,140,140,140,140,140,348,140],
[140,598, 0,606,140, 0, 0,205, 27,680,140,694,140],
[140,140,140,140,140,140, 93,140,140,140,140,140,140]
],
"bgmap": [
@ -51,5 +66,9 @@ main.floors.BH9=
],
"fg2map": [
]
],
"flyPoint": [
12,
1
]
}

View File

@ -324,6 +324,13 @@ main.floors.GM1=
6,
12
]
},
"9,12": {
"floorId": "SN1",
"loc": [
6,
0
]
}
},
"beforeBattle": {},
@ -336,10 +343,10 @@ main.floors.GM1=
"map": [
[50049,50049,50049, 91,50049,50049, 93,50049,50049, 91,50049,50049,50049],
[50049, 0,442, 0,441,442, 0,441,442, 0,441, 0,50049],
[50049, 0,467, 0, 0, 0, 0, 0, 0, 0, 0, 0,50049],
[50049, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,50049],
[ 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94],
[50049, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,50049],
[50049,440, 0, 0,204, 0, 0, 0, 0, 0, 0,440,50049],
[50049,440, 0, 0, 0, 0, 0, 0, 0, 0, 0,440,50049],
[ 92, 0, 0, 0, 0,30360,30361,30362, 0, 0, 0, 0, 94],
[50049,443, 0, 0,578, 0, 0,582, 0, 0, 0,443,50049],
[50049, 0, 0, 0, 0,566,550, 0, 0, 0, 0, 0,50049],
@ -383,5 +390,9 @@ main.floors.GM1=
],
"fg2map": [
]
],
"flyPoint": [
6,
10
]
}

View File

@ -16,6 +16,7 @@ main.floors.GM2=
"firstArrive": [
{
"type": "moveHero",
"time": 50,
"steps": [
"up:4"
]
@ -36,6 +37,12 @@ main.floors.GM2=
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "item:I337",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "item:I594",

View File

@ -461,7 +461,50 @@ main.floors.GM4=
"data": [
"\t[光明骑士,N440]\b[this]为圣子殿下赴汤蹈火,在所不辞!"
]
}
},
"11,2": [
{
"type": "confirm",
"text": "确认要打开这个宝箱吗?",
"yes": [
{
"type": "if",
"condition": "(status:mana<50)",
"true": [
{
"type": "playSound",
"name": "操作失败"
},
"你的魔力不足!"
],
"false": [
{
"type": "setValue",
"name": "status:mana",
"operator": "-=",
"value": "50"
},
{
"type": "playSound",
"name": "door.mp3"
},
{
"type": "setBlock",
"number": "X10111"
},
"获得三把黄钥匙",
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "3"
}
]
}
],
"no": []
}
]
},
"changeFloor": {
"12,6": {

View File

@ -57,12 +57,12 @@ main.floors.GM5=
"type": "setBlock",
"number": "X10111"
},
"获得点护盾",
"获得5点护盾",
{
"type": "setValue",
"name": "status:mdef",
"operator": "+=",
"value": "2"
"value": "5"
}
]
}
@ -112,6 +112,82 @@ main.floors.GM5=
],
"no": []
}
],
"8,5": [
{
"type": "if",
"condition": "switch:A",
"true": [
"\t[安南奎,N546]\b[this]小圣子,我们在开会,有空再陪你玩啊!",
{
"type": "turnBlock",
"direction": "left"
},
{
"type": "comment",
"text": "下一条指令可视情况使用或不使用"
}
],
"false": [
"\t[安南奎,N546]\b[this]小圣子,快来快来,给你个好东西",
{
"type": "setValue",
"name": "item:I630",
"operator": "+=",
"value": "1"
},
"\t[莫析辉,hero]\b[hero]这啥啊?",
"\t[安南奎,N546]\b[this]总之是好东西,保护你的,嘿嘿",
"\t[莫析辉,hero]\b[hero]谢谢二长老啦",
"\t[安南奎,N546]\b[this]小圣子真乖",
{
"type": "turnBlock",
"direction": "left"
},
{
"type": "setValue",
"name": "switch:A",
"value": "true"
}
]
}
],
"4,9": [
{
"type": "if",
"condition": "switch:A",
"true": [
"\t[温明啸,N550]\b[this]辉儿,我们在开会,有空再来陪你啊!",
{
"type": "turnBlock",
"direction": "right"
},
{
"type": "comment",
"text": "下一条指令可视情况使用或不使用"
}
],
"false": [
"\t[温明啸,N550]\b[this]辉,快过来,看我给你带来了啥好东西!",
{
"type": "setValue",
"name": "item:I416",
"operator": "+=",
"value": "1"
},
"\t[莫析辉,hero]\b[hero]这是什么啊?",
"\t[温明啸,N550]\b[this]这是能让人瞬间回满状态的至宝,玉露。你收好了,要是遇到了困难,用它能救自己一命呢!",
{
"type": "turnBlock",
"direction": "right"
},
{
"type": "setValue",
"name": "switch:A",
"value": "true"
}
]
}
]
},
"changeFloor": {

View File

@ -3,7 +3,7 @@ main.floors.MT0=
"floorId": "MT0",
"title": "莫析 1",
"name": "莫析家",
"canFlyTo": true,
"canFlyTo": false,
"canFlyFrom": true,
"canUseQuickShop": true,
"cannotViewMap": false,

104
project/floors/SN1.js Normal file
View File

@ -0,0 +1,104 @@
main.floors.SN1=
{
"floorId": "SN1",
"title": "圣女宫 1 ",
"name": "1",
"width": 13,
"height": 13,
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"images": [],
"ratio": 1,
"defaultGround": "T1067",
"bgm": "ending.mp3",
"firstArrive": [
"\t[莫析辉,hero]\b[hero]圣女姐姐不是要请我一起练习光明法术么?怎么,放这么多怪物在这里?",
"\t[蝶影,N432]\b[this,6,3]奴婢蝶影拜见圣子殿下!",
"\t[蝶影,N432]\b[this,6,3]圣女殿下说,能不能修炼高深的光明法术,想先看看圣子殿下的实力够不够。",
"\t[莫析辉,hero]\b[hero]呵,想为难我就直说呗!罗涛,给我开路!",
"\t[罗涛,N582]\b[this,5,1]是!",
{
"type": "hide",
"loc": [
[
5,
1
]
],
"remove": true
},
"\t[蝶影,N432]\b[this,6,3]圣子殿下在圣女宫3楼或4楼放着一件上好的法杖击败怪物后可以获得魔力值……你拿到之后或许能更进一筹……",
"\t[莫析辉,hero]\b[hero]什么?!",
"\t[蝶影,N432]\b[this,6,3]没什么,奴婢告退!",
{
"type": "hide",
"loc": [
[
6,
3
]
],
"remove": true
},
"\t[莫析辉,hero]\b[hero]我刚刚没听错吧?蜜茜娅的侍女跟我讲这个……"
],
"eachArrive": [],
"parallelDo": "",
"events": {},
"changeFloor": {
"6,0": {
"floorId": "GM1",
"loc": [
9,
12
]
},
"11,12": {
"floorId": "SN2",
"loc": [
11,
12
]
}
},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[141,141,141,141,141,141, 93,141,141,141,141,141,141],
[141, 21, 21, 21, 0,582, 0,141,606, 0,682,141,141],
[141,141,141,141,141,141, 0,141, 0,598, 0,141,141],
[141,218, 21,342,681,141,435,141, 0,215, 0,141,141],
[141, 81,141,141,141,141,211,141,141, 81,141,141,141],
[141, 0, 0,206, 0,710, 0,693,216, 0, 0,682,141],
[141,141,141,141,141,141, 81,141,141,141,141,141,141],
[141, 0,682, 0,206, 0, 0, 0,211, 0, 21, 0,141],
[141,222,141,141, 81,141,141,141, 81,141,141,206,141],
[141, 21,141, 0,213, 0,141, 0,214, 0,141, 0,141],
[141, 22,141, 0,605, 0,141, 0, 30, 0,141,682,141],
[141, 21,141,694, 0,682,141,344, 0,683,141, 0,141],
[141,141,141,141,141,141,141,141,141,141,141, 93,141]
],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
],
"flyPoint": [
6,
0
]
}

43
project/floors/SN10.js Normal file
View File

@ -0,0 +1,43 @@
main.floors.SN10=
{
"floorId": "SN10",
"title": "圣女宫 10 ",
"name": "10",
"width": 13,
"height": 13,
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"images": [],
"ratio": 1,
"defaultGround": "T1067",
"bgm": "ending.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]
],
}

103
project/floors/SN2.js Normal file
View File

@ -0,0 +1,103 @@
main.floors.SN2=
{
"floorId": "SN2",
"title": "圣女宫 2 ",
"name": "2",
"width": 13,
"height": 13,
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"images": [],
"ratio": 1,
"defaultGround": "T1067",
"bgm": "ending.mp3",
"firstArrive": [],
"eachArrive": [],
"parallelDo": "",
"events": {
"11,7": [
"\t[罗涛,N582]\b[this]圣子殿下,这里是一个宝库,可以在里面获取很多东西。",
"\t[莫析辉,hero]\b[hero]切,这种情报还用你说,还没蝶影告诉我的情报重要呢。",
"\t[罗涛,N582]\b[this]什么?",
"\t[莫析辉,hero]\b[hero]没什么。喂,你是圣子还是我是圣子,哪里轮得到你来质问我了?",
"\t[罗涛,N582]\b[this]属下不敢,只是属下没有听清……",
"\t[莫析辉,hero]\b[hero]对了,我最近修为延缓了不少,也不知道是不是希娜那个禁术的问题……",
"\t[罗涛,N582]\b[this]额,殿下,应该是吧。希娜公主那种禁术,世人都颇为忌惮的……",
"\t[莫析辉,hero]\b[hero]没道理啊……我跟她已经订婚了,她没必要害我的,我变强了,只会对她有好处……",
"\t[罗涛,N582]\b[this]谁知道呢,希娜公主性情不定,否则也不会被赶出北寒皇室了。",
"\t[莫析辉,hero]\b[hero]看得出,你对希娜的敌意很深呢。",
"\t[罗涛,N582]\b[this]属下不敢,只是希娜公主对殿下如此这般,属下只是为殿下不平罢了。",
"\t[莫析辉,hero]\b[hero]那这次去见蜜茜娅,她是个什么性子?",
"\t[罗涛,N582]\b[this]圣女殿下平易近人,应该是能与殿下聊得来的。",
"\t[莫析辉,hero]\b[hero]哦?那准圣子呢?",
"\t[罗涛,N582]\b[this]准圣子殿下笑里藏刀,属下以为,殿下要小心才是。",
"\t[莫析辉,hero]\b[hero]知道了。退下吧!",
{
"type": "hide",
"loc": [
[
11,
7
]
],
"remove": true
}
]
},
"changeFloor": {
"11,12": {
"floorId": "SN1",
"loc": [
11,
12
]
},
"6,0": {
"floorId": "SN3",
"loc": [
6,
12
]
}
},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[141,141,141,141,141,141, 91,141,141,141,141,141,141],
[141,683,684,683, 82, 0, 0, 0, 0, 0, 0, 0,141],
[141,141,141,141,141,141,141,141,141,141,141, 0,141],
[141, 21,141,698,141,686,141,710,141, 21,141, 0,141],
[141, 21,141,698,141, 82,141,710,141, 21,141, 0,141],
[141, 21,141,698,141, 82,141,710,141, 21,141, 0,141],
[141, 82,141, 81,141, 82,141, 81,141, 82,141, 0,141],
[141,683,684,683, 82,682,682,682, 81, 0, 0,582,141],
[141, 81,141, 82,141, 83,141, 82,141, 81,141, 0,141],
[141, 81,141,700,141,415,141,712,141, 81,141, 0,141],
[141, 81,141,700,141,601,141,712,141, 81,141, 0,141],
[141, 22,141,700,141,415,141,712,141, 22,141, 0,141],
[141,141,141,141,141,141,141,141,141,141,141, 91,141]
],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
],
"flyPoint": [
11,
12
]
}

125
project/floors/SN3.js Normal file
View File

@ -0,0 +1,125 @@
main.floors.SN3=
{
"floorId": "SN3",
"title": "圣女宫 3 ",
"name": "3",
"width": 13,
"height": 13,
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"images": [],
"ratio": 1,
"defaultGround": "T1067",
"bgm": "ending.mp3",
"firstArrive": [],
"eachArrive": [],
"parallelDo": "",
"events": {
"2,2": [
{
"type": "confirm",
"text": "确认要打开这个宝箱吗?",
"yes": [
{
"type": "if",
"condition": "(status:mana<50)",
"true": [
{
"type": "playSound",
"name": "操作失败"
},
"你的魔力不足!"
],
"false": [
{
"type": "setValue",
"name": "status:mana",
"operator": "-=",
"value": "50"
},
{
"type": "playSound",
"name": "door.mp3"
},
{
"type": "setBlock",
"number": "X10111"
},
"获得赤色光明法杖",
{
"type": "setValue",
"name": "item:I409",
"operator": "+=",
"value": "1"
}
]
}
],
"no": []
}
]
},
"changeFloor": {
"6,12": {
"floorId": "SN2",
"loc": [
6,
0
]
},
"0,1": {
"floorId": "SN4",
"loc": [
0,
1
]
},
"12,1": {
"floorId": "SN4",
"loc": [
12,
1
]
}
},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[141,141,141,141,141,141,141,141,141,141,141,141,141],
[ 92,215, 0,141,683,141, 21,141,682, 0,206, 0, 94],
[141, 0,10110,141,347,141, 21,141, 81,141,141,141,141],
[141,141,141,141,215,141,218,141,211,141, 0,683,141],
[141,346,605,216, 0,206, 0, 0, 0, 82,214, 0,141],
[141,141,141,141,141, 81,141, 81,141,141,141,141,141],
[141, 0, 81,344,141, 0,141,213, 0,683, 0,214,141],
[141,222,141, 21,141,211,141,141,141,141,141, 81,141],
[141, 0,141,213, 81, 0, 21,218,682,683,141,216,141],
[141,350,141,141,141,141, 0,141,141,141,141, 30,141],
[141,682,141,342,606,141,206,141,598,343,141,346,141],
[141,683,141,682,211, 81, 0, 81,211, 22,141,348,141],
[141,141,141,141,141,141, 91,141,141,141,141,141,141]
],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
],
"flyPoint": [
6,
12
]
}

125
project/floors/SN4.js Normal file
View File

@ -0,0 +1,125 @@
main.floors.SN4=
{
"floorId": "SN4",
"title": "圣女宫 4 ",
"name": "4",
"width": 13,
"height": 13,
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"images": [],
"ratio": 1,
"defaultGround": "T1067",
"bgm": "ending.mp3",
"firstArrive": [],
"eachArrive": [],
"parallelDo": "",
"events": {
"1,11": [
{
"type": "confirm",
"text": "确认要打开这个宝箱吗?",
"yes": [
{
"type": "if",
"condition": "(status:mana<50)",
"true": [
{
"type": "playSound",
"name": "操作失败"
},
"你的魔力不足!"
],
"false": [
{
"type": "setValue",
"name": "status:mana",
"operator": "-=",
"value": "50"
},
{
"type": "playSound",
"name": "door.mp3"
},
{
"type": "setBlock",
"number": "X10111"
},
"获得红钥匙*1",
{
"type": "setValue",
"name": "item:redKey",
"operator": "+=",
"value": "1"
}
]
}
],
"no": []
}
]
},
"changeFloor": {
"0,1": {
"floorId": "SN3",
"loc": [
0,
1
]
},
"12,1": {
"floorId": "SN3",
"loc": [
12,
1
]
},
"11,12": {
"floorId": "SN5",
"loc": [
11,
12
]
}
},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[141,141,141,141,141,141,141,141,141,141,141,141,141],
[ 92, 0,218, 0,682,222,213, 21, 0,211, 0, 0, 92],
[141,141,141,141, 81,141,141,141, 0,141, 81,141,141],
[141, 21, 21,141, 0,141,684,141,206,141,218,682,141],
[141, 21, 22,141,211,141,349,141, 0,141,682,683,141],
[141, 0,216, 81, 0,141,214,141,359,141,141,141,141],
[141,141,141,141, 0,213, 0,682, 81,211, 0,352,141],
[141,683, 0,141, 81,141,141, 82,141,141,695, 0,141],
[141,342,213, 81,206,141, 0,206, 0,141, 0,141,141],
[141,682, 0,141, 21,141,214,141,215,141,206,141,141],
[141,141,141,141,359,141,682,141,694,141, 0,693,141],
[141,10110,682,343,218,141,712,141, 49,141,605, 0,141],
[141,141,141,141,141,141,141,141,141,141,141, 93,141]
],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
],
"flyPoint": [
12,
1
]
}

147
project/floors/SN5.js Normal file
View File

@ -0,0 +1,147 @@
main.floors.SN5=
{
"floorId": "SN5",
"title": "圣女宫 5 ",
"name": "5",
"width": 13,
"height": 13,
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"images": [],
"ratio": 1,
"defaultGround": "T1067",
"bgm": "ending.mp3",
"firstArrive": [],
"eachArrive": [],
"parallelDo": "",
"events": {
"6,5": [
"\t[葛尔丹,N566]\b[this,2,1]咳咳,卢轩,我这些天实在是太疲惫了,你还是跟圣女妹妹去回绝一下,我是参加不了她的光明法术研讨会了……",
"\t[卢轩,N578]\b[this,1,5]啊,是这样啊,那属下就去了。殿下您要好好休息呀。",
"\t[葛尔丹,N566]\b[this,2,1]无妨无妨!",
{
"type": "hide",
"loc": [
[
1,
5
]
],
"remove": true
},
"\t[葛尔丹,N566]\b[this,2,1]卢轩走了吗?",
"\t[准涵,N436]\b[this,3,5]走了,殿下。",
"\t[葛尔丹,N566]\b[this,2,1]哼,这个北纳蜜茜娅,可不是什么好东西!这次什么光明法术研讨,可不就是展示一下她的实力嘛,或者到时候给我们发难,问我们一些难堪的问题,可不是麻烦了吗?你啊,快去告诉一下圣子弟弟,别让圣子弟弟吃亏了。",
"\t[准涵,N436]\b[this,3,5]殿下,您对圣子殿下真好。",
"\t[葛尔丹,N566]\b[this,2,1]那是自然,圣子弟弟单纯,不像蜜西娅那般狡诈,我帮着他是应该的。",
{
"type": "jumpHero",
"loc": [
5,
5
],
"time": 500
},
{
"type": "changePos",
"direction": "left"
},
"\t[莫析辉,hero]\b[hero]准圣子哥哥……",
{
"type": "turnBlock",
"direction": "right",
"loc": [
[
2,
1
]
]
},
{
"type": "turnBlock",
"direction": "right",
"loc": [
[
3,
5
]
]
},
"\t[葛尔丹,N566]\b[this,2,1]圣子弟弟,你怎么来了。",
"\t[莫析辉,hero]\b[hero]想不到,哥哥竟然对小弟这么好。",
"\t[葛尔丹,N566]\b[this,2,1]圣子弟弟,你我兄弟之间,何必如此。我年长些许,自然要对圣子弟弟好了。",
"\t[莫析辉,hero]\b[hero]多谢哥哥,那蜜茜娅那边……",
"\t[葛尔丹,N566]\b[this,2,1]我就不去了,圣子弟弟,那蜜西娅可没安好心,你当心点啊!",
{
"type": "hide",
"loc": [
[
2,
1
]
],
"remove": true
},
"\t[准涵,N436]\b[this,3,5]圣子殿下,奴婢告退!",
{
"type": "hide",
"loc": [
[
3,
5
]
],
"remove": true
}
]
},
"changeFloor": {
"11,12": {
"floorId": "SN4",
"loc": [
11,
12
]
}
},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[141,141,141,141,141,141,141,141,141,141,141,141,141],
[141, 0,566, 0, 0,10156,141, 0,141, 0, 0, 0,141],
[141,10136,10137,10138, 0,694,141, 0, 0, 0, 0, 0,141],
[141,10144,10145,10146, 0,683,141, 0,141,141,141,141,141],
[141,10152,10153,10154, 0,710,141, 0, 0, 0, 0, 0,141],
[141,581, 0,439, 0, 0, 82, 0,141,141,141,141,141],
[141,141,141,141,141,141,141, 0,141, 0, 0, 0,141],
[141, 0, 0, 0, 0, 0, 0, 0,141, 0,141, 0,141],
[141, 0,141,141,141,141,141, 0,141, 0,141, 0,141],
[141, 0,141, 0, 0, 0,141, 0,141, 0,141, 0,141],
[141, 0, 0, 0, 0, 0, 0, 0,141,141,141, 0,141],
[141, 0,141, 0, 0, 0,141, 0, 0, 0, 0, 0,141],
[ 92, 0,141,141,141,141,141,141,141,141,141, 91,141]
],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
],
"flyPoint": [
11,
12
]
}

43
project/floors/SN6.js Normal file
View File

@ -0,0 +1,43 @@
main.floors.SN6=
{
"floorId": "SN6",
"title": "圣女宫 6 ",
"name": "6",
"width": 13,
"height": 13,
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"images": [],
"ratio": 1,
"defaultGround": "T1067",
"bgm": "ending.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]
],
}

43
project/floors/SN7.js Normal file
View File

@ -0,0 +1,43 @@
main.floors.SN7=
{
"floorId": "SN7",
"title": "圣女宫 7 ",
"name": "7",
"width": 13,
"height": 13,
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"images": [],
"ratio": 1,
"defaultGround": "T1067",
"bgm": "ending.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]
],
}

43
project/floors/SN8.js Normal file
View File

@ -0,0 +1,43 @@
main.floors.SN8=
{
"floorId": "SN8",
"title": "圣女宫 8 ",
"name": "8",
"width": 13,
"height": 13,
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"images": [],
"ratio": 1,
"defaultGround": "T1067",
"bgm": "ending.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]
],
}

43
project/floors/SN9.js Normal file
View File

@ -0,0 +1,43 @@
main.floors.SN9=
{
"floorId": "SN9",
"title": "圣女宫 9 ",
"name": "9",
"width": 13,
"height": 13,
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"images": [],
"ratio": 1,
"defaultGround": "T1067",
"bgm": "ending.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]
],
}

View File

@ -409,8 +409,13 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
core.setFlag('skill', 0);
core.setFlag('skillName', '无');
}
//回复魔力值
if (core.hasEquip('I409')) { core.status.hero.mana += 1 }
if (core.hasEquip('I410')) { core.status.hero.mana += 3 }
if (core.hasEquip('I411')) { core.status.hero.mana += 5 }
if (core.hasEquip('I412')) { core.status.hero.mana += 7 }
if (core.hasEquip('I413')) { core.status.hero.mana += 9 }
if (core.hasEquip('I595')) { core.status.hero.mana += 10 }
// 事件的处理
var todo = [];
@ -888,6 +893,8 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
if (core.hasSpecial(mon_special, 22)) { // 固伤
damage += enemy.damage || 0;
}
//魔力铠甲
if (core.hasEquip("I630")) { damage -= (Math.min(hero_atk + hero_def, core.status.hero.mana * 0.01)) }
//禁术
if (core.hasItem("I673")) { damage *= 1.1 }

View File

@ -63,7 +63,8 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 =
"sWallBLR": 31,
"sWallTLR": 32,
"sWallTBR": 33,
"sWallTBL": 34
"sWallTBL": 34,
"T1067": 35
},
"animates": {
"star": 0,
@ -1003,6 +1004,7 @@ var icons_4665ee12_3a1f_44a4_bea3_0fccba634dc1 =
"autotile1": 0,
"autotile2": 0,
"autotile3": 0,
"autotile4": 0
"autotile4": 0,
"autotile5": 0
}
}

View File

@ -530,9 +530,17 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"canUseItemEffect": "true"
},
"I337": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
"cls": "equips",
"name": "白色光明权杖",
"canUseItemEffect": "true",
"text": "攻击力+3",
"equip": {
"type": "法杖",
"value": {
"atk": 3
},
"percentage": {}
}
},
"I338": {
"cls": "items",
@ -1017,15 +1025,23 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"equip": {
"type": "法杖",
"value": {
"atk": 5
"atk": 8
},
"percentage": {}
}
},
"I409": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
"cls": "equips",
"name": "赤色光明法杖",
"canUseItemEffect": "true",
"text": "攻击力+8击败怪物后获得1点魔力值",
"equip": {
"type": "法杖",
"value": {
"atk": 8
},
"percentage": {}
}
},
"I410": {
"cls": "items",
@ -1396,33 +1412,351 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
},
"I599": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
"name": "三阶白宝石",
"canUseItemEffect": "true",
"useItemEvent": [
{
"type": "choices",
"choices": [
{
"text": "攻击+4",
"action": [
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "4"
}
]
},
{
"text": "防御+4",
"action": [
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "4"
}
]
},
{
"text": "生命上限+200",
"action": [
{
"type": "setValue",
"name": "status:hpmax",
"operator": "+=",
"value": "200"
}
]
},
{
"text": "生命+4%",
"action": [
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "(status:hpmax*0.04)"
}
]
}
]
}
],
"text": "进行加点"
},
"I600": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
"name": "四阶白宝石",
"canUseItemEffect": "true",
"useItemEvent": [
{
"type": "choices",
"choices": [
{
"text": "攻击+8",
"action": [
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "8"
}
]
},
{
"text": "防御+8",
"action": [
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "8"
}
]
},
{
"text": "生命上限+400",
"action": [
{
"type": "setValue",
"name": "status:hpmax",
"operator": "+=",
"value": "400"
}
]
},
{
"text": "生命+8%",
"action": [
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "(status:hpmax*0.08)"
}
]
}
]
}
],
"text": "进行加点"
},
"I601": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
"name": "五阶白宝石",
"canUseItemEffect": "true",
"useItemEvent": [
{
"type": "choices",
"choices": [
{
"text": "攻击+16",
"action": [
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "16"
}
]
},
{
"text": "防御+16",
"action": [
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "16"
}
]
},
{
"text": "生命上限+800",
"action": [
{
"type": "setValue",
"name": "status:hpmax",
"operator": "+=",
"value": "800"
}
]
},
{
"text": "生命+16%",
"action": [
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "(status:hpmax*0.16)"
}
]
}
]
}
],
"text": "进行加点"
},
"I602": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
"name": "六阶白宝石",
"canUseItemEffect": "true",
"useItemEvent": [
{
"type": "choices",
"choices": [
{
"text": "攻击+32",
"action": [
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "32"
}
]
},
{
"text": "防御+32",
"action": [
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "32"
}
]
},
{
"text": "生命上限+1600",
"action": [
{
"type": "setValue",
"name": "status:hpmax",
"operator": "+=",
"value": "1600"
}
]
},
{
"text": "生命+32%",
"action": [
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "(status:hpmax*0.32)"
}
]
}
]
}
],
"text": "进行加点"
},
"I603": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
"name": "七阶白宝石",
"canUseItemEffect": "true",
"useItemEvent": [
{
"type": "choices",
"choices": [
{
"text": "攻击+64",
"action": [
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "64"
}
]
},
{
"text": "防御+64",
"action": [
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "64"
}
]
},
{
"text": "生命上限+3200",
"action": [
{
"type": "setValue",
"name": "status:hpmax",
"operator": "+=",
"value": "3200"
}
]
},
{
"text": "生命+64%",
"action": [
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "(status:hpmax*0.64)"
}
]
}
]
}
],
"text": "进行加点"
},
"I604": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
"name": "八阶白宝石",
"canUseItemEffect": "true",
"useItemEvent": [
{
"type": "choices",
"choices": [
{
"text": "攻击+100",
"action": [
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "100"
}
]
},
{
"text": "防御+100",
"action": [
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "100"
}
]
},
{
"text": "生命上限+5000",
"action": [
{
"type": "setValue",
"name": "status:hpmax",
"operator": "+=",
"value": "5000"
}
]
},
{
"text": "生命+100%,魔力值+1000",
"action": [
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "(status:hpmax)"
},
{
"type": "setValue",
"name": "status:mana",
"operator": "+=",
"value": "1000"
}
]
}
]
}
],
"text": "进行加点"
},
"I605": {
"cls": "items",
@ -1542,19 +1876,39 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"cls": "constants",
"name": "初阶光明宝典",
"canUseItemEffect": "true",
"text": "使用后消耗当前50%魔力值,恢复自身当前魔力值的生命值",
"text": "使用后消耗当前50魔力值恢复100点生命值\n被动新手保护当攻防和小于50时额外恢复100点生命值",
"useItemEvent": [
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "(status:mana)"
},
{
"type": "setValue",
"name": "status:mana",
"operator": "-=",
"value": "(status:mana*0.5)"
"type": "if",
"condition": "(((status:atk)+(status:def))<=50)",
"true": [
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "200"
},
{
"type": "setValue",
"name": "status:mana",
"operator": "-=",
"value": "50"
}
],
"false": [
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "100"
},
{
"type": "setValue",
"name": "status:mana",
"operator": "-=",
"value": "50"
}
]
}
]
},
@ -1642,7 +1996,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"cls": "constants",
"name": "圣阶光明宝典",
"canUseItemEffect": "true",
"text": "使用后消耗当前100%魔力值恢复自身当前8倍魔力值+当前5%生命上限)的生命值",
"text": "使用后消耗当前100%魔力值恢复自身当前8倍魔力值)的生命值",
"useItemEvent": [
{
"type": "setValue",
@ -1650,12 +2004,6 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"operator": "+=",
"value": "(status:mana*8)"
},
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "(status:hpmax*0.05)"
},
{
"type": "setValue",
"name": "status:mana",
@ -1670,9 +2018,15 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"canUseItemEffect": "true"
},
"I630": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
"cls": "equips",
"name": "魔力铠甲",
"canUseItemEffect": "true",
"text": "穿上后获得1%魔力值效果的减伤(最大效果不超过自身攻防和)",
"equip": {
"type": "法袍",
"value": {},
"percentage": {}
}
},
"I631": {
"cls": "items",
@ -1884,71 +2238,71 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"cls": "items",
"name": "一阶粉臻宝石",
"canUseItemEffect": "true",
"itemEffect": "core.status.hero.mana += 1;",
"itemEffectTip": "魔力值提升1点"
"itemEffect": "core.status.hero.mana += 5;",
"itemEffectTip": "魔力值提升5点"
},
"I693": {
"cls": "items",
"name": "二阶粉臻宝石",
"canUseItemEffect": "true",
"itemEffect": "core.status.hero.mana += 2;",
"itemEffectTip": "魔力值提升2点"
"itemEffect": "core.status.hero.mana += 10;",
"itemEffectTip": "魔力值提升10点"
},
"I694": {
"cls": "items",
"name": "三阶粉臻宝石",
"canUseItemEffect": "true",
"itemEffect": "core.status.hero.mana += 4;",
"itemEffectTip": "魔力值提升4点"
"itemEffect": "core.status.hero.mana += 20;",
"itemEffectTip": "魔力值提升20点"
},
"I695": {
"cls": "items",
"name": "四阶粉臻宝石",
"canUseItemEffect": "true",
"itemEffect": "core.status.hero.mana += 8;",
"itemEffectTip": "魔力值提升8点"
"itemEffect": "core.status.hero.mana += 40;",
"itemEffectTip": "魔力值提升40点"
},
"I696": {
"cls": "items",
"name": "五阶粉臻宝石",
"canUseItemEffect": "true",
"itemEffect": "core.status.hero.mana += 20;",
"itemEffectTip": "魔力值提升20点"
"itemEffect": "core.status.hero.mana += 80;",
"itemEffectTip": "魔力值提升80点"
},
"I697": {
"cls": "items",
"name": "六阶粉臻宝石",
"canUseItemEffect": "true",
"itemEffect": "core.status.hero.mana += 40;",
"itemEffectTip": "魔力值提升40点"
"itemEffect": "core.status.hero.mana += 160;",
"itemEffectTip": "魔力值提升160点"
},
"I698": {
"cls": "items",
"name": "七阶粉臻宝石",
"canUseItemEffect": "true",
"itemEffect": "core.status.hero.mana += 50;",
"itemEffectTip": "魔力值提升50点"
"itemEffect": "core.status.hero.mana += 200;",
"itemEffectTip": "魔力值提升200点"
},
"I699": {
"cls": "items",
"name": "八阶粉臻宝石",
"canUseItemEffect": "true",
"itemEffect": "core.status.hero.mana += 100;",
"itemEffectTip": "魔力值提升100点"
"itemEffect": "core.status.hero.mana += 400;",
"itemEffectTip": "魔力值提升400点"
},
"I700": {
"cls": "items",
"name": "九阶粉臻宝石",
"canUseItemEffect": "true",
"itemEffect": "core.status.hero.mana += 200;",
"itemEffectTip": "魔力值提升200点"
"itemEffect": "core.status.hero.mana += 800;",
"itemEffectTip": "魔力值提升800点"
},
"I701": {
"cls": "items",
"name": "十阶粉臻宝石",
"canUseItemEffect": "true",
"itemEffect": "core.status.hero.mana += 400;",
"itemEffectTip": "魔力值提升400点"
"itemEffect": "core.status.hero.mana += 1600;",
"itemEffectTip": "魔力值提升1600点"
},
"I702": {
"cls": "items",
@ -2256,9 +2610,17 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"canUseItemEffect": "true"
},
"I718": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
"cls": "equips",
"name": "攻击卷轴",
"canUseItemEffect": "true",
"text": "获得5%的攻击力",
"equip": {
"type": "卷轴",
"value": {},
"percentage": {
"atk": 5
}
}
},
"I719": {
"cls": "items",

View File

@ -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","canBreak":true},
"141": {"cls":"autotile","id":"autotile5","canBreak":true},
"151": {"cls":"autotile","id":"autotile1"},
"152": {"cls":"autotile","id":"autotile2"},
"153": {"cls":"autotile","id":"autotile3"},
@ -961,5 +962,6 @@ var maps_90f36752_8815_4be8_b32b_d7fad1d0542e =
"1064": {"cls":"enemys","id":"E1064"},
"1065": {"cls":"enemys","id":"E1065"},
"1066": {"cls":"enemys","id":"E1066"},
"1067": {"cls":"terrains","id":"T1067"},
"10111": {"cls":"tileset","id":"X10111","event":["这个宝箱是空的!"]}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -828,186 +828,71 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
// 这里定义每个境界的显示颜色;可以写'red', '#RRGGBB' 或者[r,g,b,a]四元数组
var levelToColors = {
凡尘: '#FFFFFF',
化气期: '#FFFAF0',
筑灵期: '#F0FFF0',
心丹期: '#E0EEE0',
婴变期: '#C1FFC1',
异神期: '#BCEE68',
合血期: '#C0FF31',
极骨期: '#98FB98',
捏忌期: '#7CFC00',
幻化期: '#43CD80',
觉醒期: '#32CD32',
魅魂期: '#008B00',
至高期: '#CAE1FF',
"萌新一阶": "red",
"萌新二阶": "#FF0000",
"萌新三阶": [255, 0, 0, 1],
};
// 复写 _drawBook_drawName
var originDrawBook = core.ui._drawBook_drawName;
core.ui._drawBook_drawName = function (index, enemy, top, left, width) {
// 如果没有境界,则直接调用原始代码绘制
if (!enemy.level)
return originDrawBook.call(
core.ui,
index,
enemy,
top,
left,
width
);
if (!enemy.level) return originDrawBook.call(core.ui, index, enemy, top, left, width);
// 存在境界,则额外进行绘制
core.setTextAlign('ui', 'center');
if (enemy.specialText.length == 0) {
core.fillText(
'ui',
enemy.name,
left + width / 2,
top + 27,
'#DDDDDD',
this._buildFont(17, true)
);
core.fillText(
'ui',
enemy.level,
left + width / 2,
top + 51,
core.arrayToRGBA(levelToColors[enemy.level] || '#DDDDDD'),
this._buildFont(14, true)
);
core.fillText('ui', enemy.name, left + width / 2,
top + 27, '#DDDDDD', this._buildFont(17, true));
core.fillText('ui', enemy.level, left + width / 2,
top + 51, core.arrayToRGBA(levelToColors[enemy.level] || '#DDDDDD'), this._buildFont(14, true));
} else {
core.fillText(
'ui',
enemy.name,
left + width / 2,
top + 20,
'#DDDDDD',
this._buildFont(17, true),
width
);
core.fillText('ui', enemy.name, left + width / 2,
top + 20, '#DDDDDD', this._buildFont(17, true), width);
switch (enemy.specialText.length) {
case 1:
core.fillText(
'ui',
enemy.specialText[0],
left + width / 2,
top + 38,
core.arrayToRGBA(
(enemy.specialColor || [])[0] || '#FF6A6A'
),
this._buildFont(14, true),
width
);
core.fillText('ui', enemy.specialText[0], left + width / 2,
top + 38, core.arrayToRGBA((enemy.specialColor || [])[0] || '#FF6A6A'),
this._buildFont(14, true), width);
break;
case 2:
// Step 1: 计算字体
var text =
enemy.specialText[0] + ' ' + enemy.specialText[1];
core.setFontForMaxWidth(
'ui',
text,
width,
this._buildFont(14, true)
);
var text = enemy.specialText[0] + " " + enemy.specialText[1];
core.setFontForMaxWidth('ui', text, width, this._buildFont(14, true));
// Step 2: 计算总宽度
var totalWidth = core.calWidth('ui', text);
var leftWidth = core.calWidth(
'ui',
enemy.specialText[0]
);
var rightWidth = core.calWidth(
'ui',
enemy.specialText[1]
);
var leftWidth = core.calWidth('ui', enemy.specialText[0]);
var rightWidth = core.calWidth('ui', enemy.specialText[1]);
// Step 3: 绘制
core.fillText(
'ui',
enemy.specialText[0],
left + (width + leftWidth - totalWidth) / 2,
top + 38,
core.arrayToRGBA(
(enemy.specialColor || [])[0] || '#FF6A6A'
)
);
core.fillText(
'ui',
enemy.specialText[1],
left + (width + totalWidth - rightWidth) / 2,
top + 38,
core.arrayToRGBA(
(enemy.specialColor || [])[1] || '#FF6A6A'
)
);
core.fillText('ui', enemy.specialText[0], left + (width + leftWidth - totalWidth) / 2,
top + 38, core.arrayToRGBA((enemy.specialColor || [])[0] || '#FF6A6A'));
core.fillText('ui', enemy.specialText[1], left + (width + totalWidth - rightWidth) / 2,
top + 38, core.arrayToRGBA((enemy.specialColor || [])[1] || '#FF6A6A'));
break;
default:
core.fillText(
'ui',
'多属性...',
left + width / 2,
top + 38,
'#FF6A6A',
this._buildFont(14, true),
width
);
core.fillText('ui', '多属性...', left + width / 2,
top + 38, '#FF6A6A', this._buildFont(14, true), width);
}
core.fillText(
'ui',
enemy.level,
left + width / 2,
top + 56,
core.arrayToRGBA(levelToColors[enemy.level] || '#DDDDDD'),
this._buildFont(14, true)
);
core.fillText('ui', enemy.level, left + width / 2,
top + 56, core.arrayToRGBA(levelToColors[enemy.level] || '#DDDDDD'), this._buildFont(14, true));
}
};
}
// 也可以复写其他的属性颜色如怪物攻防等,具体参见下面的例子的注释部分
core.ui._drawBook_drawRow1 = function (
index,
enemy,
top,
left,
width,
position
) {
core.ui._drawBook_drawRow1 = function (index, enemy, top, left, width, position) {
// 绘制第一行
core.setTextAlign('ui', 'left');
var b13 = this._buildFont(13, true),
f13 = this._buildFont(13, false);
var col1 = left,
col2 = left + (width * 9) / 25,
col3 = left + (width * 17) / 25;
core.fillText('ui', '生命', col1, position, '#DDDDDD', f13);
core.fillText(
'ui',
core.formatBigNumber(enemy.hp || 0),
col1 + 30,
position,
/*'red' */
null,
b13
);
core.fillText('ui', '攻击', col2, position, null, f13);
core.fillText(
'ui',
core.formatBigNumber(enemy.atk || 0),
col2 + 30,
position,
/* '#FF0000' */
null,
b13
);
core.fillText('ui', '防御', col3, position, null, f13);
core.fillText(
'ui',
core.formatBigNumber(enemy.def || 0),
col3 + 30,
position,
/* [255, 0, 0, 1] */
null,
b13
);
};
col2 = left + width * 9 / 25,
col3 = left + width * 17 / 25;
core.fillText('ui', '生命', col1, position, '#66ff00', f13);
core.fillText('ui', core.formatBigNumber(enemy.hp || 0), col1 + 30, position, /*'red'*/ null, b13);
core.fillText('ui', '攻击', col2, position, '#ff0033', f13);
core.fillText('ui', core.formatBigNumber(enemy.atk || 0), col2 + 30, position, /* '#FF0000' */ null, b13);
core.fillText('ui', '防御', col3, position, '#00FFFF', f13);
core.fillText('ui', core.formatBigNumber(enemy.def || 0), col3 + 30, position, /* [255, 0, 0, 1] */ null, b13);
}
},
"multiHeros": function () {
// 多角色插件