*Added YouDrewThisTurn and OppDrewThisTurn to xCount.

*Added Archmage Ascension.
This commit is contained in:
Hellfish
2012-01-15 20:30:33 +00:00
parent 12848f154d
commit bd528d06d5
3 changed files with 22 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -360,6 +360,7 @@ res/cardsfolder/a/archangel.txt svneol=native#text/plain
res/cardsfolder/a/archdemon_of_unx.txt svneol=native#text/plain
res/cardsfolder/a/architects_of_will.txt svneol=native#text/plain
res/cardsfolder/a/archivist.txt svneol=native#text/plain
res/cardsfolder/a/archmage_ascension.txt -text
res/cardsfolder/a/archon_of_justice.txt svneol=native#text/plain
res/cardsfolder/a/archon_of_redemption.txt svneol=native#text/plain
res/cardsfolder/a/arctic_flats.txt svneol=native#text/plain

View File

@@ -0,0 +1,14 @@
Name:Archmage Ascension
ManaCost:2 U
Types:Enchantment
Text:no text
T:Mode$ Phase | Phase$ End of Turn | CheckSVar$ X | SVarCompare$ GE2 | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of each end step, if you drew two or more cards this turn, you may put a quest counter on CARDNAME.
R:Event$ Draw | ValidPlayer$ You | ReplaceWith$ Tutor | CheckSVar$ Y | SVarCompare$ GE6 | Optional$ True | Description$ As long as CARDNAME has six or more quest counters on it, if you would draw a card, you may instead search your library for a card, put that card into your hand, then shuffle your library.
SVar:TrigPutCounter:AB$ PutCounter | Cost$ 0 | Defined$ Self | CounterType$ QUEST | CounterNum$ 1
SVar:Tutor:AB$ ChangeZone | Cost$ 0 | Origin$ Library | Destination$ Hand | ValidCard$ Card.YouOwn
SVar:X:Count$YouDrewThisTurn
SVar:Y:Count$CardCounters.QUEST
SVar:Picture:http://www.wizards.com/global/images/magic/general/archmage_ascension.jpg
Oracle:At the beginning of each end step, if you drew two or more cards this turn, you may put a quest counter on Archmage Ascension.\nAs long as Archmage Ascension has six or more quest counters on it, if you would draw a card, you may instead search your library for a card, put that card into your hand, then shuffle your library.
SetInfo:ZEN|Rare|http://magiccards.info/scans/en/zen/42.jpg
End

View File

@@ -2757,6 +2757,13 @@ public class CardFactoryUtil {
return 0;
}
}
if(sq[0].equals("YouDrewThisTurn")) {
return CardFactoryUtil.doXMath(c.getController().getNumDrawnThisTurn(), m, c);
}
if(sq[0].equals("OppDrewThisTurn")) {
return CardFactoryUtil.doXMath(c.getController().getOpponent().getNumDrawnThisTurn(), m, c);
}
if (sq[0].equals("StormCount")) {
return CardFactoryUtil.doXMath(AllZone.getStack().getCardsCastThisTurn().size() - 1, m, c);