BaseMod icon indicating copy to clipboard operation
BaseMod copied to clipboard

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

Open GniLudio opened this issue 4 years ago • 0 comments

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.

GniLudio avatar Jun 03 '20 20:06 GniLudio