mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Sigil of Sleep - Fixed that the triggered effect only worked for combat damage instead of all dealt damage.
This commit is contained in:
parent
5a6d8e2bc3
commit
20d1bba69b
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue