![]() |
|
|
|
#1
|
|||
|
There are plenty of people reading this that know how it works, but I don't. I think the spawn is determined from the moment the mob dies with a /random generated number, and is therefore set. This number or time is then accessible by a GM with a command, like /spawntimer #. I'm also sure extended windows screws some of this up and it is re-randomed at the end of the window. But, like I said, I don't know... these are guesses. Jeremy, Loly, etc would know (or a P99 coder if they can share).
| ||
|
Last edited by Raavak; 12-23-2013 at 03:00 PM..
|
|
||
|
#2
|
|||||
|
Quote:
Code:
int respawn_ticks(base, variance)
{
int window = random(0, variance);
if(variance-window < ONE_DAY && random(0, 100) > 75)
return respawn_ticks(base+window, ONE_DAY);
else
return base+window;
}
__________________
Raev | Loraen | Sakuragi <The A-Team> | Solo Artist Challenge | Farmer's Market
Quote:
| ||||
|
|
|||||
![]() |
|
|