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

Bonus Action is always made after the creatures main action #109

Open
tjheslin1 opened this issue Mar 14, 2020 · 0 comments
Open

Bonus Action is always made after the creatures main action #109

tjheslin1 opened this issue Mar 14, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@tjheslin1
Copy link
Owner

A good example of this is a Ranger using the Hunters Mark spell. Currently it will cast this at the end of its first turn. It would benefit from casting it (as a bonus action) at the beginning of its first turn.

This will involve updating Move#takeMove.

The intended implementation is for the Creature to look for a suitable bonus action to use at the start of its turn. A new boolean value stored in all bonus action abilities (e.g. useBeforeAction: Boolean) would be checked to determine at what point this ability is used.

It is not intended for a Creature to suddenly use more bonus action abilities when it might be better for it to continue to utilise twoWeaponFighting.

New tests in MoveSpec should be sufficient as the behaviour of the abilities themselves will remain unaffected.

@tjheslin1 tjheslin1 added the enhancement New feature or request label Mar 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant