diff --git a/.gitignore b/.gitignore index f14f426..c9b0865 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ project/bgms/ project/animates/ _docs/ 常用工具/ -/.vs \ No newline at end of file +/.vs +_server/config.json \ No newline at end of file diff --git a/project/plugins.js b/project/plugins.js index c064b9a..a0d544c 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -3699,7 +3699,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = } this.autoBattle = function () { - if (!flags.__autoBattle__) return; + if (!flags.__autoBattle__ || flags.poison) return; // 如果勇士当前点有地图伤害,只清周围 const { x, y } = core.status.hero.loc; const floor = core.floors[core.status.floorId]; @@ -3829,7 +3829,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = } this.autoGetItem = function () { - if (!flags.__autoGetItem__) return; + if (!flags.__autoGetItem__ || flags.poison) return; var canGetItems = {}; if (!core.status.floorId || !core.status.checkBlock.damage || core.status.event.id == 'action' || core.status.lockControl) return;