mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
implement [LCI] Zoetic Glyph
This commit is contained in:
parent
33781ac614
commit
d3cc3aa96d
3 changed files with 66 additions and 3 deletions
|
|
@ -24,12 +24,17 @@ public class DiscoverEffect extends OneShotEffect {
|
|||
private final int amount;
|
||||
|
||||
public DiscoverEffect(int amount) {
|
||||
this(amount, true);
|
||||
}
|
||||
|
||||
public DiscoverEffect(int amount, boolean withReminderText) {
|
||||
super(Outcome.Benefit);
|
||||
this.amount = amount;
|
||||
staticText = "discover " + amount + ". <i>(Exile cards from the top of your library " +
|
||||
staticText = "discover " + amount
|
||||
+ (withReminderText ? ". <i>(Exile cards from the top of your library " +
|
||||
"until you exile a nonland card with mana value " + amount + " or less. " +
|
||||
"Cast it without paying its mana cost or put it into your hand. " +
|
||||
"Put the rest on the bottom in a random order.)</i>";
|
||||
"Put the rest on the bottom in a random order.)</i>" : "");
|
||||
}
|
||||
|
||||
private DiscoverEffect(final DiscoverEffect effect) {
|
||||
|
|
@ -86,4 +91,4 @@ public class DiscoverEffect extends OneShotEffect {
|
|||
game.fireEvent(new DiscoverEvent(source, player.getId(), amount));
|
||||
return card;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue