Merge pull request #5060 from jgalrito/bug/5056/departed-deckand

fixed Departed Deckand p/t
This commit is contained in:
theelk801 2018-06-22 17:12:11 -04:00 committed by GitHub
commit 94aa52f4af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,7 @@ import mage.filter.common.FilterCreaturePermanent;
import mage.filter.predicate.Predicates;
import mage.filter.predicate.mageobject.SubtypePredicate;
import mage.target.common.TargetControlledCreaturePermanent;
import mage.MageInt;
/**
*
@ -39,6 +40,9 @@ public final class DepartedDeckhand extends CardImpl {
this.subtype.add(SubType.SPIRIT);
this.subtype.add(SubType.PIRATE);
this.power = new MageInt(2);
this.toughness = new MageInt(2);
// When Departed Deckhand becomes the target of a spell, sacrifice it.
this.addAbility(new BecomesTargetTriggeredAbility(
new SacrificeSourceEffect(),