mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- More text fixes.
This commit is contained in:
@@ -34,7 +34,7 @@ public class DamagePreventEffect extends SpellEffect {
|
|||||||
} else {
|
} else {
|
||||||
sb.append(tgtC);
|
sb.append(tgtC);
|
||||||
}
|
}
|
||||||
} else {
|
} else if (o instanceof Player){
|
||||||
sb.append(o.toString());
|
sb.append(o.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -319,12 +319,11 @@ public class CardDetailPanel extends JPanel implements CardContainer {
|
|||||||
&& !card.getController().getZone(ZoneType.Library).isEmpty()) {
|
&& !card.getController().getZone(ZoneType.Library).isEmpty()) {
|
||||||
area.append("\r\nTop card of your library: ");
|
area.append("\r\nTop card of your library: ");
|
||||||
area.append(card.getController().getCardsIn(ZoneType.Library, 1));
|
area.append(card.getController().getCardsIn(ZoneType.Library, 1));
|
||||||
}
|
if (card.hasKeyword("Players play with the top card of their libraries revealed.")
|
||||||
if (card.hasKeyword("Players play with the top card of their libraries revealed.")
|
&& !card.getController().getOpponent().getZone(ZoneType.Library).isEmpty()) {
|
||||||
&& (card.getController() != null) && card.isInZone(ZoneType.Battlefield)
|
area.append("\r\nTop card of your opponent's library: ");
|
||||||
&& !card.getController().getOpponent().getZone(ZoneType.Library).isEmpty()) {
|
area.append(card.getController().getOpponent().getCardsIn(ZoneType.Library, 1));
|
||||||
area.append("\r\nTop card of your opponent's library: ");
|
}
|
||||||
area.append(card.getController().getOpponent().getCardsIn(ZoneType.Library, 1));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// chosen type
|
// chosen type
|
||||||
|
|||||||
Reference in New Issue
Block a user