mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- When cards move to a non-Battlefield zone, reset it to its base colors
- Added Deathlace
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -2409,6 +2409,7 @@ res/cardsfolder/d/deathgazer.txt svneol=native#text/plain
|
||||
res/cardsfolder/d/deathgreeter.txt svneol=native#text/plain
|
||||
res/cardsfolder/d/deathgrip.txt svneol=native#text/plain
|
||||
res/cardsfolder/d/deathknell_kami.txt svneol=native#text/plain
|
||||
res/cardsfolder/d/deathlace.txt -text
|
||||
res/cardsfolder/d/deathless_angel.txt svneol=native#text/plain
|
||||
res/cardsfolder/d/deathmark.txt svneol=native#text/plain
|
||||
res/cardsfolder/d/deathmark_prelate.txt svneol=native#text/plain
|
||||
|
||||
14
res/cardsfolder/d/deathlace.txt
Normal file
14
res/cardsfolder/d/deathlace.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
Name:Deathlace
|
||||
ManaCost:B
|
||||
Types:Instant
|
||||
A:SP$ Animate | Cost$ B | Colors$ Black | OverwriteColors$ True | ValidTgts$ Card | TgtZone$ Stack,Battlefield | Permanent$ True | SpellDescription$ Target spell or permanent becomes black. (Mana symbols on that permanent remain unchanged.)
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/deathlace.jpg
|
||||
SVar:RemAIDeck:True
|
||||
SetInfo:LEA|Rare|http://magiccards.info/scans/en/al/10.jpg
|
||||
SetInfo:LEB|Rare|http://magiccards.info/scans/en/be/10.jpg
|
||||
SetInfo:3ED|Rare|http://magiccards.info/scans/en/rv/10.jpg
|
||||
SetInfo:4ED|Rare|http://magiccards.info/scans/en/4e/15.jpg
|
||||
SetInfo:2ED|Rare|http://magiccards.info/scans/en/un/10.jpg
|
||||
Oracle:Target spell or permanent becomes black. (Mana symbols on that permanent remain unchanged.)
|
||||
End
|
||||
@@ -129,6 +129,13 @@ public class CardCharacteristics {
|
||||
public final void setCardColor(final Iterable<CardColor> cardColor0) {
|
||||
this.cardColor = Lists.newArrayList(cardColor0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Resets the card color.
|
||||
*/
|
||||
public final void resetCardColor() {
|
||||
this.cardColor = Lists.newArrayList(this.cardColor.subList(0, 1));
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the base attack.
|
||||
|
||||
@@ -243,6 +243,10 @@ public class GameAction {
|
||||
(!zoneTo.is(ZoneType.Battlefield) && !c.getName().equals("Skullbriar, the Walking Grave"))) {
|
||||
copied.clearCounters();
|
||||
}
|
||||
|
||||
if (!zoneTo.is(ZoneType.Battlefield)) {
|
||||
copied.getCharacteristics().resetCardColor();
|
||||
}
|
||||
|
||||
if (zoneFrom.is(ZoneType.Battlefield)) {
|
||||
copied.setSuspendCast(false);
|
||||
|
||||
Reference in New Issue
Block a user