mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Elixir of Immortality should not shuffle the library twice
- New CounterType Gem
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -102,6 +102,8 @@ public enum CounterType {
|
||||
|
||||
FUSE(),
|
||||
|
||||
GEM(),
|
||||
|
||||
GLYPH(),
|
||||
|
||||
GOLD(),
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user