mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-18 13:24:30 +08:00
feat: 几个新楼层
This commit is contained in:
1 parent
ac8a61558e
commit
c7f7cf280b
15 files changed
+373
-303
No files matched your search
@@ -514,7 +514,10 @@ export function init() {
|
||||
time: number = 500,
|
||||
callback?: () => void
|
||||
) {
|
||||
console.log(heroMover.moving);
|
||||
|
||||
if (heroMover.moving) return;
|
||||
|
||||
const sx = core.getHeroLoc('x');
|
||||
const sy = core.getHeroLoc('y');
|
||||
adapters.viewport?.all('mutateTo', ex, ey);
|
||||
@@ -539,6 +542,7 @@ export function init() {
|
||||
);
|
||||
})
|
||||
);
|
||||
console.log(ex, ey);
|
||||
|
||||
if (!locked) core.unlockControl();
|
||||
core.setHeroLoc('x', ex);
|
||||
|
||||
Reference in new issue
Block a user