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

AI script hooks and on_damaged callback #49

Closed
Grokmoo opened this issue Aug 24, 2018 · 1 comment
Closed

AI script hooks and on_damaged callback #49

Grokmoo opened this issue Aug 24, 2018 · 1 comment
Milestone

Comments

@Grokmoo
Copy link
Owner

Grokmoo commented Aug 24, 2018

(1) The AI script should have the ability to specify callback functions just like an ability script can now. So that the AI can register a function to be called on attack, on defense, etc.

(2) Create an on_damaged callback that calls every time the parent is damaged, should include the attack information like on_defense does now. Should be callable from AI and ability scripts.

@Grokmoo Grokmoo added this to the 0.2.0 milestone Aug 24, 2018
@Grokmoo
Copy link
Owner Author

Grokmoo commented Aug 26, 2018

Resolved by 1e068ae

@Grokmoo Grokmoo closed this as completed Aug 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant