From 957637771616c31ee6ff50dae0fadac9ff9fb55c Mon Sep 17 00:00:00 2001 From: egamerainy <1336237126@qq.com> Date: Thu, 11 Sep 2025 23:03:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=92=E8=89=B2=E5=B9=B3=E8=A1=A1=E6=80=A7?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/functions.js | 14 ++++++-------- project/plugins.js | 23 ++++++++++++----------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/project/functions.js b/project/functions.js index 60a547a..63df430 100644 --- a/project/functions.js +++ b/project/functions.js @@ -530,9 +530,6 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = hero.statistics.money += damageInfo.mark ?? 0 if (damage % 6 === 0 && damage > 0) hero.money += 6 } - if (hero.name === "璐璐") { - if (damage > flags.ratio * 3 * flags.health.count && hero.ActiveCD > 0) hero.ActiveCD-- - } if (hero.name === "阿兰娜") { if (damage === 0 && flags.CharacterDEF < 80 * flags.ratio) flags.CharacterDEF = Math.min(flags.CharacterDEF + flags.ratio, 80 * flags.ratio) if (damage > 0) flags.CharacterDEF = Math.max(flags.CharacterDEF - damage, 0) @@ -1076,8 +1073,8 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = if (core.hasItem("AdrenalineR") && hero_hp <= 125 * flags.ratio) hero_atk += 30 * flags.ratio //肾上腺素-一般 if (core.hasItem("AdrenalineH") && hero_hp <= 125 * flags.ratio) hero_atk += 80 * flags.ratio //肾上腺素-高效 if (core.hasItem("StarCoinHammer2") && flags.star.level > 34) hero_atk += Math.min(Math.floor(hero_money * flags.ratio / (flags.MapStatus?.Map === "魔法学院" ? 1000 : 100)), 1000 * flags.ratio) //星币锤 - if (core.hasItem("UtilityKnifeB2") && hero_hp >= 1000 * flags.ratio) hero_atk += flags.health.count //美工刀A - if (core.hasItem("UtilityKnifeS2") && hero_hp >= 800 * flags.ratio) hero_atk += flags.health.count //美工刀B + if (core.hasItem("UtilityKnifeB2") && hero_hp >= 1000 * flags.ratio) hero_atk += Math.sqrt(flags.health.count*flags.ratio**0.5) //美工刀A + if (core.hasItem("UtilityKnifeS2") && hero_hp >= 800 * flags.ratio) hero_atk += Math.sqrt(flags.health.count*flags.ratio**0.5) //美工刀B if (core.hasItem("FlashlightS2")) hero_atk += Math.floor(flags.star.level * Math.sqrt(flags.ratio)) //手电筒-爆闪 if (core.hasItem("NormalSight") && (!core.hasSpecial(mon_special, 30))) { mon_mark += 2 @@ -1088,9 +1085,10 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = hero_def += mon_mark * flags.ratio * 2 } //鹰眼瞄具 if (core.status.hero.name === "帕帕拉") hero_atk += Math.floor(hero_hp / 300) //帕帕拉被动技能 - if (core.status.hero.name === "娜蒂斯") hero_atk += core.status.hero.myCard.length * flags.ratio //娜蒂斯被动技能 - if (flags.KingsPower) hero_atk += 15 * flags.ratio - if (flags.Immovable) hero_def += 15 * flags.ratio + else if (core.status.hero.name === "娜蒂斯") hero_atk += core.status.hero.myCard.length * flags.ratio //娜蒂斯被动技能 + else if (core.status.hero.name === "璐璐")hero_atk += Math.sqrt(flags.health.count*flags.star**0.5) //璐璐被动技能 + if (flags.KingsPower) hero_atk += 15 * flags.ratio //王之力 + if (flags.Immovable) hero_def += 15 * flags.ratio //岿然不动 if (core.hasItem("BufferShieldR2")) hero_mdef += Math.floor(core.getRealStatusOrDefault(hero, 'def') * (flags.health.count + 1) / (15 * flags.ratio)) //缓冲盾牌-一般 ATKbet += flags.cardFATK + flags.Trident DEFbet += flags.cardFDEF + flags.Trident diff --git a/project/plugins.js b/project/plugins.js index 9d984ef..935dc6d 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -278,6 +278,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = core.ele.push(a)*/ if (!main.replayChecking && !core.isReplaying()) + core.startUpdate() Promise.all([document.fonts.load("24px STHUPO"), document.fonts.load("16px cjk")]).then(core.startUpdate) }; class JsonCrypto { @@ -3106,11 +3107,12 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = if (core.hasItem("AdrenalineH")) ATK += 80 * flags.ratio } if (core.hasItem("StarCoinHammer2") && flags.star.level > 34) ATK += Math.min(Math.floor(hero.money * flags.ratio / (flags.MapStatus?.Map === "魔法学院" ? 1000 : 100)), 1000 * flags.ratio) - if (core.hasItem("UtilityKnifeB2") && hero.hp >= 1000 * flags.ratio) ATK += flags.health.count - if (core.hasItem("UtilityKnifeS2") && hero.hp >= 800 * flags.ratio) ATK += flags.health.count + if (core.hasItem("UtilityKnifeB2") && hero.hp >= 1000 * flags.ratio) ATK += Math.sqrt(flags.health.count*flags.ratio**0.5) + if (core.hasItem("UtilityKnifeS2") && hero.hp >= 800 * flags.ratio) ATK += Math.sqrt(flags.health.count*flags.ratio**0.5) if (core.hasItem("FlashlightS2")) ATK += Math.floor(flags.star.level * Math.sqrt(flags.ratio)) if (core.status.hero.name === "帕帕拉") ATK += Math.floor(core.getRealStatus("hp") / 300) - if (core.status.hero.name === "娜蒂斯") ATK += core.status.hero.myCard.length * flags.ratio + else if (core.status.hero.name === "娜蒂斯") ATK += core.status.hero.myCard.length * flags.ratio + else if (core.status.hero.name === "璐璐") ATK += Math.sqrt(flags.health.count*flags.ratio**0.5) if (flags.KingsPower) ATK += 15 * flags.ratio ATKbet += flags.cardFATK + flags.Trident * 3 if (core.hasItem("RevengeHalberd")) ATKbet += Math.floor(hero.statistics.battleDamage / 1000) @@ -12113,7 +12115,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = hero.hp += 400; } }, - ActiveSkill: `CD70,吸收一只可被炸的怪物,回复其5倍攻防和的\\i[hp]并将其40%攻防用于下一场战斗`, + ActiveSkill: `CD70,吸收一只可被炸的怪物,回复其4倍攻防和的\\i[hp]并将其40%攻防用于下一场战斗`, ActiveSkillCD: 70, Active: function () { core.lockControl() @@ -12137,7 +12139,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = core.status.hero.money += money; flags.cardATK += Math.floor(core.getEnemyInfo(enemy, void 0, tx, ty).atk * 2 / 5) flags.cardDEF += Math.floor(core.getEnemyInfo(enemy, void 0, tx, ty).def * 2 / 5) - core.status.hero.hp += (core.getEnemyInfo(enemy, void 0, tx, ty).atk + core.getEnemyInfo(enemy, void 0, tx, ty).def) * 5 + core.status.hero.hp += (core.getEnemyInfo(enemy, void 0, tx, ty).atk + core.getEnemyInfo(enemy, void 0, tx, ty).def) * 4 core.push(todo, enemy.afterBattle); core.push(todo, core.floors[core.status.floorId].afterBattle[tx + "," + ty]) delete((flags.enemyOnPoint || {})[core.status.floorId] || {})[tx + "," + ty]; @@ -12434,8 +12436,8 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = hero.hp += 400; } }, - ActiveSkill: `CD60,在接下来的战斗中,每场战斗结束后\\i[BuffHealth]+3`, - ActiveSkillCD: 60, + ActiveSkill: `CD55,在接下来的战斗中,每场战斗结束后\\i[BuffHealth]+3`, + ActiveSkillCD: 55, Active: function () { core.lockControl() flags.health.upbuff += 3 @@ -12444,9 +12446,9 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = core.playSound("Lulu.mp3") core.afterSkill() }, - PassiveSkill: `受到的伤害>3×\\i[stars]×\\i[BuffHealth]时,技能冷却-1`, + PassiveSkill: `\\i[atk]提升\\i[BuffHealth]×\\i[stars]的算术平方根`, Passive: function () {}, - PassiveTime: ["afterBattle"] + PassiveTime: [] } Character.枫 = { name: "枫", @@ -13137,7 +13139,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = hero.hp += 400; } }, - ActiveSkill: `CD40,丢弃所有\\i[card]并耗尽\\i[cost],对本楼所有可被炸的怪物造成\\i[card]的\\i[cost]总和×消耗的\\i[cost]×(\\i[stars]的算术平方根)伤害`, + ActiveSkill: `CD40,丢弃所有\\i[card]并耗尽\\i[cost],对本楼所有怪物造成\\i[card]的\\i[cost]总和×消耗的\\i[cost]×(\\i[stars]的算术平方根)伤害`, ActiveSkillCD: 40, Active: function () { core.lockControl() @@ -13159,7 +13161,6 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = enemys.forEach(v => { const id = core.getBlockId(v[0], v[1]) const z = core.material.enemys[id] - if (z.notBomb) return core.setEnemyOnPoint(v[0], v[1], void 0, "hp", AOEdamage, "-=") if (core.getEnemyInfo(id, void 0, v[0], v[1]).hp <= 0) { let money = core.getEnemyInfo(id, void 0, v[0], v[1]).money