Skip to content

Commit

Permalink
make the dates for bogus games fall within next year's tournament dates
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan K committed Dec 28, 2011
1 parent 0a337a3 commit 0453146
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Rakefile.rb
Expand Up @@ -93,7 +93,7 @@
:deathlev => rand(30) + 1,
:realtime => rand(10000) + 10000,
:turns => rand(1000) + 200,
:birthdate => (Time.now - 100000).strftime("%Y%m%d"),
:birthdate => Time.utc(2012, 6, 2).strftime("%Y%m%d"),
:conduct => rand(4096), #some bitmask (wrong)
:nconducts => rand(12), #as of now, does not match with the 'conduct' property
:role => %w(Arc Bar Cav Hea Kni Mon Pri Ran Rog Sam Tou Val Wiz)[rand 13],
Expand All @@ -103,12 +103,12 @@
:uid => 5, #dunno what that does
:maxhp => rand(250) + 10,
:points => rand(350000),
:deathdate => (Time.now - 50000).strftime("%Y%m%d"),
:deathdate => Time.utc(2012, 6, 3).strftime("%Y%m%d"),
:version => "3.4.3",
:align => align,
:align0 => align,
:starttime => Time.now.to_i - 100000, #too lazy for realistic values...
:endtime => Time.now.to_i - 50000,
:starttime => Time.utc(2012, 6, 2).to_i, #too lazy for realistic values...
:endtime => Time.utc(2012, 6, 3).to_i,
:achieve => rand(4096), #wrong here, too lazy
:hp => death == "ascended" ? rand(250) + 10 : rand(10) - 10,
:maxlvl => rand(57),
Expand Down

0 comments on commit 0453146

Please sign in to comment.