forked from External/mage
* Commander: added support of lands as commander (#5795);
This commit is contained in:
parent
b3e7c4f136
commit
42ed14df52
18 changed files with 441 additions and 201 deletions
|
|
@ -0,0 +1,28 @@
|
|||
package mage.abilities.common;
|
||||
|
||||
import mage.abilities.PlayLandAbility;
|
||||
import mage.abilities.costs.common.CommanderAdditionalCost;
|
||||
import mage.constants.Zone;
|
||||
|
||||
/**
|
||||
* @author JayDi85
|
||||
*/
|
||||
public class PlayLandAsCommanderAbility extends PlayLandAbility {
|
||||
|
||||
public PlayLandAsCommanderAbility(PlayLandAbility originalAbility) {
|
||||
super(originalAbility);
|
||||
zone = Zone.COMMAND;
|
||||
|
||||
// extra cost
|
||||
this.addCost(new CommanderAdditionalCost());
|
||||
}
|
||||
|
||||
private PlayLandAsCommanderAbility(PlayLandAsCommanderAbility ability) {
|
||||
super(ability);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PlayLandAsCommanderAbility copy() {
|
||||
return new PlayLandAsCommanderAbility(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue