forked from External/mage
[CMR] added tokens support, added tokens download
This commit is contained in:
parent
92f9bc0c65
commit
9dd09c970a
34 changed files with 281 additions and 168 deletions
|
|
@ -11,6 +11,8 @@ import mage.constants.CardType;
|
|||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetAnyTarget;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
public final class RockToken extends TokenImpl {
|
||||
|
||||
public RockToken() {
|
||||
|
|
@ -23,6 +25,8 @@ public final class RockToken extends TokenImpl {
|
|||
new DamageTargetEffect(2), new TargetAnyTarget(), new SacrificeAttachmentCost(), new GenericManaCost(1), new TapSourceCost()
|
||||
)));
|
||||
this.addAbility(new EquipAbility(1));
|
||||
|
||||
availableImageSetCodes = Arrays.asList("CMR");
|
||||
}
|
||||
|
||||
public RockToken(final RockToken token) {
|
||||
|
|
@ -32,4 +36,9 @@ public final class RockToken extends TokenImpl {
|
|||
public RockToken copy() {
|
||||
return new RockToken(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue