Ranieri Althoff
Ranieri Althoff
`onRaid` falls between `onTime` and `onInterval` here, it works as both. Yes it is possible to completely ditch `onRaid` and use just those two.
True that, I will fix it to use the Position constructor later. I will also patch the addSpawn function to allow another parameter, but I see it as removing clutter...
@EvilHero90 I agree with handling completely on Lua, but I couldn't figure how to use coroutines. Could you give me sample code for how you see raids?
This PR is (almost) on it's final form. I added a generic interface to search and force execute global events. I couldn't find an use to force execute startup, shutdown...
If that is, I don't know how much better this is than `addEvent`.
Rebased against master.
I still intend to keep it up to date and merge when possible. This alone shaves 20 seconds off the build time 😄 besides -800 line delta.
@WibbenZ working on it! Check the new stuff under tools/ 😄
Ok, gonna rebase it and fix compilation issues.
@djarek I added backwards compatibility for `Game.startRaid`.