mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
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:
parent
02730a194c
commit
1804b8df01
4 changed files with 295 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue