Merge branch 'noAnimate' of https://gitea.mota.press/bdf1/tianta into noAnimate

This commit is contained in:
爱的天使Erdnase 2023-03-16 16:49:40 +08:00
commit dfe4abf9a2
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ project/animates/
_docs/ _docs/
常用工具/ 常用工具/
/.vs /.vs
_server/config.json

View File

@ -3699,7 +3699,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
} }
this.autoBattle = function () { this.autoBattle = function () {
if (!flags.__autoBattle__) return; if (!flags.__autoBattle__ || flags.poison) return;
// 如果勇士当前点有地图伤害,只清周围 // 如果勇士当前点有地图伤害,只清周围
const { x, y } = core.status.hero.loc; const { x, y } = core.status.hero.loc;
const floor = core.floors[core.status.floorId]; const floor = core.floors[core.status.floorId];
@ -3829,7 +3829,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
} }
this.autoGetItem = function () { this.autoGetItem = function () {
if (!flags.__autoGetItem__) return; if (!flags.__autoGetItem__ || flags.poison) return;
var canGetItems = {}; var canGetItems = {};
if (!core.status.floorId || !core.status.checkBlock.damage || core.status.event.id == 'action' || core.status.lockControl) return; if (!core.status.floorId || !core.status.checkBlock.damage || core.status.event.id == 'action' || core.status.lockControl) return;