forked from External/mage
Improved commander support for mdf/split/adventure cards (additional fixes for ac98a3a31a)
This commit is contained in:
parent
9416c6140a
commit
9b8df48183
12 changed files with 148 additions and 60 deletions
|
|
@ -44,12 +44,12 @@ import java.util.UUID;
|
|||
*/
|
||||
public class StackAbility extends StackObjImpl implements Ability {
|
||||
|
||||
private static ArrayList<CardType> emptyCardType = new ArrayList<>();
|
||||
private static List<String> emptyString = new ArrayList<>();
|
||||
private static ObjectColor emptyColor = new ObjectColor();
|
||||
private static ManaCosts<ManaCost> emptyCost = new ManaCostsImpl<>();
|
||||
private static Costs<Cost> emptyCosts = new CostsImpl<>();
|
||||
private static Abilities<Ability> emptyAbilites = new AbilitiesImpl<>();
|
||||
private static final ArrayList<CardType> emptyCardType = new ArrayList<>();
|
||||
private static final List<String> emptyString = new ArrayList<>();
|
||||
private static final ObjectColor emptyColor = new ObjectColor();
|
||||
private static final ManaCosts<ManaCost> emptyCost = new ManaCostsImpl<>();
|
||||
private static final Costs<Cost> emptyCosts = new CostsImpl<>();
|
||||
private static final Abilities<Ability> emptyAbilites = new AbilitiesImpl<>();
|
||||
|
||||
private final Ability ability;
|
||||
private UUID controllerId;
|
||||
|
|
@ -186,6 +186,11 @@ public class StackAbility extends StackObjImpl implements Ability {
|
|||
return new AbilitiesImpl<>(ability);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Abilities<Ability> getInitAbilities() {
|
||||
return new AbilitiesImpl<>();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasAbility(Ability ability, Game game) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue