Open GoogleCodeExporter opened 8 years ago
Updated patch. It's now actually tested (what a novelty, eh?) and using
rijackson741's more accurate formula
(http://www.andorstrail.com/viewtopic.php?f=4&t=4401#p44293)
Original comment by danielth...@pobox.com
on 29 Nov 2013 at 2:59
fuck! google's crappy issue tracker removed my attachment, trying again :(
Original comment by danielth...@pobox.com
on 29 Nov 2013 at 2:59
Attachments:
ok, so this patch is still not perfect. It will only do a respawn once per
spawn area. I'm going to propose in the forums changing spawns so that the time
of respawn (in world ticks) is decided at the time monsters die, which should
simplify this a lot as well as save a lot of calls to System.getCurrentMillis()
(which always results in a system call that forces the kernel to talk to the
clock hardware) and will also reduce the use of Random.nextInt().
Original comment by danielth...@pobox.com
on 8 Dec 2013 at 1:51
Original issue reported on code.google.com by
danielth...@pobox.com
on 29 Nov 2013 at 12:18Attachments: