fixed Valiant Changeling potentially counting non-creature subtypes

This commit is contained in:
Evan Kranzler 2019-05-28 11:43:30 -04:00
parent e5d65974d5
commit 1ac44b5d6c

View file

@ -76,6 +76,7 @@ class ValiantChangelingCostReductionEffect extends CostModificationEffectImpl {
break; break;
} }
subTypes.addAll(permanent.getSubtype(game)); subTypes.addAll(permanent.getSubtype(game));
subTypes.removeIf(subType -> (subType.getSubTypeSet() != SubTypeSet.CreatureType));
reductionAmount = subTypes.size(); reductionAmount = subTypes.size();
if (reductionAmount > 4) { if (reductionAmount > 4) {
break; break;