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

PostCampfireSubscriber is called before and even if the action is canceled. #270

Open
GniLudio opened this issue Jun 3, 2020 · 0 comments

Comments

@GniLudio
Copy link

GniLudio commented Jun 3, 2020

Called before action

PostCampfireSubscriber is called before the action(that is selected) is used.
Easy to test with low health:

System.out.println(AbstractDungeon.player.currentHealth); // prints the health before healed

Called even if action is canceled

If the Smith is selected, the player can still choose something else.
This is misleading, because the method even gives the option to allow another action.

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