Acore_eventScripts
Acore_eventScripts copied to clipboard
boss scripts outside this repo
There should be a config flag to allow any kind of scripts for the spawned enemy and not force the Lua scripts on them. That way it would be possible to add a custom NPC with SQL and a dedicated Lua, SAI, or .cpp boss script.
Note that this seems arguably impossible with the current Eluna module. The Lua logic can not request creature events like start combat or OnDeath without wiping SAI. And a C++ script applied to a creature will stop the Eluna AI from working.
Eluna is designed in a way that forces one AI exclusively.