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