- DB TwoPiles now lists the contents of the chosen pile in addition to its number (otherwise it's typically confusing and makes the player need to memorize not only the content of both piles but also remember which pile is the first one and which one is the second).

This commit is contained in:
Agetian
2016-06-26 14:15:03 +00:00
parent d1076cdd51
commit af947b35b3

View File

@@ -102,7 +102,12 @@ public class TwoPilesEffect extends SpellAbilityEffect {
CardCollectionView chosenPile = pile1WasChosen ? pile1 : pile2; CardCollectionView chosenPile = pile1WasChosen ? pile1 : pile2;
CardCollectionView unchosenPile = !pile1WasChosen ? pile1 : pile2; CardCollectionView unchosenPile = !pile1WasChosen ? pile1 : pile2;
p.getGame().getAction().nofityOfValue(sa, chooser, chooser + " chooses Pile " + (pile1WasChosen ? "1" : "2"), chooser); String notification = chooser + " chooses Pile " + (pile1WasChosen ? "1" : "2") + ":\n";
for (Card c : chosenPile) {
notification += c.getName() + "\n";
}
p.getGame().getAction().nofityOfValue(sa, chooser, notification, chooser);
// take action on the chosen pile // take action on the chosen pile
if (sa.hasParam("ChosenPile")) { if (sa.hasParam("ChosenPile")) {