mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Added Autumn's Veil
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -635,6 +635,7 @@ res/cardsfolder/a/aurora_griffin.txt svneol=native#text/plain
|
|||||||
res/cardsfolder/a/auspicious_ancestor.txt svneol=native#text/plain
|
res/cardsfolder/a/auspicious_ancestor.txt svneol=native#text/plain
|
||||||
res/cardsfolder/a/austere_command.txt svneol=native#text/plain
|
res/cardsfolder/a/austere_command.txt svneol=native#text/plain
|
||||||
res/cardsfolder/a/autochthon_wurm.txt -text
|
res/cardsfolder/a/autochthon_wurm.txt -text
|
||||||
|
res/cardsfolder/a/autumns_veil.txt -text
|
||||||
res/cardsfolder/a/avacyn_angel_of_hope.txt -text
|
res/cardsfolder/a/avacyn_angel_of_hope.txt -text
|
||||||
res/cardsfolder/a/avacynian_priest.txt -text
|
res/cardsfolder/a/avacynian_priest.txt -text
|
||||||
res/cardsfolder/a/avacyns_collar.txt -text
|
res/cardsfolder/a/avacyns_collar.txt -text
|
||||||
|
|||||||
10
res/cardsfolder/a/autumns_veil.txt
Normal file
10
res/cardsfolder/a/autumns_veil.txt
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Name:Autumn's Veil
|
||||||
|
ManaCost:G
|
||||||
|
Types:Instant
|
||||||
|
A:SP$ Effect | Cost$ G | Name$ Autumn's Veil Effect | StaticAbilities$ AntiBlueBlack,STCantBeTarget | SpellDescription$ Spells you control can't be countered by blue or black spells this turn, and creatures you control can't be the targets of blue or black spells this turn.
|
||||||
|
SVar:AntiBlueBlack:Mode$ Continuous | Affected$ Card.YouCtrl | AffectedZone$ Stack | EffectZone$ Command | AddHiddenKeyword$ CARDNAME can't be countered by blue or black spells. | Description$ Spells you control can't be countered by blue or black spells this turn.
|
||||||
|
SVar:STCantBeTarget:Mode$ CantTarget | ValidCard$ Creature.YouCtrl | ValidSource$ Card.Blue,Card.Black | Spell$ True | EffectZone$ Command | Description$ Creatures you control can't be the targets of blue or black spells this turn.
|
||||||
|
SVar:RemAIDeck:True
|
||||||
|
SVar:RemRandomDeck:True
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/autumns_veil.jpg
|
||||||
|
Oracle:Spells you control can't be countered by blue or black spells this turn, and creatures you control can't be the targets of blue or black spells this turn.
|
||||||
@@ -753,8 +753,11 @@ public class CardFactoryUtil {
|
|||||||
if (!isCounterable(c)) {
|
if (!isCounterable(c)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
//TODO: Add code for Autumn's Veil here
|
// Autumn's Veil
|
||||||
|
if (c.hasKeyword("CARDNAME can't be countered by blue or black spells.") && sa.isSpell()
|
||||||
|
&& (sa.getSourceCard().isBlack() || sa.getSourceCard().isBlue())) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user