- Elixir of Immortality should not shuffle the library twice

- New CounterType Gem
This commit is contained in:
swordshine
2014-09-13 13:35:27 +00:00
parent d65d6ee16a
commit 6c0f34c3b9
3 changed files with 9 additions and 1 deletions

View File

@@ -500,6 +500,9 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
if (sa.hasParam("Unearth")) {
movedCard.setUnearthed(true);
}
if (sa.hasParam("FaceDown")) {
movedCard.setState(CardCharacteristicName.FaceDown);
}
if (sa.hasParam("Ninjutsu") || sa.hasParam("Attacking")) {
// What should they attack?
// TODO Ninjutsu needs to actually select the Defender, instead of auto selecting player
@@ -896,6 +899,9 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
if (sa.hasParam("Tapped")) {
movedCard.setTapped(true);
}
if (sa.hasParam("FaceDown")) {
movedCard.setState(CardCharacteristicName.FaceDown);
}
movedCard.setTimestamp(ts);
} else if (destination.equals(ZoneType.Exile)) {
movedCard = game.getAction().exile(c);

View File

@@ -102,6 +102,8 @@ public enum CounterType {
FUSE(),
GEM(),
GLYPH(),
GOLD(),

View File

@@ -2,7 +2,7 @@ Name:Elixir of Immortality
ManaCost:1
Types:Artifact
A:AB$ GainLife | Cost$ 2 T | LifeAmount$ 5 | SubAbility$ DBShuffleElixir | SpellDescription$ You gain 5 life. Shuffle CARDNAME and your graveyard into their owner's library.
SVar:DBShuffleElixir:DB$ChangeZone | Origin$ Battlefield | Destination$ Library | Shuffle$ True | Defined$ Self | SubAbility$ DBShuffleGrave
SVar:DBShuffleElixir:DB$ChangeZone | Origin$ Battlefield | Destination$ Library | Shuffle$ False | Defined$ Self | SubAbility$ DBShuffleGrave
SVar:DBShuffleGrave:DB$ChangeZoneAll | Origin$ Graveyard | Destination$ Library | Shuffle$ True | ChangeType$ Card.YouCtrl
SVar:Picture:http://www.wizards.com/global/images/magic/general/elixir_of_immortality.jpg
Oracle:{2}, {T}: You gain 5 life. Shuffle Elixir of Immortality and your graveyard into their owner's library.