- More text fixes.

This commit is contained in:
Sloth
2012-11-30 22:29:44 +00:00
parent 8678ff7dad
commit bbfd0e04be
2 changed files with 6 additions and 7 deletions

View File

@@ -34,7 +34,7 @@ public class DamagePreventEffect extends SpellEffect {
} else {
sb.append(tgtC);
}
} else {
} else if (o instanceof Player){
sb.append(o.toString());
}
}

View File

@@ -319,12 +319,11 @@ public class CardDetailPanel extends JPanel implements CardContainer {
&& !card.getController().getZone(ZoneType.Library).isEmpty()) {
area.append("\r\nTop card of your library: ");
area.append(card.getController().getCardsIn(ZoneType.Library, 1));
}
if (card.hasKeyword("Players play with the top card of their libraries revealed.")
&& (card.getController() != null) && card.isInZone(ZoneType.Battlefield)
&& !card.getController().getOpponent().getZone(ZoneType.Library).isEmpty()) {
area.append("\r\nTop card of your opponent's library: ");
area.append(card.getController().getOpponent().getCardsIn(ZoneType.Library, 1));
if (card.hasKeyword("Players play with the top card of their libraries revealed.")
&& !card.getController().getOpponent().getZone(ZoneType.Library).isEmpty()) {
area.append("\r\nTop card of your opponent's library: ");
area.append(card.getController().getOpponent().getCardsIn(ZoneType.Library, 1));
}
}
// chosen type