mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
fixed Valiant Changeling potentially counting non-creature subtypes
This commit is contained in:
parent
e5d65974d5
commit
1ac44b5d6c
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue