mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Fixed CLB shapeshifter tokens' images
This commit is contained in:
parent
d60f487239
commit
e421f4757e
3 changed files with 27 additions and 3 deletions
|
@ -30,6 +30,15 @@ public final class Shapeshifter32Token extends TokenImpl {
|
|||
addAbility(new ChangelingAbility());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("CLB")) {
|
||||
this.setTokenType(3);
|
||||
}
|
||||
}
|
||||
|
||||
public Shapeshifter32Token(final Shapeshifter32Token token) {
|
||||
super(token);
|
||||
}
|
||||
|
|
|
@ -25,6 +25,15 @@ public final class ShapeshifterBlueToken extends TokenImpl {
|
|||
availableImageSetCodes = Arrays.asList("KHM", "CLB");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("CLB")) {
|
||||
this.setTokenType(4);
|
||||
}
|
||||
}
|
||||
|
||||
private ShapeshifterBlueToken(final ShapeshifterBlueToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
|
|
@ -4,10 +4,7 @@ import mage.MageInt;
|
|||
import mage.abilities.keyword.ChangelingAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
|
@ -26,6 +23,15 @@ public final class ShapeshifterToken extends TokenImpl {
|
|||
availableImageSetCodes = Arrays.asList("MH1", "CLB");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("CLB")) {
|
||||
this.setTokenType(2);
|
||||
}
|
||||
}
|
||||
|
||||
public ShapeshifterToken(final ShapeshifterToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue