From 33e4670cd12b530737ad778ba2db67545938359c Mon Sep 17 00:00:00 2001 From: jeffwadsworth Date: Fri, 8 Feb 2013 17:48:13 -0600 Subject: [PATCH] - Lazav, Dimir Mastermind now just copies the card and does not retain past abilities, etc. --- .../src/mage/sets/gatecrash/LazavDimirMastermind.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/sets/gatecrash/LazavDimirMastermind.java b/Mage.Sets/src/mage/sets/gatecrash/LazavDimirMastermind.java index 29c5c18d8b..136e3f8768 100644 --- a/Mage.Sets/src/mage/sets/gatecrash/LazavDimirMastermind.java +++ b/Mage.Sets/src/mage/sets/gatecrash/LazavDimirMastermind.java @@ -33,7 +33,6 @@ import mage.Constants.CardType; import mage.Constants.Rarity; import mage.Constants.Zone; import mage.MageInt; -import mage.MageObject; import mage.abilities.Ability; import mage.abilities.TriggeredAbilityImpl; import mage.abilities.effects.ContinuousEffectImpl; @@ -46,7 +45,6 @@ import mage.game.events.GameEvent; import mage.game.events.GameEvent.EventType; import mage.game.events.ZoneChangeEvent; import mage.game.permanent.Permanent; -import mage.game.permanent.PermanentToken; import mage.target.targetpointer.FixedTarget; /** @@ -150,6 +148,7 @@ class LazavDimirEffect extends ContinuousEffectImpl { permanent.getColor().setColor(card.getColor()); permanent.getManaCost().clear(); permanent.getManaCost().add(card.getManaCost()); + permanent.getCardType().clear(); for (CardType type : card.getCardType()) { if (!permanent.getCardType().contains(type)) { permanent.getCardType().add(type); @@ -160,12 +159,16 @@ class LazavDimirEffect extends ContinuousEffectImpl { permanent.getSubtype().add(type); } } + permanent.getSupertype().clear(); + permanent.getSupertype().add("Legendary"); for (String type : card.getSupertype()) { if (!permanent.getSupertype().contains(type)) { permanent.getSupertype().add(type); } } permanent.setExpansionSetCode(card.getExpansionSetCode()); + permanent.getAbilities().clear(); + permanent.getAbilities().add(HexproofAbility.getInstance()); for (Ability ability : card.getAbilities()) { if (!permanent.getAbilities().contains(ability)) { permanent.addAbility(ability, source.getId(), game);