Allow players to turn in traps
This commit is contained in:
parent
f511e2ecb9
commit
090ba24062
@ -386,8 +386,7 @@ export class Level {
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
// XXX does the cooldown drop while in a trap? is this even right?
|
// XXX does the cooldown drop while in a trap? is this even right?
|
||||||
// TODO should still attempt to move (so chip turns), just will be stuck (but wait, do monsters turn? i don't think so)
|
if (actor.stuck && ! actor.type.is_player)
|
||||||
if (actor.stuck)
|
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Teeth can only move the first 4 of every 8 tics, though "first"
|
// Teeth can only move the first 4 of every 8 tics, though "first"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user