Implemented Xyris and Kalamax (#6430)

* Implemented Xyris, the Writhing Storm

* Name change for Xyris's draw ability.

* Implemented Kalamax, the Stormsire.

* Added Kalamax and Xyris to Commander2020Edition Set.

* Updated XyrisTheWrithingStorm drawCards implementation.

* Fixed bug where "First card drawn" was not enforced.

* Removed unnecessary Predicates.or, and replaced custom effect with CreateTokenEffect
This commit is contained in:
AsterAether 2020-04-24 15:39:53 +02:00 committed by GitHub
parent 02730a194c
commit 1804b8df01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 295 additions and 0 deletions

View file

@ -0,0 +1,27 @@
package mage.filter.common;
import mage.constants.CardType;
import mage.filter.FilterSpell;
import mage.filter.predicate.Predicates;
public class FilterInstantSpell extends FilterSpell {
public FilterInstantSpell() {
this("instant spell");
}
public FilterInstantSpell(String name) {
super(name);
this.add(CardType.INSTANT.getPredicate());
}
public FilterInstantSpell(final FilterInstantSpell filter) {
super(filter);
}
@Override
public FilterInstantSpell copy() {
return new FilterInstantSpell(this);
}
}