mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-16 20:24:31 +08:00
feat: 苍蓝之殿北区调整
This commit is contained in:
1 parent
c142cfca88
commit
b911cde822
28 files changed
+189
-255
No files matched your search
@@ -116,7 +116,7 @@ function checkHunt(loc: string) {
|
||||
|
||||
for (const [x, y, dir] of hunt) {
|
||||
const [tx, ty] = ofDir(x, y, dir);
|
||||
if (core.noPass(tx, ty)) continue;
|
||||
if (core.getBlock(tx, ty)) continue;
|
||||
action.push(
|
||||
{
|
||||
type: 'move',
|
||||
|
||||
@@ -313,7 +313,7 @@ export function init() {
|
||||
const animate = fallbackIds++;
|
||||
core.animateFrame.lastAsyncId = animate;
|
||||
core.animateFrame.asyncId[animate] = cb;
|
||||
this._openDoor_animate(block, x, y, callback);
|
||||
// this._openDoor_animate(block, x, y, callback);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -518,8 +518,6 @@ export function init() {
|
||||
time: number = 500,
|
||||
callback?: () => void
|
||||
) {
|
||||
console.log(heroMover.moving);
|
||||
|
||||
if (heroMover.moving) return;
|
||||
|
||||
const sx = core.getHeroLoc('x');
|
||||
@@ -546,7 +544,6 @@ export function init() {
|
||||
);
|
||||
})
|
||||
);
|
||||
console.log(ex, ey);
|
||||
|
||||
if (!locked) core.unlockControl();
|
||||
core.setHeroLoc('x', ex);
|
||||
|
||||
@@ -181,7 +181,7 @@ export const skills: Record<Chapter, Skill[]> = {
|
||||
level > 5 ? 100 * level ** 2 : 250 * level + 1250,
|
||||
front: [[10, 3]],
|
||||
loc: [4, 5],
|
||||
max: 20,
|
||||
max: 10,
|
||||
effect: level => [`增加${level * 2}%的血瓶回血量`]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user