mirror of
https://github.com/magefree/mage.git
synced 2026-01-22 19:29:59 -08:00
* Defend of Hearth - Fixd that prevention effect was applied also to permanents instead only to players.
This commit is contained in:
parent
24baf63cf1
commit
b7ae1305bb
4 changed files with 113 additions and 5 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue