View Single Post
  #1  
Old 06-23-2010, 09:53 AM
szalab
Fire Beetle
 
Join Date: Oct 2009
Posts: 13
Default creating a chance to spawn multiple bosses at once (simulating a server resest)

Not sure if this is doable (I think it is) so I'm asking here first.

So the idea is to simulate a server reset without actually restarting the server or anything like that. Lets use Naggy, Vox, CT and Inny for example. They are already using code for spawn variance, we just want them to all spawn at the same time every once in a while, (as if the server was reset that day).

The script would go something like this (forgive me for not knowing the syntax):

All 4 raid bosses would have this code attached to them:

When raid boss X spawns the script starts
If script is in cooldown cycle it, the script ends.
Script checks to see if any of the other three bosses are up.
If not, then
Script does a random roll 1-6
If the number = 6, then the script spawns the other 3 raid bosses.
AND the script goes into a 6 day cooldown cycle.

(if the number does not equal 6 then the script will run again the next time one of the raid bosses spawns.)

Is this script doable?
And could somebody show me roughly what it would look like?
Reply With Quote