From 79abd1601409d9688be8dc346927f5433b3c125f Mon Sep 17 00:00:00 2001 From: Erdnase <1398341065@qq.com> Date: Sun, 25 Jun 2023 19:52:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BD=8E=E9=9A=BE=E5=BA=A6?= =?UTF-8?q?=E4=B8=AD=E6=AF=92=E3=80=81=E6=89=8B=E6=9C=BA=E5=BC=80=E5=A7=8B?= =?UTF-8?q?=E6=B8=B8=E6=88=8F=E5=90=8E=E5=85=A8=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/functions.js | 2 +- project/plugins.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/project/functions.js b/project/functions.js index 4208b9c..2c514c8 100644 --- a/project/functions.js +++ b/project/functions.js @@ -339,7 +339,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = if (!core.getFlag("isNoTip")) core.drawTip(hint, enemy.id); // 中毒 - if (core.enemys.hasSpecial(special, 12)) { + if (core.enemys.hasSpecial(special, 12) && (flags.hard !== 1 && flags.hard !== 5)) { core.triggerDebuff('get', 'poison'); } // 衰弱 diff --git a/project/plugins.js b/project/plugins.js index e20bf20..8d557a4 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -3,6 +3,9 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = "init": function () { this._afterLoadResources = function () { // 本函数将在所有资源加载完毕后,游戏开启前被执行 + if (!core.platform.isPC) { + document.body.requestFullscreen(); + } } if (!core.platform.isPC) { try {