[VOW] added tokens and images support

This commit is contained in:
Oleg Agafonov 2022-02-05 14:44:46 +04:00
parent dd72e078b5
commit 3cb721fbd9
21 changed files with 143 additions and 23 deletions

View file

@ -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) {