修复低难度中毒、手机开始游戏后全屏

This commit is contained in:
爱的天使Erdnase 2023-06-25 19:52:54 +08:00
parent 1918e8aa87
commit 79abd16014
2 changed files with 4 additions and 1 deletions

View File

@ -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');
}
// 衰弱

View File

@ -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 {