mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-28 21:14:30 +08:00
fix: 解决不拿怪物手册报错
This commit is contained in:
1 parent
02e2934b9a
commit
17633b094d
4 files changed
+9
-9
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user