更改一系列bug,加入了一些功能

修复手机端和切换楼层边框问题
拿到新装备时自动计算最优装备
加入最高难度禁止神之血琼浆玉露
融合圣子降低属性从1万变成10万
状态栏增加黑白钥匙显示
东凌帝国区血瓶血量减半,因为之前怪物血量减半
光明广场加入另一种地板表示不能去的地方
计分暂时用攻防和
This commit is contained in:
bdf1 2024-08-25 17:30:37 +08:00
parent d2c6a3188c
commit 1b1a39d546
17 changed files with 161 additions and 89 deletions

View File

@ -563,7 +563,7 @@ var enemys_fcae963b_31c9_42b4_b48c_bb48d09f3f80 =
"E1024": {"name":"阴暗魔","hp":2000000,"atk":350000,"def":90000,"money":420,"exp":0,"point":0,"special":[36],"level":"五阶无上","X":60}, "E1024": {"name":"阴暗魔","hp":2000000,"atk":350000,"def":90000,"money":420,"exp":0,"point":0,"special":[36],"level":"五阶无上","X":60},
"E1025": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E1025": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"E1027": {"name":"考核法师","hp":10400,"atk":840,"def":325,"money":150,"exp":0,"point":0,"special":[30],"level":"地品初阶","notBomb":true,"displayIdInBook":null,"beforeBattle":[{"type":"if","condition":"(flag:shengqishi>=8)","true":[{"type":"animate","name":"sword"},{"type":"setBlock","number":"N472"},"\t[${flag:shengqishi_name},N472]\b[this]考你麻痹!圣子殿下也是你能考的?","\t[考核法师,E1027]哎呦……圣子殿下,你不讲武德!","\t[${flag:shengqishi_name},N472]\b[this]连我都打不过,还考圣子殿下?还不快把通关奖励拿出来!","\t[考核法师,E1027]可恶的小子,你给我等着,我定要让教皇陛下做主!",{"type":"setBlock","number":"I612","loc":[[4,7]]},{"type":"setBlock","number":"I416","loc":[[8,7]]},{"type":"setBlock","number":"I625","loc":[[6,3]]},"考核法师逃跑了!","\t[${flag:shengqishi_name},N472]\b[this]嘿嘿,圣子殿下,看我的鬼手掏了多少?","金币+300",{"type":"setValue","name":"status:money","operator":"+=","value":"300"},"\t[莫析辉,hero]\b[hero]不错,不过下次可别这样了。","\t[${flag:shengqishi_name},N472]\b[this]知道啦!嘿嘿。","考核法师又回来了。","\t[${flag:shengqishi_name},N472]\b[this]你还来干嘛?","\t[考核法师,E1027]哼,教皇陛下准备让圣子殿下、圣女殿下、准圣子殿下进入隐世学院交流。","\t[莫析辉,hero]\b[hero]隐世学院?","\t[考核法师,E1027]回圣子殿下隐世学院是一个不逊于光明学院的学院只是常年隐居很少有人知道罢了。但是很多强大势力的少主都送到隐世学院交流教皇陛下有意让你们三人前去交流……emmm${flag:shengqishi_name},你也可以去。","\t[莫析辉,hero]\b[hero]好吧。那我们去就是了,入口在哪里?","\t[考核法师,E1027]在光明学院6有一个传送阵圣子殿下赶快启程吧",{"type":"hide","remove":true}],"false":[]}],"value30_1":2000,"value30_2":40}, "E1027": {"name":"考核法师","hp":10400,"atk":840,"def":325,"money":150,"exp":0,"point":0,"special":[30],"level":"地品初阶","notBomb":true,"displayIdInBook":null,"beforeBattle":[{"type":"if","condition":"(flag:shengqishi>=8)","true":[{"type":"animate","name":"sword"},{"type":"setBlock","number":"N472"},"\t[${flag:shengqishi_name},N472]\b[this]考你麻痹!圣子殿下也是你能考的?","\t[考核法师,E1027]哎呦……圣子殿下,你不讲武德!","\t[${flag:shengqishi_name},N472]\b[this]连我都打不过,还考圣子殿下?还不快把通关奖励拿出来!","\t[考核法师,E1027]可恶的小子,你给我等着,我定要让教皇陛下做主!",{"type":"setBlock","number":"I612","loc":[[4,7]]},{"type":"setBlock","number":"I416","loc":[[8,7]]},{"type":"setBlock","number":"I625","loc":[[6,3]]},"考核法师逃跑了!","\t[${flag:shengqishi_name},N472]\b[this]嘿嘿,圣子殿下,看我的鬼手掏了多少?","金币+300",{"type":"setValue","name":"status:money","operator":"+=","value":"300"},"\t[莫析辉,hero]\b[hero]不错,不过下次可别这样了。","\t[${flag:shengqishi_name},N472]\b[this]知道啦!嘿嘿。","考核法师又回来了。","\t[${flag:shengqishi_name},N472]\b[this]你还来干嘛?","\t[考核法师,E1027]哼,教皇陛下准备让圣子殿下、圣女殿下、准圣子殿下进入隐世学院交流。","\t[莫析辉,hero]\b[hero]隐世学院?","\t[考核法师,E1027]回圣子殿下隐世学院是一个不逊于光明学院的学院只是常年隐居很少有人知道罢了。但是很多强大势力的少主都送到隐世学院交流教皇陛下有意让你们三人前去交流……emmm${flag:shengqishi_name},你也可以去。","\t[莫析辉,hero]\b[hero]好吧。那我们去就是了,入口在哪里?","\t[考核法师,E1027]在光明学院6有一个传送阵圣子殿下赶快启程吧",{"type":"hide","remove":true}],"false":[]}],"value30_1":2000,"value30_2":40},
"E1028": {"name":"提灯幽灵","hp":12000,"atk":550,"def":340,"money":200,"exp":0,"point":0,"special":[6,30],"level":"地品初阶","notBomb":true,"n":5,"value30_1":3000,"value30_2":20}, "E1028": {"name":"提灯幽灵","hp":12000,"atk":550,"def":340,"money":200,"exp":0,"point":0,"special":[6,30],"level":"地品初阶","notBomb":true,"n":5,"value30_1":2000,"value30_2":20},
"E1029": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E1029": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"E1030": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E1030": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},
"E1031": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]}, "E1031": {"name":"新敌人","hp":0,"atk":0,"def":0,"money":0,"exp":0,"point":0,"special":[]},

View File

@ -22,7 +22,7 @@ main.floors.CZ4=
"4,6": [ "4,6": [
"\t[沂蒙贤,N570]\b[this,4,6]圣子啊,你知道白宝石应该怎么用吗", "\t[沂蒙贤,N570]\b[this,4,6]圣子啊,你知道白宝石应该怎么用吗",
"\t[光明圣子,hero]\b[hero]不知道唉,还请三长老指点", "\t[光明圣子,hero]\b[hero]不知道唉,还请三长老指点",
"\t[沂蒙贤,N570]\b[this,4,6]一定要用白宝石多加生命值,这样才最划算", "\t[沂蒙贤,N570]\b[this,4,6]一定要用白宝石多加攻击力,这样才最划算",
"\t[光明圣子,hero]\b[hero]是", "\t[光明圣子,hero]\b[hero]是",
{ {
"type": "hide", "type": "hide",

View File

@ -58,17 +58,17 @@ main.floors.DL4=
"cannotMoveIn": {}, "cannotMoveIn": {},
"map": [ "map": [
[109,109,109,109,109,109,109,109,109,109,109,109,109], [109,109,109,109,109,109,109,109,109,109,109,109,109],
[109,777, 81, 0, 0, 81,614,109,685, 28, 22,778,109], [109,777, 81, 0, 0, 81,614,109,684, 28, 22,778,109],
[109, 0,109,780,780,109, 0,109,109,109,109, 81,109], [109, 0,109,780,780,109, 0,109,109,109,109, 81,109],
[109,684,109,684,684,109,778, 81,777,684,684,684,109], [109,683,109,683,683,109,778, 81,777,683,683,683,109],
[109, 81,109,684,684,109, 0,109,109,109,109,109,109], [109, 81,109,683,683,109, 0,109,109,109,109,109,109],
[109,778,109,109,109,109, 29,109, 0, 0,781,684,109], [109,778,109,109,109,109, 29,109, 0, 0,781,683,109],
[ 92, 21,779,685,342,779, 0,109, 27, 28,109, 0,109], [ 92, 21,779,684,342,779, 0,109, 27, 28,109, 0,109],
[109,109,109,109,109,109,778,109,685,344,109,777,109], [109,109,109,109,109,109,778,109,684,344,109,777,109],
[109,684, 0, 0,778,684, 0,109,109,109,109, 81,109], [109,683, 0, 0,778,683, 0,109,109,109,109, 81,109],
[109,109, 82,109,109, 0,777, 81,780, 21,684, 21,109], [109,109, 82,109,109, 0,777, 81,780, 21,683, 21,109],
[109, 0,779, 0,109,109,481,109,109,109,109,109,109], [109, 0,779, 0,109,109,481,109,109,109,109,109,109],
[109, 27, 0, 30,109,686, 0, 21, 82,685,685,685,109], [109, 27, 0, 30,109,685, 0, 21, 82,684,684,684,109],
[109,109,109,109,109,109, 91,109,109,109,109,109,109] [109,109,109,109,109,109, 91,109,109,109,109,109,109]
], ],
"bgmap": [ "bgmap": [

View File

@ -43,15 +43,15 @@ main.floors.DL5=
"map": [ "map": [
[109,109,109,109,109,109,109,109,109,109,109,109,109], [109,109,109,109,109,109,109,109,109,109,109,109,109],
[109,109,109,109,109,109,109,109,109,109,109,109,109], [109,109,109,109,109,109,109,109,109,109,109,109,109],
[109,109,684, 0, 81,777, 0, 21, 0,780, 27,109,109], [109,109,683, 0, 81,777, 0, 21, 0,780, 27,109,109],
[109,109, 0,109,109,109,109,109,777,109, 0,109,109], [109,109, 0,109,109,109,109,109,777,109, 0,109,109],
[109,109,778,109, 21, 21, 21,109, 0,109,779,109,109], [109,109,778,109, 21, 21, 21,109, 0,109,779,109,109],
[109,109, 81,109, 21,780, 21,109,684, 81, 0,109,109], [109,109, 81,109, 21,780, 21,109,683, 81, 0,109,109],
[ 94, 0, 0,109,109,1076,109,109, 29,109, 0,614, 94], [ 94, 0, 0,109,109,1076,109,109, 29,109, 0,614, 94],
[109,109,777, 0, 28, 0,779, 0,684, 0,780,109,109], [109,109,777, 0, 28, 0,779, 0,683, 0,780,109,109],
[109,109,109,109,109,777,109, 81,109,109, 21,109,109], [109,109,109,109,109,777,109, 81,109,109, 21,109,109],
[109,109,703, 30,109, 0,109,779,685,109, 21,109,109], [109,109,703, 30,109, 0,109,779,684,109, 21,109,109],
[109,109,685,781, 81,614,109,685,685,109, 21,109,109], [109,109,684,781, 81,614,109,684,684,109, 21,109,109],
[109,109,109,109,109,109,109,109,109,109,109,109,109], [109,109,109,109,109,109,109,109,109,109,109,109,109],
[109,109,109,109,109,109,109,109,109,109,109,109,109] [109,109,109,109,109,109,109,109,109,109,109,109,109]
], ],

View File

@ -93,16 +93,16 @@ main.floors.DL6=
"map": [ "map": [
[109,109,109,109,109,109,109,109,109,109,109,109,109], [109,109,109,109,109,109,109,109,109,109,109,109,109],
[109,109,109,109,109,109,109,109,109,109,109,109,109], [109,109,109,109,109,109,109,109,109,109,109,109,109],
[109,109, 28,779, 81,684,109,613,613,109,109,109,109], [109,109, 28,779, 81,683,109,613,613,109,109,109,109],
[109,109,686, 29,109, 0, 81,781,613,109,109,109,109], [109,109,685, 29,109, 0, 81,781,613,109,109,109,109],
[109,109,109,109,109,780,109,109,109,109,109,109,109], [109,109,109,109,109,780,109,109,109,109,109,109,109],
[109,109,684, 27, 0, 0,778, 0,684,109,109,109,109], [109,109,683, 27, 0, 0,778, 0,683,109,109,109,109],
[109,109,109,109,109,109,1077,109, 0,777, 81, 0, 92], [109,109,109,109,109,109,1077,109, 0,777, 81, 0, 92],
[109,109,10110,782,1077,109,777,109, 81,109,109,109,109], [109,109,10110,782,1077,109,777,109, 81,109,109,109,109],
[109,109,109,109,1077,109, 0,109,778,109,344,109,109], [109,109,109,109,1077,109, 0,109,778,109,344,109,109],
[109,109,604,109,1077,109, 21,109, 0, 82,781,109,109], [109,109,604,109,1077,109, 21,109, 0, 82,781,109,109],
[109,109,604,779, 0, 83, 0,109, 29,109,698,109,109], [109,109,604,779, 0, 83, 0,109, 29,109,698,109,109],
[109,109,604,109, 21,109,778,109,685,109, 27,109,109], [109,109,604,109, 21,109,778,109,684,109, 27,109,109],
[109,109,109,109,109,109, 93,109,109,109,109,109,109] [109,109,109,109,109,109, 93,109,109,109,109,109,109]
], ],
"bgmap": [ "bgmap": [

View File

@ -90,17 +90,17 @@ main.floors.DL7=
"cannotMoveIn": {}, "cannotMoveIn": {},
"map": [ "map": [
[109,109,109,109,109,109, 91,109,109,109,109,109,109], [109,109,109,109,109,109, 91,109,109,109,109,109,109],
[109,615,685,109,685,109, 0,109, 0, 21,701,604,109], [109,615,684,109,684,109, 0,109, 0, 21,701,604,109],
[109,781,109,109, 28,109, 21,109,781,109,109,109,109], [109,781,109,109, 28,109, 21,109,781,109,109,109,109],
[109, 0,778, 0, 29,109, 0,109, 0,109, 27,685,109], [109, 0,778, 0, 29,109, 0,109, 0,109, 27,684,109],
[109, 81,109,109,109,109,468,109,684,109,782, 28,109], [109, 81,109,109,109,109,468,109,683,109,782, 28,109],
[109, 0,684, 0,779, 82, 0,109, 0,109, 81,109,109], [109, 0,683, 0,779, 82, 0,109, 0,109, 81,109,109],
[109, 81,109,109,109,109, 0, 81,779, 0, 0, 29,109], [109, 81,109,109,109,109, 0, 81,779, 0, 0, 29,109],
[109, 0,782, 27, 30,109, 0,109,109,109,109,109,109], [109, 0,782, 27, 30,109, 0,109,109,109,109,109,109],
[109,779,109,109,109,109, 0, 81,777, 0,109,685,109], [109,779,109,109,109,109, 0, 81,777, 0,109,684,109],
[109, 21,109,684, 0,109,541,109,109,778,109, 28,109], [109, 21,109,683, 0,109,541,109,109,778,109, 28,109],
[109,614,109,684,780, 81,684,109, 0, 29,109,614,109], [109,614,109,683,780, 81,683,109, 0, 29,109,614,109],
[109,685,109,684, 0,109, 0,109,684, 0, 81,779,109], [109,684,109,683, 0,109, 0,109,683, 0, 81,779,109],
[109,109,109,109,109,109, 91,109,109,109,109,109,109] [109,109,109,109,109,109, 91,109,109,109,109,109,109]
], ],
"bgmap": [ "bgmap": [

View File

@ -42,17 +42,17 @@ main.floors.DL8=
"cannotMoveIn": {}, "cannotMoveIn": {},
"map": [ "map": [
[109,109,109,109,109,109, 93,109,109,109,109,109,109], [109,109,109,109,109,109, 93,109,109,109,109,109,109],
[109, 21, 21,109,685,109, 0,109,614,109,685, 0,109], [109, 21, 21,109,684,109, 0,109,614,109,684, 0,109],
[109,50049,777,109,614,109,778,109, 29,781, 0,780,109], [109,50049,777,109,614,109,778,109, 29,781, 0,780,109],
[109, 0, 27, 81,779,109, 0,109, 0,109,109, 81,109], [109, 0, 27, 81,779,109, 0,109, 0,109,109, 81,109],
[109,778, 0,109,700,109, 21,109,778, 0,684, 0,109], [109,778, 0,109,700,109, 21,109,778, 0,683, 0,109],
[109, 81,109,109,109,109,1077,109, 81,109,109,779,109], [109, 81,109,109,109,109,1077,109, 81,109,109,779,109],
[109, 0,684, 0,780, 82,777, 81, 0,780, 0, 29,109], [109, 0,683, 0,780, 82,777, 81, 0,780, 0, 29,109],
[109, 81,109,109,109,109, 0,109,109,109,109, 82,109], [109, 81,109,109,109,109, 0,109,109,109,109, 82,109],
[109,780, 0,109, 28,109,684,109, 0, 21, 0,779,109], [109,780, 0,109, 28,109,683,109, 0, 21, 0,779,109],
[109, 0, 29,109, 27,109, 0,109,779,109,109,109,109], [109, 0, 29,109, 27,109, 0,109,779,109,109,109,109],
[109,109,781, 81,782,109,778,109, 0, 81,782, 27,109], [109,109,781, 81,782,109,778,109, 0, 81,782, 27,109],
[109,684,684,109,700,109, 0,109,685,109, 30,685,109], [109,683,683,109,700,109, 0,109,684,109, 30,684,109],
[109,109,109,109,109,109, 93,109,109,109,109,109,109] [109,109,109,109,109,109, 93,109,109,109,109,109,109]
], ],
"bgmap": [ "bgmap": [

View File

@ -44,17 +44,17 @@ main.floors.DL9=
"cannotMoveIn": {}, "cannotMoveIn": {},
"map": [ "map": [
[109,109,109,109,109,109, 91,109,109,109,109,109,109], [109,109,109,109,109,109, 91,109,109,109,109,109,109],
[109,684,685,109, 21,782, 85, 0, 81,782,109,604,109], [109,683,684,109, 21,782, 85, 0, 81,782,109,604,109],
[109, 21, 29,109,342, 21,109, 0,109, 21,109,604,109], [109, 21, 29,109,342, 21,109, 0,109, 21,109,604,109],
[109, 27, 28,109,109,109,109,781,109, 30,109,604,109], [109, 27, 28,109,109,109,109,781,109, 30,109,604,109],
[109,781, 0,109,779, 0,684, 0,109, 21,109,779,109], [109,781, 0,109,779, 0,683, 0,109, 21,109,779,109],
[109, 81,109,109, 81,109,109,109,109,109,109, 81,109], [109, 81,109,109, 81,109,109,109,109,109,109, 81,109],
[109,779, 0,685, 0,1077,781, 0,614, 0,779, 0,109], [109,779, 0,684, 0,1077,781, 0,614, 0,779, 0,109],
[109, 0,109,109, 82,109, 0,109,109,109,109, 81,109], [109, 0,109,109, 82,109, 0,109,109,109,109, 81,109],
[109, 21,109,613,613,109, 29,109,711,109,685,779,109], [109, 21,109,613,613,109, 29,109,711,109,684,779,109],
[109, 0,109,613,613,109, 0, 81,711,109,685,685,109], [109, 0,109,613,613,109, 0, 81,711,109,684,684,109],
[109,781,109,109,1077,109,779,109,109,109,109,109,109], [109,781,109,109,1077,109,779,109,109,109,109,109,109],
[109, 0, 29, 29, 29,109, 0, 81,781,684,684,684,109], [109, 0, 29, 29, 29,109, 0, 81,781,683,683,683,109],
[109,109,109,109,109,109, 91,109,109,109,109,109,109] [109,109,109,109,109,109, 91,109,109,109,109,109,109]
], ],
"bgmap": [ "bgmap": [

View File

@ -409,17 +409,17 @@ main.floors.GM1=
"cannotMoveIn": {}, "cannotMoveIn": {},
"map": [ "map": [
[50049,50049,50049, 91,50049,50049, 91,50049,50049, 91,50049,50049,50049], [50049,50049,50049, 91,50049,50049, 91,50049,50049, 91,50049,50049,50049],
[50049, 0,442, 0,441,442, 0,441,442, 0,441, 0,50049], [50049, 0,442,30204,441,442, 0,441,442,30204,441, 0,50049],
[50049, 0, 0, 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], [ 92,30204, 0, 0, 0, 0, 0, 0, 0, 0, 0,30204, 94],
[50049, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,50049], [50049, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,50049],
[50049,440, 0, 0, 0, 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], [ 92,30204, 0, 0, 0,30360,30361,30362, 0, 0, 0,30204, 94],
[50049,443, 0, 0,578, 0, 0,582, 0, 0, 0,443,50049], [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], [50049, 0, 0, 0, 0,566,550, 0, 0, 0, 0, 0,50049],
[ 92, 0, 0, 0, 0, 0,549, 0, 0, 0, 0, 0, 94], [ 92,30204, 0, 0, 0, 0,549, 0, 0, 0, 0,30204, 94],
[50049, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,50049], [50049, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,50049],
[50049, 0,442, 0,441,442, 0,441,442, 0,441, 0,50049], [50049, 0,442,30204,441,442,30204,441,442,30204,441, 0,50049],
[50049,50049,50049, 93,50049,50049, 93,50049,50049, 93,50049,50049,50049] [50049,50049,50049, 93,50049,50049, 93,50049,50049, 93,50049,50049,50049]
], ],
"bgmap": [ "bgmap": [

View File

@ -284,7 +284,12 @@ main.floors.HA11=
12, 12,
6 6
], ],
"color": null, "color": [
0,
0,
0,
0.5
],
"bg2map": [ "bg2map": [
], ],

View File

@ -26,9 +26,30 @@ main.floors.HA18=
{ {
"text": "是", "text": "是",
"action": [ "action": [
{
"type": "unloadEquip",
"pos": 0
},
{
"type": "unloadEquip",
"pos": 1
},
{
"type": "unloadEquip",
"pos": 2
},
{
"type": "unloadEquip",
"pos": 3
},
{
"type": "setValue",
"name": "status:hp",
"value": "status:atk+status:def"
},
{ {
"type": "win", "type": "win",
"reason": "圣骑士" "reason": ""
} }
] ]
}, },
@ -80,7 +101,7 @@ main.floors.HA18=
[ 92,877,140166,140166,140166,140166,140166, 81,140166,140166, 0,1022, 92], [ 92,877,140166,140166,140166,140166,140166, 81,140166,140166, 0,1022, 92],
[140166, 0, 0, 22,140166,688, 0,737, 0, 0, 21, 0,140166], [140166, 0, 0, 22,140166,688, 0,737, 0, 0, 21, 0,140166],
[1095,140166, 82,140166,140166,140166,140166,140166, 82,140166,140166,140166,140166], [1095,140166, 82,140166,140166,140166,140166,140166, 82,140166,140166,140166,140166],
[ 92,1077,1024, 0,349,687,140166, 0,737, 0,618,687,140166], [104,1077,1024, 0,349,687,140166, 0,737, 0,618,687,140166],
[1095,140166, 81,140166,140166,140166,140166, 81,140166, 81,140166,140166,140166], [1095,140166, 81,140166,140166,140166,140166, 81,140166, 81,140166,140166,140166],
[140166,688, 0, 0, 21, 0,1024, 0,140166,852, 22,687,140166], [140166,688, 0, 0, 21, 0,1024, 0,140166,852, 22,687,140166],
[140166,140166,140166,140166,140166,140166,140166,140166,140166,140166,140166,140166,140166] [140166,140166,140166,140166,140166,140166,140166,140166,140166,140166,140166,140166,140166]

View File

@ -109,8 +109,8 @@ main.floors.XW7=
[144, 0,144,1021,144, 0,144, 81,144, 81,144,1077,737], [144, 0,144,1021,144, 0,144, 81,144, 81,144,1077,737],
[144, 0,144,1023,144,737,144, 0, 21, 0,1022, 0, 0], [144, 0,144,1023,144,737,144, 0, 21, 0,1022, 0, 0],
[144, 21,144,1021,144, 81,144,1024,144,144,144,144,144], [144, 21,144,1021,144, 81,144,1024,144,144,144,144,144],
[144,1118,144, 0,144, 0,144,1077, 0, 0,852, 0,144], [144, 21,144, 0,144, 0,144,1077, 0, 0,852, 0,144],
[144, 21,144, 81,144, 21, 0, 0,144,144, 82,144,144], [144,1118,144, 81,144, 21, 0, 0,144,144, 82,144,144],
[144,144,144, 0,1022, 0, 0, 0,144, 0,356, 0,144], [144,144,144, 0,1022, 0, 0, 0,144, 0,356, 0,144],
[144, 94, 0, 0,1077,688, 0,486,144,687, 0,687,144], [144, 94, 0, 0,1077,688, 0,486,144,687, 0,687,144],
[144,144,144,144,144,144,144,144,144,144,144,144,144] [144,144,144,144,144,144,144,144,144,144,144,144,144]

View File

@ -505,7 +505,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
core.playSound('宝石') core.playSound('宝石')
else else
core.playSound('获得道具'); core.playSound('获得道具');
if (core.material.items[itemId].cls == 'equips' || itemId == 'I715') core.plugin.calcEquip();
var todo = []; var todo = [];
// 检查该点的获得道具后事件。 // 检查该点的获得道具后事件。
if (core.status.floorId == null) return; if (core.status.floorId == null) return;

View File

@ -1111,7 +1111,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"I415": { "I415": {
"cls": "tools", "cls": "tools",
"name": "琼浆", "name": "琼浆",
"canUseItemEffect": "true", "canUseItemEffect": "core.status.hero.flags.hard<=3",
"text": "喝下后回复50%生命值", "text": "喝下后回复50%生命值",
"useItemEvent": [ "useItemEvent": [
{ {
@ -1122,14 +1122,14 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"type": "setValue", "type": "setValue",
"name": "status:hp", "name": "status:hp",
"operator": "+=", "operator": "+=",
"value": "(status:hpmax*0.5)" "value": "(status:hpmax*0.5)*(flags.hard==1?2:1)"
} }
] ]
}, },
"I416": { "I416": {
"cls": "tools", "cls": "tools",
"name": "玉露", "name": "玉露",
"canUseItemEffect": "true", "canUseItemEffect": "core.status.hero.flags.hard<=3",
"text": "喝下后恢复100%生命值", "text": "喝下后恢复100%生命值",
"useItemEvent": [ "useItemEvent": [
{ {
@ -1141,6 +1141,18 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"name": "status:hp", "name": "status:hp",
"operator": "+=", "operator": "+=",
"value": "(status:hpmax)" "value": "(status:hpmax)"
},
{
"type": "if",
"condition": "flag:hard==1",
"true": [
{
"type": "setValue",
"name": "item:I415",
"operator": "+=",
"value": "1"
}
]
} }
] ]
}, },
@ -1366,6 +1378,10 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
], ],
"action": [ "action": [
"自动计算最优装备已打开!", "自动计算最优装备已打开!",
{
"type": "function",
"function": "function(){\ncore.plugin.calcEquip()\n}"
},
{ {
"type": "setValue", "type": "setValue",
"name": "flag:bestEquip", "name": "flag:bestEquip",
@ -2549,13 +2565,13 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"type": "setValue", "type": "setValue",
"name": "status:hp", "name": "status:hp",
"operator": "+=", "operator": "+=",
"value": "flag:input*(status:hpmax*0.05)" "value": "flag:input*(status:hpmax*0.05)*(flags.hard==1?2:1)"
}, },
{ {
"type": "playSound", "type": "playSound",
"name": "回血" "name": "回血"
}, },
"成功使用${flag:input}次初阶神之血,恢复${flag:input*(status:hpmax*0.05)}点生命。" "成功使用${flag:input}次初阶神之血,恢复${flag:input*(status:hpmax*0.05)*(flags.hard==1?2:1)}点生命。"
], ],
"false": [ "false": [
{ {
@ -2566,7 +2582,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
] ]
} }
], ],
"canUseItemEffect": "true" "canUseItemEffect": "core.status.hero.flags.hard<=3"
}, },
"I711": { "I711": {
"cls": "tools", "cls": "tools",
@ -2607,13 +2623,13 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"type": "setValue", "type": "setValue",
"name": "status:hp", "name": "status:hp",
"operator": "+=", "operator": "+=",
"value": "flag:input*(status:hpmax*0.1)" "value": "flag:input*(status:hpmax*0.1)*(flags.hard==1?2:1)"
}, },
{ {
"type": "playSound", "type": "playSound",
"name": "回血" "name": "回血"
}, },
"成功使用${flag:input}次进阶神之血,恢复${flag:input*(status:hpmax*0.1)}点生命。" "成功使用${flag:input}次进阶神之血,恢复${flag:input*(status:hpmax*0.1)*(flags.hard==1?2:1)}点生命。"
], ],
"false": [ "false": [
{ {
@ -2624,7 +2640,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
] ]
} }
], ],
"canUseItemEffect": "true" "canUseItemEffect": "core.status.hero.flags.hard<=3"
}, },
"I712": { "I712": {
"cls": "tools", "cls": "tools",
@ -2665,13 +2681,13 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"type": "setValue", "type": "setValue",
"name": "status:hp", "name": "status:hp",
"operator": "+=", "operator": "+=",
"value": "flag:input*(status:hpmax*0.15)" "value": "flag:input*(status:hpmax*0.15)*(flags.hard==1?2:1)"
}, },
{ {
"type": "playSound", "type": "playSound",
"name": "回血" "name": "回血"
}, },
"成功使用${flag:input}次中阶神之血,恢复${flag:input*(status:hpmax*0.15)}点生命。" "成功使用${flag:input}次中阶神之血,恢复${flag:input*(status:hpmax*0.15)*(flags.hard==1?2:1)}点生命。"
], ],
"false": [ "false": [
{ {
@ -2682,7 +2698,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
] ]
} }
], ],
"canUseItemEffect": "true" "canUseItemEffect": "core.status.hero.flags.hard<=3"
}, },
"I713": { "I713": {
"cls": "tools", "cls": "tools",
@ -2723,13 +2739,13 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"type": "setValue", "type": "setValue",
"name": "status:hp", "name": "status:hp",
"operator": "+=", "operator": "+=",
"value": "flag:input*(status:hpmax*0.2)" "value": "flag:input*(status:hpmax*0.2)*(flags.hard==1?2:1)"
}, },
{ {
"type": "playSound", "type": "playSound",
"name": "回血" "name": "回血"
}, },
"成功使用${flag:input}次高阶神之血,恢复${flag:input*(status:hpmax*0.2)}点生命。" "成功使用${flag:input}次高阶神之血,恢复${flag:input*(status:hpmax*0.2)*(flags.hard==1?2:1)}点生命。"
], ],
"false": [ "false": [
{ {
@ -2740,12 +2756,12 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
] ]
} }
], ],
"canUseItemEffect": "true" "canUseItemEffect": "core.status.hero.flags.hard<=3"
}, },
"I714": { "I714": {
"cls": "tools", "cls": "tools",
"name": "超阶神之血", "name": "超阶神之血",
"canUseItemEffect": "true", "canUseItemEffect": "core.status.hero.flags.hard<=3",
"text": "喝下后回复25%生命值", "text": "喝下后回复25%生命值",
"useItemEvent": [ "useItemEvent": [
{ {
@ -2756,7 +2772,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"type": "setValue", "type": "setValue",
"name": "status:hp", "name": "status:hp",
"operator": "+=", "operator": "+=",
"value": "(status:hpmax*0.25)" "value": "(status:hpmax*0.25)*(flags.hard==1?2:1)"
} }
] ]
}, },
@ -3223,9 +3239,9 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
"cls": "items", "cls": "items",
"name": "黑暗血瓶", "name": "黑暗血瓶",
"text": ",生命翻倍", "text": ",生命翻倍",
"itemEffect": "core.status.hero.hp *= 2", "itemEffect": "core.status.hero.hp += Math.min(core.status.hero.hp, core.getRealStatus('hpmax') - core.status.hero.hp)",
"itemEffectTip": ",生命翻倍", "itemEffectTip": ",生命翻倍",
"useItemEffect": "core.status.hero.hp *= 2", "useItemEffect": "core.status.hero.hp += Math.min(core.status.hero.hp, core.getRealStatus('hpmax') - core.status.hero.hp)",
"canUseItemEffect": "true" "canUseItemEffect": "true"
} }
} }

File diff suppressed because one or more lines are too long

View File

@ -174,6 +174,31 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
core.drawTip("请确认当前" + core.material.items['centerFly'].name + "的位置", 'centerFly'); core.drawTip("请确认当前" + core.material.items['centerFly'].name + "的位置", 'centerFly');
return; return;
} }
this.calcEquip = function () {
var yifu_ = ['I635', 'I630', 'I631', 'I632'];
var fazhang_ = ['I337', 'I408', 'I409', 'I410', 'I411', 'I412', 'I413', 'I1116', 'I1115', 'I595'];
var juanzhou_ = ['I718', 'I719', 'I720', 'I723'];
var yifu = null,
fazhang = null;
for (var i of yifu_)
if (core.status.hero.equipment.includes(i) || core.hasItem(i)) yifu = i;
for (var i of fazhang_)
if (core.status.hero.equipment.includes(i) || core.hasItem(i)) fazhang = i;
juanzhou = core.clone(juanzhou_).filter(i => core.status.hero.equipment.includes(i) || core.hasItem(i));
flags.saveEquips = []
if (flags.shop3) {
while (juanzhou.length < 2) juanzhou.push(null);
for (var i = 0; i < juanzhou.length; i++)
for (var j = i + 1; j < juanzhou.length; j++)
flags.saveEquips.push([yifu, juanzhou[i], fazhang, juanzhou[j]]);
} else {
while (juanzhou.length < 1) juanzhou.push(null);
for (var i = 0; i < juanzhou.length; i++)
flags.saveEquips.push([yifu, juanzhou[i], fazhang]);
}
}
}, },
"drawLight": function () { "drawLight": function () {
@ -2818,12 +2843,15 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
var num = [hero.items.tools.yellowKey || 0, hero.items.tools.blueKey || 0, hero.items.tools.redKey || 0, hero.items.tools.greenKey || 0]; var num = [hero.items.tools.yellowKey || 0, hero.items.tools.blueKey || 0, hero.items.tools.redKey || 0, hero.items.tools.greenKey || 0];
var keyCol = [170, 0, 140, 250] var keyCol = [170, 0, 140, 250]
if (name === 'key2') { if (name === 'key2') {
//num = [hero.items.tools.redKey || 0, hero.items.tools.greenKey || 0]; num = [hero.items.tools.whiteKey || 0, hero.items.tools.I422 || 0];
//keyCol = [140, 250] keyCol = [-1, -2]
} }
for (var k in num) { for (var k in num) {
var numk = num[k] var numk = num[k]
numk = numk.toString() numk = numk.toString()
if (keyCol[k] < 0)
core.setFilter(ctx, 'grayscale(' + 100 + '%)');
else
core.setFilter(ctx, 'hue-rotate(' + keyCol[k] + 'deg)') core.setFilter(ctx, 'hue-rotate(' + keyCol[k] + 'deg)')
for (var i in numk) { for (var i in numk) {
core.drawIcon(ctx, 'X' + (10304), x + 5 + 10 * Number(i) + 30 * Number(k) - (k == 3 ? 10 : 0), y, 16, 16) core.drawIcon(ctx, 'X' + (10304), x + 5 + 10 * Number(i) + 30 * Number(k) - (k == 3 ? 10 : 0), y, 16, 16)
@ -3052,7 +3080,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
//状态 //状态
var heroStatus = ['atk', 'mdef', 'key1'] var heroStatus = ['atk', 'mdef', 'key1']
var Scol = [140, 280, 180] var Scol = [140, 280, 180]
var heroStatus2 = ['def', 'mana', 'money'] var heroStatus2 = ['def', 'mana', 'key2']
var Scol2 = [0, 20, 180, 0] var Scol2 = [0, 20, 180, 0]
if (core.domStyle.isVertical) { if (core.domStyle.isVertical) {
for (var i in heroStatus2) for (var i in heroStatus2)
@ -3070,7 +3098,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
} }
//魔力 //魔力
if (core.domStyle.isVertical) { if (core.domStyle.isVertical) {
core.mystatusbox(ctx, 'mana', null, 48 + 128, 16, 20); core.mystatusbox(ctx, 'mana', null, 48 + 128, 16, 20 + (flags.heianshengzi ? 120 : 0));
core.setAlpha(ctx, 0.4) core.setAlpha(ctx, 0.4)
core.drawImage(ctx, 'manaLt.png', 0, 0, 128 * hero.mana / hero.manamax, 32, 60 - 16 + 4 + 152 + 422, 142, 128 * hero.mana / hero.manamax, 32) core.drawImage(ctx, 'manaLt.png', 0, 0, 128 * hero.mana / hero.manamax, 32, 60 - 16 + 4 + 152 + 422, 142, 128 * hero.mana / hero.manamax, 32)
core.setAlpha(ctx, 1) core.setAlpha(ctx, 1)
@ -3079,9 +3107,10 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
//钥匙/金币 //钥匙/金币
core.mystatusbox(ctx, 'potion', null, 48 + 256, 16, 180); core.mystatusbox(ctx, 'potion', null, 48 + 256, 16, 180);
core.mystatusbox(ctx, 'potion', null, 48 + 22 + 256, 16 + 22, 300); core.mystatusbox(ctx, 'potion', null, 48 + 22 + 256, 16 + 22, 300);
core.mystatusbox(ctx, 'money', null, 48 + 22 + 128, 16 + 22, 180);
} }
else { else {
core.mystatusbox(ctx, 'mana', null, 80 + 152 + 422, 122, 20); core.mystatusbox(ctx, 'mana', null, 80 + 152 + 422, 122, 20 + (flags.heianshengzi ? 120 : 0));
core.setAlpha(ctx, 0.4) core.setAlpha(ctx, 0.4)
core.drawImage(ctx, 'manaLt.png', 0, 0, 128 * hero.mana / hero.manamax, 32, 60 - 16 + 4 + 152 + 422, 142, 128 * hero.mana / hero.manamax, 32) core.drawImage(ctx, 'manaLt.png', 0, 0, 128 * hero.mana / hero.manamax, 32, 60 - 16 + 4 + 152 + 422, 142, 128 * hero.mana / hero.manamax, 32)
core.setAlpha(ctx, 1) core.setAlpha(ctx, 1)
@ -3115,34 +3144,34 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
var text = [ var text = [
//['等级', hero.lv + ' ' + leveltext[hero.lv - 1][0]], //['等级', hero.lv + ' ' + leveltext[hero.lv - 1][0]],
//['经验', hero.exp + '/' + need], //['经验', hero.exp + '/' + need],
['生命上限', (hero.hpmax < 0 ? '\r[red]' : '') + hero.hpmax + '\r'], ['限', (hero.hpmax < 0 ? '\r[red]' : '') + hero.hpmax + '\r'],
['生命', (hero.mdef < 0 ? '\r[red]' : '') + hero.hp + '\r'], ['生命', (hero.mdef < 0 ? '\r[red]' : '') + hero.hp + '\r'],
['攻击', (hero.atk < 0 ? '\r[red]' : '') + hero.atk + '\r'], ['攻击', (hero.atk < 0 ? '\r[red]' : '') + hero.atk + '\r'],
['防御', (hero.def < 0 ? '\r[red]' : '') + hero.def + '\r'], ['防御', (hero.def < 0 ? '\r[red]' : '') + hero.def + '\r'],
['护盾', (hero.mdef < 0 ? '\r[red]' : '') + hero.mdef + '\r'], ['护盾', (hero.mdef < 0 ? '\r[red]' : '') + hero.mdef + '\r'],
['魔量', hero.mana + '/' + hero.manamax], ['魔量', hero.mana],
['钥匙', core.itemCount('yellowKey') + '/' + core.itemCount('blueKey') + '/' + core.itemCount('redKey') + '/' + core.itemCount('greenKey')], ['钥匙', core.itemCount('yellowKey') + '/' + core.itemCount('blueKey') + '/' + core.itemCount('redKey') + '/' + core.itemCount('greenKey')],
['金币', (hero.money < 0 ? '\r[red]' : '') + hero.money + '\r'], ['钥匙', core.itemCount('whiteKey') + '/' + core.itemCount('I422') + '\r'],
['亲密度', ''], ['亲密度', ''],
['神之血', ''], ['神之血', ''],
['琼浆玉露', ''], ['琼浆玉露', ''],
['金币', ''], ['金币', hero.money],
] ]
var text2 = [ var text2 = [
//['等级', '下级' + leveltext[hero.lv - 1][1]], //['等级', '下级' + leveltext[hero.lv - 1][1]],
//['经验', '积累达到最大时角色升级'], //['经验', '积累达到最大时角色升级'],
['生命上限', '玩家最多拥有的生命'], ['限', '玩家最多拥有的生命'],
['生命', '生命不足时游戏结束'], ['生命', '生命不足时游戏结束'],
['攻击', '影响角色每次普攻伤害'], ['攻击', '影响角色每次普攻伤害'],
['防御', '影响角色受到攻击的直接减伤'], ['防御', '影响角色受到攻击的直接减伤'],
['护盾', '每次战斗会抵挡伤害'], ['护盾', '每次战斗会抵挡伤害'],
['魔量', '用于施放技能的消耗'], ['魔量', '用于施放技能的消耗'],
['钥匙', '用于开启黄/蓝/红/绿门'], ['钥匙', '用于开启黄/蓝/红/绿门'],
['金币', '用于商店购买的货币'], ['钥匙', '用于开启白/黑门'],
['亲密度', '和圣骑士、准圣子、圣女亲密度'], ['亲密度', '和圣骑士、准圣子、圣女亲密度'],
['神之血', '按生命上限一定比例回血'], ['神之血', '增加生命上限一定比例的生命'],
['琼浆玉露', '按生命上限一定比例回血'], ['琼浆玉露', '增加生命上限一定比例的生命'],
['金币', ''], ['金币', '用于商店购买的货币'],
] ]
core.setFilter(ctx, 'hue-rotate(' + (col || 0) + 'deg)grayscale(' + (gry || 0) + '%)') core.setFilter(ctx, 'hue-rotate(' + (col || 0) + 'deg)grayscale(' + (gry || 0) + '%)')
@ -3223,7 +3252,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
core.mystatusNumber(ctx, 'hp', null, 48 + 22, 16 + 22, 250); core.mystatusNumber(ctx, 'hp', null, 48 + 22, 16 + 22, 250);
} else { } else {
core.mystatusNumber(ctx, 'hpmax', null, 80, 100, 160); core.mystatusNumber(ctx, 'hpmax', null, 80, 100, 160);
core.mystatusNumber(ctx, 'hp', null, 80 + 22, 122, 250); core.mystatusNumber(ctx, 'hp', null, 80 + 12, 122, 250);
} }
var need = core.firstData.levelUp[core.status.hero.lv].need; var need = core.firstData.levelUp[core.status.hero.lv].need;
core.drawImage(ctx, 'manaLt.png', 0, 0, 128 * hero.hp / hero.hpmax, 32, 60 - 16 + 4, 142, 128 * hero.hp / hero.hpmax, 32) core.drawImage(ctx, 'manaLt.png', 0, 0, 128 * hero.hp / hero.hpmax, 32, 60 - 16 + 4, 142, 128 * hero.hp / hero.hpmax, 32)
@ -3231,7 +3260,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
//状态 //状态
var heroStatus = ['atk', 'mdef', 'key1'] var heroStatus = ['atk', 'mdef', 'key1']
var Scol = [140, 280, 180] var Scol = [140, 280, 180]
var heroStatus2 = ['def', 'mana', 'money'] var heroStatus2 = ['def', 'mana', 'key2']
var Scol2 = [0, 20, 180, 0] var Scol2 = [0, 20, 180, 0]
if (core.domStyle.isVertical) { if (core.domStyle.isVertical) {
for (var i in heroStatus2) for (var i in heroStatus2)
@ -3260,6 +3289,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
//钥匙/金币 //钥匙/金币
core.mystatusNumber(ctx, 'potion1', null, 48 + 256, 16, 180); core.mystatusNumber(ctx, 'potion1', null, 48 + 256, 16, 180);
core.mystatusNumber(ctx, 'potion2', null, 48 + 256 + 22, 16 + 22, 300); core.mystatusNumber(ctx, 'potion2', null, 48 + 256 + 22, 16 + 22, 300);
core.mystatusNumber(ctx, 'money', null, 48 + 128 + 22, 16 + 22, 180);
} }
else { else {
core.mystatusNumber(ctx, 'shengqishi', null, 80 + 152 + 422, 122, 120); core.mystatusNumber(ctx, 'shengqishi', null, 80 + 152 + 422, 122, 120);

View File

@ -166,8 +166,8 @@
} }
#floorMsgGroup { #floorMsgGroup {
top: 3px; top: 0px;
right: 3px; right: 0px;
position: absolute; position: absolute;
text-align: center; text-align: center;
display: none; display: none;
@ -243,7 +243,7 @@
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
display: none; display: none;
padding: 3px; padding: 0px;
} }
#toolBar .tools{ #toolBar .tools{
position: relative; position: relative;