* Pulmonic Sliver - Fixed that the put in the graveyard ability was not handled optional.

This commit is contained in:
LevelX2 2018-03-15 17:28:45 +01:00
parent 6e4d655ac1
commit db94287b20

View file

@ -54,7 +54,7 @@ public class PulmonicSliver extends CardImpl {
private static final FilterPermanent filterSlivers = new FilterPermanent(SubType.SLIVER, "All Slivers"); private static final FilterPermanent filterSlivers = new FilterPermanent(SubType.SLIVER, "All Slivers");
public PulmonicSliver(UUID ownerId, CardSetInfo setInfo) { public PulmonicSliver(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{W}{W}"); super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}{W}");
this.subtype.add(SubType.SLIVER); this.subtype.add(SubType.SLIVER);
this.power = new MageInt(3); this.power = new MageInt(3);
this.toughness = new MageInt(3); this.toughness = new MageInt(3);
@ -65,7 +65,7 @@ public class PulmonicSliver extends CardImpl {
filter, "All Sliver creatures have flying."))); filter, "All Sliver creatures have flying.")));
// All Slivers have "If this permanent would be put into a graveyard, you may put it on top of its owner's library instead." // All Slivers have "If this permanent would be put into a graveyard, you may put it on top of its owner's library instead."
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAllEffect( this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAllEffect(
new PutIntoGraveFromAnywhereSourceAbility(new ReturnToLibraryPermanentEffect(true)), Duration.WhileOnBattlefield, new PutIntoGraveFromAnywhereSourceAbility(new ReturnToLibraryPermanentEffect(true), null, null, false, true), Duration.WhileOnBattlefield,
filterSlivers, "All Slivers have \"If this permanent would be put into a graveyard, you may put it on top of its owner's library instead.\""))); filterSlivers, "All Slivers have \"If this permanent would be put into a graveyard, you may put it on top of its owner's library instead.\"")));
} }