forked from External/mage
Add Subtype to the CardAttribute Framework
This is a massive change. I’ve refrained from unrelated refactoring when possible but there are still a lot of changes here.
This commit is contained in:
parent
a1a3c0c6a7
commit
282443c231
272 changed files with 514 additions and 493 deletions
|
|
@ -198,8 +198,8 @@ public class PutTokenOntoBattlefieldCopyTargetEffect extends OneShotEffect {
|
|||
if (tokenToughness != Integer.MIN_VALUE) {
|
||||
token.setToughness(tokenToughness);
|
||||
}
|
||||
if (additionalSubType != null && !token.getSubtype().contains(additionalSubType)) {
|
||||
token.getSubtype().add(additionalSubType);
|
||||
if (additionalSubType != null && !token.getSubtype(game).contains(additionalSubType)) {
|
||||
token.getSubtype(game).add(additionalSubType);
|
||||
}
|
||||
|
||||
token.putOntoBattlefield(number, game, source.getSourceId(), playerId == null ? source.getControllerId() : playerId, tapped, attacking, attackedPlayer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue