Acore_eventScripts icon indicating copy to clipboard operation
Acore_eventScripts copied to clipboard

Go for a full rewrite to get rid of all the spaghetti code

Open 55Honey opened this issue 3 years ago • 0 comments

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.

55Honey avatar Sep 26 '22 19:09 55Honey