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

Add support to execute custom enemy battle action decision to improve the battle AI #221

Closed
Bertram25 opened this issue Aug 26, 2013 · 0 comments
Labels
Milestone

Comments

@Bertram25
Copy link
Member

Currently, the enemy are executing skills from a given list of skill ids.
This makes them very weird acting sometimes, like trying to cure themselves while one of their minions is dying, cast a spell that has no effect anymore, ...

The engine should be adapted to be able to execute an optional per monster custom script (with the fallback being the current behaviour) that will permit to decide the next action based on more custom options.

The script should have the following parameters, IMHO:
the enemy battle actor pointer, the heroes party vector, and the enemies party vector.

This would then permit to analyze the situation and trigger better a suitable skill from that script.

Bertram25 pushed a commit that referenced this issue Sep 3, 2013
I normally shouldn't work on this as I'm currently trying to release something
stable, yet, the player experience is so much better with custom AI that
it's worth the fact to add it now.

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

No branches or pull requests

1 participant