* Sigil of Sleep - Fixed that the triggered effect only worked for combat damage instead of all dealt damage.

This commit is contained in:
LevelX2 2015-07-19 09:22:18 +02:00
parent 5a6d8e2bc3
commit 20d1bba69b

View file

@ -57,7 +57,6 @@ public class SigilOfSleep extends CardImpl {
this.expansionSetCode = "UDS";
this.subtype.add("Aura");
// Enchant creature
TargetPermanent auraTarget = new TargetCreaturePermanent();
this.getSpellAbility().addTarget(auraTarget);
@ -67,7 +66,7 @@ public class SigilOfSleep extends CardImpl {
// Whenever enchanted creature deals damage to a player, return target creature that player controls to its owner's hand.
Effect effect = new ReturnToHandTargetEffect();
effect.setText("return target creature that player controls to its owner's hand");
ability = new DealsDamageToAPlayerAttachedTriggeredAbility(effect, "enchanted", false, true);
ability = new DealsDamageToAPlayerAttachedTriggeredAbility(effect, "enchanted", false, true, false);
this.addAbility(ability);
}