mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
- More text fixes.
This commit is contained in:
@@ -34,7 +34,7 @@ public class DamagePreventEffect extends SpellEffect {
|
||||
} else {
|
||||
sb.append(tgtC);
|
||||
}
|
||||
} else {
|
||||
} else if (o instanceof Player){
|
||||
sb.append(o.toString());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user