forked from External/mage
Set some token version types. [C16] Added token info. Implemented Migratory Route.
This commit is contained in:
parent
135819c6ef
commit
ac3203b63c
15 changed files with 156 additions and 20 deletions
|
|
@ -32,6 +32,7 @@ import java.util.Arrays;
|
|||
import java.util.List;
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.util.RandomUtil;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -58,6 +59,9 @@ public class ServoToken extends Token {
|
|||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("KLD")) {
|
||||
this.setTokenType(RandomUtil.nextInt(3) + 1);
|
||||
}
|
||||
}
|
||||
|
||||
public ServoToken(final ServoToken token) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue