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 {