mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Fixed resetCardColor crashing on face down cards.
This commit is contained in:
@@ -5,6 +5,7 @@ K:Flash
|
|||||||
K:Enchant creature
|
K:Enchant creature
|
||||||
A:SP$ Attach | Cost$ 2 R | ValidTgts$ Creature | AILogic$ Pump
|
A:SP$ Attach | Cost$ 2 R | ValidTgts$ Creature | AILogic$ Pump
|
||||||
S:Mode$ Continuous | Affected$ Creature.wasDealtDamageByEnchantedThisTurn | AddHiddenKeyword$ If CARDNAME would be put into a graveyard, exile it instead. | Description$ If a creature dealt damage by enchanted creature this turn would die, exile it instead.
|
S:Mode$ Continuous | Affected$ Creature.wasDealtDamageByEnchantedThisTurn | AddHiddenKeyword$ If CARDNAME would be put into a graveyard, exile it instead. | Description$ If a creature dealt damage by enchanted creature this turn would die, exile it instead.
|
||||||
|
SVar:RemRandomDeck:True
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/kumanos_blessing.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/kumanos_blessing.jpg
|
||||||
SetInfo:BOK|Common|http://magiccards.info/scans/en/bok/111.jpg
|
SetInfo:BOK|Common|http://magiccards.info/scans/en/bok/111.jpg
|
||||||
Oracle:Flash\nEnchant creature\nIf a creature dealt damage by enchanted creature this turn would die, exile it instead.
|
Oracle:Flash\nEnchant creature\nIf a creature dealt damage by enchanted creature this turn would die, exile it instead.
|
||||||
|
|||||||
@@ -136,7 +136,9 @@ public class CardCharacteristics {
|
|||||||
* Resets the card color.
|
* Resets the card color.
|
||||||
*/
|
*/
|
||||||
public final void resetCardColor() {
|
public final void resetCardColor() {
|
||||||
this.cardColor = Lists.newArrayList(this.cardColor.subList(0, 1));
|
if (!this.cardColor.isEmpty()) {
|
||||||
|
this.cardColor = Lists.newArrayList(this.cardColor.subList(0, 1));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user