mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
[MID] Implemented Augur of Autumn
This commit is contained in:
parent
cfd3761904
commit
e6e802033b
3 changed files with 77 additions and 1 deletions
|
|
@ -43,7 +43,16 @@ public class LookAtTopCardOfLibraryAnyTimeEffect extends ContinuousEffectImpl {
|
|||
default:
|
||||
throw new IllegalArgumentException("Unknown target library type: " + targetLibrary);
|
||||
}
|
||||
staticText = duration.toString().isEmpty() ? "" : duration + " you may look at the top card of " + libInfo + " any time.";
|
||||
StringBuilder sb = new StringBuilder();
|
||||
String durationString = duration.toString();
|
||||
if (durationString != null && !durationString.isEmpty()) {
|
||||
sb.append(durationString);
|
||||
sb.append(' ');
|
||||
}
|
||||
sb.append("you may look at the top card of ");
|
||||
sb.append(libInfo);
|
||||
sb.append(" any time");
|
||||
staticText = sb.toString();
|
||||
}
|
||||
|
||||
protected LookAtTopCardOfLibraryAnyTimeEffect(final LookAtTopCardOfLibraryAnyTimeEffect effect) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue