diff --git a/www/js/game.js b/www/js/game.js index 95a2668..16cd51c 100644 --- a/www/js/game.js +++ b/www/js/game.js @@ -588,14 +588,17 @@ GAME.Game = class { let moves = piece.moves(); + let extent = true; + switch(moves.alt) { - /* Drop Once */ case 1: /* Drop Cone */ case 2: + extent = false; + /* Drop Once */ case 1: { // Check all tiles if not blocking. if(block_directions == 0) { for(let i = 0; i < GAME_DATA.board.tiles.length; ++i) { - if(this.placable_tile(piece, i, {check:false, extent:false})) { + if(this.placable_tile(piece, i, {check:false, extent:extent})) { tiles.push(new GAME.MovementTile(i, true, false, 0, 0)); } } @@ -620,7 +623,7 @@ GAME.Game = class { if(target_id !== null) { break; } - if(this.placable_tile(piece, tile_id, {check:false, extent:false})) { + if(this.placable_tile(piece, tile_id, {check:false, extent:extent})) { tiles.push(new GAME.MovementTile(tile_id, true, false, 0, 0)); } } else { break; }