In Lynx update mode, only tick an actor's cooldown after an extra move if that move succeeded
This commit is contained in:
parent
d10cba7935
commit
a2914cc291
@ -1363,7 +1363,9 @@ export class Level extends LevelInterface {
|
|||||||
attempt_out_of_turn_step(actor, direction) {
|
attempt_out_of_turn_step(actor, direction) {
|
||||||
if (this.compat.use_lynx_loop) {
|
if (this.compat.use_lynx_loop) {
|
||||||
let success = this._do_actor_movement(actor, direction);
|
let success = this._do_actor_movement(actor, direction);
|
||||||
this._do_actor_cooldown(actor, this.compat.emulate_60fps ? 1 : 3);
|
if (success) {
|
||||||
|
this._do_actor_cooldown(actor, this.compat.emulate_60fps ? 1 : 3);
|
||||||
|
}
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user