Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
55Honey opened this issue Sep 26, 2022 · 0 comments
Open

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

55Honey opened this issue Sep 26, 2022 · 0 comments

Comments

@55Honey
Copy link
Owner

55Honey commented Sep 26, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant