Why don't you just handle the entire spawn cycle with the controller?
You're already basically doing it. Have the timer setup so that it runs through a timer chain:
timer1 18 mins, spawns random mob, signals controller, starts timer 2
timer2 18 mins, spawns random mob, signals controller, starts timer 3
timer3 18 mins, guaranteed executioner, starts timer 1
The caveat is that if an executioner spawns in timer1 or timer2 it signals the controller to stop the current timer and restart at timer 1.
Don't have time to write out the code but you get the idea. This would be easy to copy and paste for multiple NPCs / controllers.
|