Added log output whenever a player chooses a card in play, in discard, or stacked on another card.

This commit is contained in:
Christian 'ketura' McCarty
2023-12-27 20:00:26 -06:00
parent da79b794f6
commit 6f35f66c8a

View File

@@ -44,6 +44,7 @@ public class CardResolver {
@Override
protected void cardsChosen(LotroGame game, Collection<PhysicalCard> stackedCards) {
actionContext.setCardMemory(memory, stackedCards);
game.getGameState().sendMessage(GameUtils.SubstituteText("{you} chooses {" + memory + "}.", actionContext));
}
@Override
@@ -86,6 +87,7 @@ public class CardResolver {
@Override
protected void cardsChosen(LotroGame game, Collection<PhysicalCard> stackedCards) {
actionContext.setCardMemory(memory, stackedCards);
game.getGameState().sendMessage(GameUtils.SubstituteText("{you} chooses {" + memory + "}.", actionContext));
}
@Override
@@ -220,6 +222,7 @@ public class CardResolver {
@Override
protected void cardsSelected(LotroGame game, Collection<PhysicalCard> cards) {
actionContext.setCardMemory(memory, cards);
game.getGameState().sendMessage(GameUtils.SubstituteText("{you} chooses {" + memory + "}.", actionContext));
}
@Override
@@ -350,6 +353,7 @@ public class CardResolver {
@Override
protected void cardsSelected(LotroGame game, Collection<PhysicalCard> cards) {
actionContext.setCardMemory(memory, cards);
game.getGameState().sendMessage(GameUtils.SubstituteText("{you} chooses {" + memory + "}.", actionContext));
}
};
};