mirror of
https://github.com/correl/mage.git
synced 2025-04-10 09:11:04 -09:00
[BRC] fix Machine God's Effigy errors
This commit is contained in:
parent
a6a69548e1
commit
0ed04e0c09
1 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@ import mage.abilities.mana.BlueManaAbility;
|
|||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubTypeSet;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.Game;
|
||||
|
@ -53,8 +54,8 @@ class MachineGodsEffigyApplier extends CopyApplier {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, MageObject blueprint, Ability source, UUID targetObjectId) {
|
||||
blueprint.retainAllArtifactSubTypes(null);
|
||||
blueprint.removeAllCardTypes(game);
|
||||
blueprint.getSubtype().removeIf(subType -> subType.getSubTypeSet() != SubTypeSet.ArtifactType);
|
||||
blueprint.removeAllCardTypes();
|
||||
blueprint.addCardType(CardType.ARTIFACT);
|
||||
blueprint.getAbilities().add(new BlueManaAbility());
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue