mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-31 23:29:27 +08:00
fix: 切楼层触发器失效
This commit is contained in:
parent
b06c346b56
commit
0611b1864d
@ -375,7 +375,9 @@ const enum HeroMoveCode {
|
|||||||
/** 不能移动,并撞击前面一格的图块,触发其触发器 */
|
/** 不能移动,并撞击前面一格的图块,触发其触发器 */
|
||||||
Hit,
|
Hit,
|
||||||
/** 不能移动,同时当前格有CannotOut,或目标格有CannotIn,不会触发前面一格的触发器 */
|
/** 不能移动,同时当前格有CannotOut,或目标格有CannotIn,不会触发前面一格的触发器 */
|
||||||
CannotMove
|
CannotMove,
|
||||||
|
/** 进入传送门 */
|
||||||
|
Portal
|
||||||
}
|
}
|
||||||
|
|
||||||
export class HeroMover extends ObjectMoverBase {
|
export class HeroMover extends ObjectMoverBase {
|
||||||
|
@ -184,7 +184,7 @@ export function init() {
|
|||||||
return _executeCallback();
|
return _executeCallback();
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
core.status.automaticRoute.moveDirectly = false;
|
core.status.automaticRoute.moveDirectly = false;
|
||||||
this.doSystemEvent(trigger, block);
|
this.doSystemEvent(trigger, block, core.doAction);
|
||||||
}
|
}
|
||||||
return _executeCallback();
|
return _executeCallback();
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user