fix: 解决不拿怪物手册报错

This commit is contained in:
AncTe committed 2023-09-29 17:53:42 +08:00
1 parent 02e2934b9a
commit 17633b094d
4 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ core.control.updateDamage = function (floorId = core.status.floorId, ctx) {
const floor = core.status.maps[floorId];
// 没有怪物手册
if (!core.hasItem('book')) return;
// if (!core.hasItem('book')) return;
core.status.damage.posX = core.bigmap.posX;
core.status.damage.posY = core.bigmap.posY;
if (!onMap) {