From: Jason Woofenden Date: Mon, 4 Nov 2013 01:41:12 +0000 (-0500) Subject: new tiles get at least 4 hp X-Git-Url: https://jasonwoof.com/gitweb/?p=hexbog.git;a=commitdiff_plain;h=32b466cfdc03c35348fbb64ac4ad45d63a322720 new tiles get at least 4 hp --- diff --git a/main.coffee b/main.coffee index ce67983..d33d36a 100644 --- a/main.coffee +++ b/main.coffee @@ -442,7 +442,7 @@ select_tile = (num) -> new_tile = (num, x, y) -> letter = new_letter() - hp = 1 + Math.floor(Math.random() * (HP_MAX - 1)) + hp = 4 + Math.floor(Math.random() * (HP_MAX - 4)) html_tile = $("
#{letter}
") $board.append(html_tile)