Acore_eventScripts
Acore_eventScripts copied to clipboard
Go for a full rewrite to get rid of all the spaghetti code
The looong events for creatures currently firing every 100ms with many chained IFs are very bad practice. It would be preferred to have a creature-related event per event/spell, which keeps self-registering.
Also, the current config/Ai code only allows for very specific scenarios. There should be more general blocks of code, which allow us to easily adjust the kind of action, similar to how SAI works in the core, just in a way smaller scope.