Merge pull request #3 from magefree/master

merge
This commit is contained in:
Sarah Souders 2019-11-29 22:11:27 -05:00 committed by GitHub
commit 897f72c4f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ public class Pioneer extends Constructed {
public Pioneer() {
super("Constructed - Pioneer");
Date cutoff = new GregorianCalendar(2012, 10, 5).getTime(); // M15 release date
Date cutoff = new GregorianCalendar(2012, 10, 5).getTime(); // RTR release date
for (ExpansionSet set : Sets.getInstance().values()) {
if (set.getSetType().isStandardLegal() && (set.getReleaseDate().after(cutoff) || set.getReleaseDate().equals(cutoff))) {
setCodes.add(set.getCode());

View file

@ -72,7 +72,7 @@ class EscapedShapeshifterEffect extends ContinuousEffectImpl {
source.getControllerId(), source.getSourceId(), game
).stream()
.filter(Objects::nonNull)
.filter(permanent -> !permanent.getName().equals(sourcePermanent.getName()))
.filter(permanent -> !permanent.getName().equals("Escaped Shapeshifter"))
.map(Permanent::getAbilities)
.flatMap(Collection::stream).filter(EscapedShapeshifterEffect::checkAbility)
.forEach(ability -> sourcePermanent.addAbility(ability, source.getSourceId(), game));

View file

@ -18,7 +18,7 @@ public final class ReturnToRavnica extends ExpansionSet {
}
private ReturnToRavnica() {
super("Return to Ravnica", "RTR", ExpansionSet.buildDate(2012, 9, 29), SetType.EXPANSION);
super("Return to Ravnica", "RTR", ExpansionSet.buildDate(2012, 10, 5), SetType.EXPANSION);
this.blockName = "Return to Ravnica";
this.hasBoosters = true;
this.numBoosterLands = 1;