From 52864487257b96d4cc38bcc086cd41868d7be117 Mon Sep 17 00:00:00 2001 From: bdf1 Date: Tue, 20 Aug 2024 15:49:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E8=A1=A1=E4=BA=86=E7=94=9F=E5=91=BD?= =?UTF-8?q?=E5=8D=B7=E8=BD=B4=E3=80=81=E9=AD=94=E5=8A=9B=E5=8D=B7=E8=BD=B4?= =?UTF-8?q?=E6=95=88=E6=9E=9C=EF=BC=9B=E5=95=86=E5=BA=97=E4=B9=B0=E7=90=BC?= =?UTF-8?q?=E6=B5=86=E5=9C=A3=E6=B0=B4=E4=BB=B7=E6=A0=BC=E4=BC=9A=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/data.js | 30 +++++++++++++++++++++--------- project/floors/DL3.js | 10 +++++----- project/floors/NH10.js | 4 ++-- project/floors/NH6.js | 6 +++--- project/floors/ZH1.js | 4 ++-- project/functions.js | 4 ++-- project/items.js | 6 +++--- 7 files changed, 38 insertions(+), 26 deletions(-) diff --git a/project/data.js b/project/data.js index e65f709..d5609b7 100644 --- a/project/data.js +++ b/project/data.js @@ -1731,19 +1731,25 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = ] }, { - "text": "琼浆(200金币)", - "need": "status:money>=200", + "text": "琼浆(${flag:qiongjiang*200+200}金币)", + "need": "status:money>=flag:qiongjiang*200+200", "icon": "I415", "action": [ { "type": "comment", "text": "新版商店中需要手动扣减金币和增加访问次数" }, + { + "type": "setValue", + "name": "flag:qiongjiang", + "operator": "+=", + "value": "1" + }, { "type": "setValue", "name": "status:money", "operator": "-=", - "value": "200" + "value": "200*flag:qiongjiang" }, { "type": "setValue", @@ -1754,19 +1760,25 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = ] }, { - "text": "玉露(400金币)", - "need": "status:money>=400", + "text": "玉露(${flag:yulu*400+400}金币)", + "need": "status:money>=flag:yulu*400+400", "icon": "I416", "action": [ { "type": "comment", "text": "新版商店中需要手动扣减金币和增加访问次数" }, + { + "type": "setValue", + "name": "flag:yulu", + "operator": "+=", + "value": "1" + }, { "type": "setValue", "name": "status:money", "operator": "-=", - "value": "400" + "value": "400*flag:yulu" }, { "type": "setValue", @@ -1937,7 +1949,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "disablePreview": false, "choices": [ { - "text": "光明之钥(2000魔力)", + "text": "光明之钥[${item:whiteKey}](2000魔力)", "need": "status:mana>=2000", "icon": "whiteKey", "color": [ @@ -1966,7 +1978,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = ] }, { - "text": "黑暗之钥(8000魔力)", + "text": "黑暗之钥[${item:I422}](8000魔力)", "need": "status:mana>=8000", "icon": "I422", "color": [ @@ -1996,7 +2008,7 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = ] }, { - "text": "黑暗之钥(2000魔力)", + "text": "黑暗之钥[${item:I422}](2000魔力)", "need": "status:mana>=2000", "icon": "I422", "color": [ diff --git a/project/floors/DL3.js b/project/floors/DL3.js index 98726f1..0da1a04 100644 --- a/project/floors/DL3.js +++ b/project/floors/DL3.js @@ -60,10 +60,10 @@ main.floors.DL3= 6 ] }, - "\t[唐佳成,N510]\b[this,7,6]啊这……殿下,你真的确定此事是图毅所做吗", + "\t[${flag:shengqishi_name},N510]\b[this,7,6]啊这……殿下,你真的确定此事是图毅所做吗", "\t[莫析辉,hero]\b[hero]哼,能做到这一点的,教皇爷爷、大长老、黑暗教皇都可以,但是他们会做吗?我能想到的只有东凌皇室、北寒皇室、北纳家族一起做的", "\t[凌依,N574]\b[this,5,6]殿下说的是,大长老还硬说北纳家族没有参与,安撒和东方溪的对话,殿下可全听到了", - "\t[唐佳成,N510]\b[this,7,6]大长老是为了光明神殿考虑,不希望殿下与光明圣女内斗", + "\t[${flag:shengqishi_name},N510]\b[this,7,6]大长老是为了光明神殿考虑,不希望殿下与光明圣女内斗", "\t[莫析辉,hero]\b[hero]是我要内斗吗?是她!平日里就算了,如今竟然对莫析家族做出如此事,我定然不会放过她!", { "type": "animate", @@ -103,7 +103,7 @@ main.floors.DL3= ] ] }, - "\t[唐佳成,N510]\b[this,7,6]什么人!", + "\t[${flag:shengqishi_name},N510]\b[this,7,6]什么人!", { "type": "jump", "from": [ @@ -171,7 +171,7 @@ main.floors.DL3= "time": 500, "keep": true }, - "\t[唐佳成,N510]哪里走!", + "\t[${flag:shengqishi_name},N510]哪里走!", { "type": "turnBlock", "direction": "down", @@ -247,7 +247,7 @@ main.floors.DL3= }, "\t[芹宣,N466]\b[this,6,10]这是什么人!", "\t[莫析辉,hero]\b[this,6,4]定是图毅派来刺杀我的!快追!", - "\t[唐佳成,N510]\b[this,6,6]是!", + "\t[${flag:shengqishi_name},N510]\b[this,6,6]是!", { "type": "jump", "from": [ diff --git a/project/floors/NH10.js b/project/floors/NH10.js index dbfd9d7..3dcf1de 100644 --- a/project/floors/NH10.js +++ b/project/floors/NH10.js @@ -33,7 +33,7 @@ main.floors.NH10= "\t[莫析辉,hero]\b[hero]不过,这旁边这位是?", "\t[默默,N481]\b[this,5,1]哈哈,圣子哥哥不用忧心,这位叫唐佳成,是一位年轻有为的战士,正好可以帮帮我们呢!", "\t[莫析辉,hero]\b[hero]幸会幸会。", - "\t[唐佳成,N510]\b[this,5,3]嗯。", + "\t[${flag:shengqishi_name},N510]\b[this,5,3]嗯。", "\t[莫析辉,hero]\b[hero]……", "\t[莫析辉,hero]\b[hero](我是不是得罪过他)" ] @@ -52,7 +52,7 @@ main.floors.NH10= "\t[凌依,N574]\b[this,4,3]我和唐佳成就协助圣子殿下去对付北纳家族吧!", "\t[默默,N481]\b[this,5,1]凌依,唐佳成,你们二人一定要找到沂蒙贤和冷霜迪,不杀了他们二人,哼,圣子哥哥后面对上光明圣女没有胜算的!", "\t[凌依,N574]\b[this,4,3]是!", - "\t[唐佳成,N510]\b[this,5,3]是!", + "\t[${flag:shengqishi_name},N510]\b[this,5,3]是!", "\t[童轩,N641]\b[this,6,1]那北纳家族、沂蒙家族、冷霜家族都是北方苦寒之地,咱们这次行动,就叫“破冰行动”吧!", "\t[莫析辉,hero]\b[hero]好。", "\t[默默,N481]\b[this,5,1]有光明神殿两位圣子、南荒帝国大皇子、北寒帝国希娜公主、还有光明神殿骑士队长大人、加上几位守护骑士、还有我们夜馨公会的,必定马到成功!", diff --git a/project/floors/NH6.js b/project/floors/NH6.js index 3e11359..9fd6ceb 100644 --- a/project/floors/NH6.js +++ b/project/floors/NH6.js @@ -58,11 +58,11 @@ main.floors.NH6= "shadow": 0 }, "data": [ - "\t[唐佳成,N510]\b[this]殿下。", + "\t[${flag:shengqishi_name},N510]\b[this]殿下。", "\t[莫析辉,hero]\b[hero]怎么了?", - "\t[唐佳成,N510]\b[this]我总感觉,我们像是掉进了一个巨大的阴谋里面。你和光明圣女内斗,这件事,像是被人在背后一直推着走一样……", + "\t[${flag:shengqishi_name},N510]\b[this]我总感觉,我们像是掉进了一个巨大的阴谋里面。你和光明圣女内斗,这件事,像是被人在背后一直推着走一样……", "\t[莫析辉,hero]\b[hero]这不是阴谋,而是一个阳谋。即便我知道这是别人所设计的,但我依然要往里面跳的。灭门血仇,岂能不报?", - "\t[唐佳成,N510]\b[this]那么,殿下,这里是我所收集的1000金币……", + "\t[${flag:shengqishi_name},N510]\b[this]那么,殿下,这里是我所收集的1000金币……", { "type": "setValue", "name": "status:money", diff --git a/project/floors/ZH1.js b/project/floors/ZH1.js index 5e380c5..3ed115d 100644 --- a/project/floors/ZH1.js +++ b/project/floors/ZH1.js @@ -131,7 +131,7 @@ main.floors.ZH1= "你已经购买了此物" ], "false": [ - "魔力卷轴,购买价格5000金币,效果:击败敌人后额外获得6点魔力值。", + "魔力卷轴,购买价格5000金币,效果:击败敌人后额外获得敌人生命值4‱魔力值。", { "type": "choices", "text": "\t[魔力卷轴,I722]选择", @@ -192,7 +192,7 @@ main.floors.ZH1= "你已经购买了此物" ], "false": [ - "生命卷轴,购买价格5000金币,效果:击败敌人后额外获得1%最大生命值的生命。", + "生命卷轴,购买价格5000金币,效果:击败敌人后额外获得5‰最大生命值的生命。", { "type": "choices", "text": "\t[生命卷轴,I723]选择", diff --git a/project/functions.js b/project/functions.js index 57a129b..60a4978 100644 --- a/project/functions.js +++ b/project/functions.js @@ -418,7 +418,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = 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 } - if (core.hasEquip('I722')) { core.status.hero.mana += 6 } + if (core.hasItem('I722')) { core.status.hero.mana += damageInfo.mon_hp / 2500 } //回复生命值 // 事件的处理 var todo = []; @@ -911,7 +911,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = if (core.hasItem("I673")) { damage *= 1.1 } if (core.getFlag('skill', 0) == 3) { damage -= hero_def * 0.5 + hero_mdef * 0.2 + 50 } - if (core.hasEquip('I723')) { damage -= core.status.hero.hpmax * 0.01 } + if (core.hasEquip('I723')) { damage -= core.status.hero.hpmax / 200 } if (core.hasSpecial(mon_special, 28)) { var vampire_damage = (hero_hp - damage) / -5; diff --git a/project/items.js b/project/items.js index 0fdcf3d..4f29e88 100644 --- a/project/items.js +++ b/project/items.js @@ -2794,10 +2794,10 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "canUseItemEffect": "true" }, "I722": { - "cls": "equips", + "cls": "constants", "name": "魔力卷轴", "canUseItemEffect": "true", - "text": "战后恢复6点魔力值", + "text": "战后恢复敌人生命万分之四魔力值", "equip": { "type": "卷轴", "value": {}, @@ -2808,7 +2808,7 @@ var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = "cls": "equips", "name": "生命卷轴", "canUseItemEffect": "true", - "text": "战后恢复1%的最大生命值的生命", + "text": "战后恢复0.5%的最大生命值的生命", "equip": { "type": "卷轴", "value": {},