mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
- Fixed #5896
This commit is contained in:
parent
a94018f7a5
commit
57d5380e1d
1 changed files with 7 additions and 3 deletions
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
package mage.cards.v;
|
package mage.cards.v;
|
||||||
|
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
|
@ -49,6 +48,9 @@ class VolrathsShapeshifterEffect extends ContinuousEffectImpl {
|
||||||
|
|
||||||
public VolrathsShapeshifterEffect() {
|
public VolrathsShapeshifterEffect() {
|
||||||
super(Duration.WhileOnBattlefield, Layer.TextChangingEffects_3, SubLayer.NA, Outcome.BecomeCreature);
|
super(Duration.WhileOnBattlefield, Layer.TextChangingEffects_3, SubLayer.NA, Outcome.BecomeCreature);
|
||||||
|
staticText = "As long as the top card of your graveyard is a creature card, "
|
||||||
|
+ "{this} has the full text of that card and has the text \"2: Discard a card.\" "
|
||||||
|
+ "({this} has that card's name, mana cost, color, types, abilities, power, and toughness.) ";
|
||||||
}
|
}
|
||||||
|
|
||||||
public VolrathsShapeshifterEffect(final VolrathsShapeshifterEffect effect) {
|
public VolrathsShapeshifterEffect(final VolrathsShapeshifterEffect effect) {
|
||||||
|
@ -65,7 +67,9 @@ class VolrathsShapeshifterEffect extends ContinuousEffectImpl {
|
||||||
Card card = game.getPlayer(source.getControllerId()).getGraveyard().getTopCard(game);
|
Card card = game.getPlayer(source.getControllerId()).getGraveyard().getTopCard(game);
|
||||||
Permanent permanent = game.getPermanent(source.getSourceId());
|
Permanent permanent = game.getPermanent(source.getSourceId());
|
||||||
|
|
||||||
if (card == null || permanent == null || !card.isCreature()) {
|
if (card == null
|
||||||
|
|| permanent == null
|
||||||
|
|| !card.isCreature()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue