forked from External/mage
[VOW] added tokens and images support
This commit is contained in:
parent
dd72e078b5
commit
3cb721fbd9
21 changed files with 143 additions and 23 deletions
|
|
@ -4,6 +4,8 @@ import mage.MageInt;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
|
|
@ -17,6 +19,17 @@ public final class RedWolfToken extends TokenImpl {
|
|||
subtype.add(SubType.WOLF);
|
||||
power = new MageInt(3);
|
||||
toughness = new MageInt(2);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("VOW");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setExpansionSetCodeForImage(String code) {
|
||||
super.setExpansionSetCodeForImage(code);
|
||||
|
||||
if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("VOW")) {
|
||||
setTokenType(2);
|
||||
}
|
||||
}
|
||||
|
||||
private RedWolfToken(final RedWolfToken token) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue