- Added the properties "TopGraveyardCreature" and "TopGraveyard" to hasProperty.

- Added Shallow Grave.
This commit is contained in:
Sloth
2011-10-01 06:46:35 +00:00
parent bcafd4aa02
commit d20c830c02
4 changed files with 36 additions and 10 deletions

1
.gitattributes vendored
View File

@@ -6890,6 +6890,7 @@ res/cardsfolder/s/shadowmage_infiltrator.txt svneol=native#text/plain
res/cardsfolder/s/shadowstorm.txt svneol=native#text/plain res/cardsfolder/s/shadowstorm.txt svneol=native#text/plain
res/cardsfolder/s/shaleskin_bruiser.txt svneol=native#text/plain res/cardsfolder/s/shaleskin_bruiser.txt svneol=native#text/plain
res/cardsfolder/s/shaleskin_plower.txt svneol=native#text/plain res/cardsfolder/s/shaleskin_plower.txt svneol=native#text/plain
res/cardsfolder/s/shallow_grave.txt -text
res/cardsfolder/s/shambling_remains.txt svneol=native#text/plain res/cardsfolder/s/shambling_remains.txt svneol=native#text/plain
res/cardsfolder/s/shambling_shell.txt svneol=native#text/plain res/cardsfolder/s/shambling_shell.txt svneol=native#text/plain
res/cardsfolder/s/shambling_strider.txt svneol=native#text/plain res/cardsfolder/s/shambling_strider.txt svneol=native#text/plain

View File

@@ -8,4 +8,6 @@ SVar:TrigBounce:DB$ ChangeZone | Defined$ Self | Origin$ Battlefield | Destinati
SVar:RemAIDeck:True SVar:RemAIDeck:True
SVar:Rarity:Uncommon SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/rakalite.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/rakalite.jpg
SetInfo:ATQ|Uncommon|http://magiccards.info/scans/en/aq/27.jpg
Oracle:{2}: Prevent the next 1 damage that would be dealt to target creature or player this turn. Return Rakalite to its owner's hand at the beginning of the next end step.
End End

View File

@@ -0,0 +1,12 @@
Name:Shallow Grave
ManaCost:1 B
Types:Instant
Text:no text
A:SP$ ChangeZone | Cost$ 1 B | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature.TopGraveyardCreature+YouCtrl | Hidden$ True | Mandatory$ True | RememberChanged$ True | SubAbility$ DBPump | SpellDescription$ Return the top creature card of your graveyard to the battlefield. That creature gains haste until end of turn. Exile it at the beginning of the next end step.
SVar:DBPump:DB$ Pump | Defined$ Remembered | KW$ Haste & HIDDEN At the beginning of the end step, exile CARDNAME. | SubAbility$ DBCleanup
SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/shallow_grave.jpg
SetInfo:MIR|Rare|http://magiccards.info/scans/en/mr/39.jpg
Oracle:Return the top creature card of your graveyard to the battlefield. That creature gains haste until end of turn. Exile it at the beginning of the next end step.
End

View File

@@ -5051,6 +5051,17 @@ public class Card extends GameEntity implements Comparable<Card> {
CardList list = this.getOwner().getCardsIn(Zone.Graveyard); CardList list = this.getOwner().getCardsIn(Zone.Graveyard);
if (!list.getDirectlyAbove(source, this)) if (!list.getDirectlyAbove(source, this))
return false; return false;
}else if (Property.startsWith("TopGraveyardCreature")){
CardList list = this.getOwner().getCardsIn(Zone.Graveyard);
list = list.getType("Creature");
list.reverse();
if (list.isEmpty() || !this.equals(list.get(0)))
return false;
}else if (Property.startsWith("TopGraveyard")){
CardList list = this.getOwner().getCardsIn(Zone.Graveyard);
list.reverse();
if (list.isEmpty() || !this.equals(list.get(0)))
return false;
} else if (Property.startsWith("Cloned")) { } else if (Property.startsWith("Cloned")) {
if (cloneOrigin == null || !cloneOrigin.equals(source)) return false; if (cloneOrigin == null || !cloneOrigin.equals(source)) return false;
} else if (Property.startsWith("DamagedBy")) { } else if (Property.startsWith("DamagedBy")) {