From fae19ab37b162291fa51308d96ef152c65b7316c Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Thu, 4 Mar 2021 13:50:19 -0700 Subject: [PATCH] Allow monsters to pass through chips in order to kill a player --- js/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/game.js b/js/game.js index 4872ebc..f9e45df 100644 --- a/js/game.js +++ b/js/game.js @@ -59,7 +59,7 @@ export class Tile { // Extremely awkward special case: items don't block monsters if the cell also contains an // item modifier (i.e. "no" sign) or a real player // TODO would love to get this outta here - if (this.type.is_item) { + if (this.type.is_item || this.type.is_chip) { let item_mod = this.cell.get_item_mod(); if (item_mod && item_mod.type.item_modifier) return false;