* Defend of Hearth - Fixd that prevention effect was applied also to permanents instead only to players.

This commit is contained in:
LevelX2 2013-09-20 14:22:09 +02:00
parent 24baf63cf1
commit b7ae1305bb
4 changed files with 113 additions and 5 deletions

View file

@ -28,7 +28,7 @@
package mage.sets.theros;
import java.util.UUID;
import mage.abilities.effects.common.PreventAllDamageEffect;
import mage.abilities.effects.common.PreventAllDamageToPlayersEffect;
import mage.cards.CardImpl;
import mage.constants.CardType;
import mage.constants.Duration;
@ -47,7 +47,7 @@ public class DefendTheHearth extends CardImpl<DefendTheHearth> {
this.color.setGreen(true);
// Prevent all combat damage that would be dealt to players this turn.
this.getSpellAbility().addEffect(new PreventAllDamageEffect(Duration.EndOfTurn, true));
this.getSpellAbility().addEffect(new PreventAllDamageToPlayersEffect(Duration.EndOfTurn, true));
}
public DefendTheHearth(final DefendTheHearth card) {