- Hopefully the last fix for Lazav. Too much vodka.

This commit is contained in:
jeffwadsworth 2013-02-08 18:05:19 -06:00
parent 33e4670cd1
commit 84ab7aaf3b

View file

@ -154,6 +154,7 @@ class LazavDimirEffect extends ContinuousEffectImpl<LazavDimirEffect> {
permanent.getCardType().add(type); permanent.getCardType().add(type);
} }
} }
permanent.getSubtype().clear();
for (String type : card.getSubtype()) { for (String type : card.getSubtype()) {
if (!permanent.getSubtype().contains(type)) { if (!permanent.getSubtype().contains(type)) {
permanent.getSubtype().add(type); permanent.getSubtype().add(type);
@ -169,6 +170,7 @@ class LazavDimirEffect extends ContinuousEffectImpl<LazavDimirEffect> {
permanent.setExpansionSetCode(card.getExpansionSetCode()); permanent.setExpansionSetCode(card.getExpansionSetCode());
permanent.getAbilities().clear(); permanent.getAbilities().clear();
permanent.getAbilities().add(HexproofAbility.getInstance()); permanent.getAbilities().add(HexproofAbility.getInstance());
permanent.addAbility(new CreatureCardPutOpponentGraveyardTriggeredAbility(), source.getSourceId(), game);
for (Ability ability : card.getAbilities()) { for (Ability ability : card.getAbilities()) {
if (!permanent.getAbilities().contains(ability)) { if (!permanent.getAbilities().contains(ability)) {
permanent.addAbility(ability, source.getId(), game); permanent.addAbility(ability, source.getId(), game);