- Added Vendillion Clique, Umezawa's Jitte.

- Duress, Ostracize, Distress and Thoughtseize will now first reveal the entire hand, then reveal the narrowed down options to discard.
This commit is contained in:
jendave
2011-08-06 02:50:05 +00:00
parent 3a455649c6
commit b0d660a6bb
9 changed files with 619 additions and 9 deletions

View File

@@ -7619,8 +7619,12 @@ public class CardFactory implements NewConstants {
//check for no cards in hand on resolve
PlayerZone hand = AllZone.getZone(Constant.Zone.Hand, getTargetPlayer());
CardList fullHand = new CardList(hand.getCards());
Card[] handChoices = removeLand(hand.getCards());
if (fullHand.size() > 0 && card.getController().equals(Constant.Player.Human))
AllZone.Display.getChoice("Revealing hand", fullHand.toArray());
if(handChoices.length == 0)
return;
@@ -12951,6 +12955,7 @@ public class CardFactory implements NewConstants {
//human chooses
if(card.getController().equals(Constant.Player.Human))
{
AllZone.Display.getChoice("Revealing hand", cards.toArray());
choice = (Card) AllZone.Display.getChoice("Choose", nonCreatureCards.toArray());
}
else//computer chooses
@@ -13012,7 +13017,7 @@ public class CardFactory implements NewConstants {
{
if(cards.get(i).getType().contains("Creature"))
{
System.out.println("ostracize: " + cards.get(i).getType());
//System.out.println("ostracize: " + cards.get(i).getType());
creatureCards.add(cards.get(i));
}
@@ -13024,6 +13029,7 @@ public class CardFactory implements NewConstants {
//human chooses
if(card.getController().equals(Constant.Player.Human))
{
AllZone.Display.getChoice("Revealing hand", cards.toArray());
choice = (Card) AllZone.Display.getChoice("Choose", creatureCards.toArray());
}
else//computer chooses