Even more charsheet goodness and birthdays and dates

This commit is contained in:
Eric Fredricksen
2010-07-06 00:25:03 -07:00
parent 3dc59c774c
commit 8b04760309
3 changed files with 9 additions and 7 deletions
+3 -1
View File
@@ -142,7 +142,9 @@ function sold() {
name: $("#Name").val(),
race: $("input:radio[name=Race]:checked").val(),
'class': $("input:radio[name=Class]:checked").val(),
seed: stats.seed
seed: stats.seed,
birthday: ''+new Date(),
birthstamp: +new Date();
};
$.each('STR,CON,DEX,INT,WIS,CHA'.split(','), function (index,value) {
newguy[value] = stats[value];