mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- 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:
@@ -102,7 +102,12 @@ public class TwoPilesEffect extends SpellAbilityEffect {
|
||||
CardCollectionView chosenPile = 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
|
||||
if (sa.hasParam("ChosenPile")) {
|
||||
|
||||
Reference in New Issue
Block a user