forked from External/mage
added addCardType to MageObject
This commit is contained in:
parent
cf6fe27f7d
commit
8b90f87af6
52 changed files with 72 additions and 72 deletions
|
|
@ -190,10 +190,10 @@ public class PutTokenOntoBattlefieldCopyTargetEffect extends OneShotEffect {
|
|||
CardUtil.copyTo(token).from(copyFrom); // needed so that entersBattlefied triggered abilities see the attributes (e.g. Master Biomancer)
|
||||
applier.apply(game, token);
|
||||
if (becomesArtifact) {
|
||||
token.getCardType().add(CardType.ARTIFACT);
|
||||
token.addCardType(CardType.ARTIFACT);
|
||||
}
|
||||
if (additionalCardType != null && !token.getCardType().contains(additionalCardType)) {
|
||||
token.getCardType().add(additionalCardType);
|
||||
token.addCardType(additionalCardType);
|
||||
}
|
||||
if (gainsHaste) {
|
||||
token.addAbility(HasteAbility.getInstance());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue