X-Git-Url: https://jasonwoof.com/gitweb/?p=hexbog.git;a=blobdiff_plain;f=main.coffee;fp=main.coffee;h=d33d36a7041be52d689144c1d507495819307383;hp=ce6798339a857547f1eec057cdb9faf624060ed2;hb=32b466cfdc03c35348fbb64ac4ad45d63a322720;hpb=6efb82ed2f52b2567a7e7c5d42ff0ea4c3b3a615 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)