From 0de671fb574f29c2148f10ef000578fa1b30428e Mon Sep 17 00:00:00 2001 From: moomarc Date: Thu, 21 Feb 2013 17:36:59 +0000 Subject: [PATCH] - Added Plane: Aretopolis --- .gitattributes | 1 + res/cardsfolder/a/aretopolis.txt | 21 +++++++++++++++++++++ src/main/java/forge/CounterType.java | 3 +++ 3 files changed, 25 insertions(+) create mode 100644 res/cardsfolder/a/aretopolis.txt diff --git a/.gitattributes b/.gitattributes index 1cf352ec4d1..578738a3370 100644 --- a/.gitattributes +++ b/.gitattributes @@ -459,6 +459,7 @@ res/cardsfolder/a/ardent_recruit.txt svneol=native#text/plain res/cardsfolder/a/ardent_soldier.txt svneol=native#text/plain res/cardsfolder/a/arena_of_the_ancients.txt svneol=native#text/plain res/cardsfolder/a/arensons_aura.txt svneol=native#text/plain +res/cardsfolder/a/aretopolis.txt -text res/cardsfolder/a/argent_mutation.txt svneol=native#text/plain res/cardsfolder/a/argent_sphinx.txt -text res/cardsfolder/a/argentum_armor.txt svneol=native#text/plain diff --git a/res/cardsfolder/a/aretopolis.txt b/res/cardsfolder/a/aretopolis.txt new file mode 100644 index 00000000000..2da2336a681 --- /dev/null +++ b/res/cardsfolder/a/aretopolis.txt @@ -0,0 +1,21 @@ +Name:Aretopolis +ManaCost:no cost +Types:Plane Kephalai +Text:no text +T:Mode$ PlaneswalkedTo | ValidCard$ Plane.Self | TriggerZones$ Command | Execute$ AcquireScrolls | TriggerDescription$ When you planeswalk to CARDNAME or at the beginning of your upkeep, put a scroll counter on CARDNAME, then you gain life equal to the number of scroll counters on it. +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ AcquireScrolls | TriggerZones$ Command | Secondary$ True | TriggerDescription$ When you planeswalk to CARDNAME or at the beginning of your upkeep, put a scroll counter on CARDNAME, then you gain life equal to the number of scroll counters on it. +SVar:AcquireScrolls:AB$ PutCounter | Cost$ 0 | Defined$ Self | CounterType$ SCROLL | CounterNum$ 1 | SubAbility$ ScrollsOfLife +SVar:ScrollsOfLife:DB$ GainLife | Defined$ You | LifeAmount$ NumScrolls | References$ NumScrolls +SVar:NumScrolls:Count$CardCounters.SCROLL +T:Mode$ Always | TriggerZones$ Command | CheckSVar$ NumScrolls | SVarCompare$ GE10 | Execute$ RolledWalk | TriggerDescription$ When CARDNAME has ten or more scroll counters on it, planeswalk. +T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll Chaos, put a scroll counter on CARDNAME, then draw cards equal to the number of scroll counters on it. +SVar:RolledChaos:AB$ PutCounter | Cost$ 0 | Defined$ Self | CounterType$ SCROLL | CounterNum$ 1 | SubAbility$ ScrollsOfKnowledge +SVar:ScrollsOfKnowledge:DB$ Draw | Defined$ You | NumCards$ NumScrolls | References$ NumScrolls +T:Mode$ PlanarDice | Result$ Planeswalk | TriggerZones$ Command | Execute$ RolledWalk | Secondary$ True | TriggerDescription$ Whenever you roll Planeswalk, put this card on the bottom of its owner's planar deck face down, then move the top card of your planar deck off that planar deck and turn it face up +SVar:RolledWalk:AB$ Planeswalk | Cost$ 0 +A:AB$ RollPlanarDice | Cost$ X | SorcerySpeed$ True | ActivationZone$ Command | SpellDescription$ Roll the planar dice. +SVar:X:Count$RolledThisTurn +SVar:Picture:http://www.wizards.com/global/images/magic/general/aretopolis.jpg +SetInfo:PC2|Common|http://magiccards.info/extras/plane/planechase-2012-edition/aretopolis.jpg +Oracle:When you planeswalk to Aretopolis or at the beginning of your upkeep, put a scroll counter on Aretopolis, then you gain life equal to the number of scroll counters on it.\nWhen Aretopolis has ten or more scroll counters on it, planeswalk.\nWhenever you roll {C}, put a scroll counter on Aretopolis, then draw cards equal to the number of scroll counters on it. +End \ No newline at end of file diff --git a/src/main/java/forge/CounterType.java b/src/main/java/forge/CounterType.java index 851da6fbb70..61d99928089 100644 --- a/src/main/java/forge/CounterType.java +++ b/src/main/java/forge/CounterType.java @@ -272,6 +272,9 @@ public enum CounterType { /** The SCREAM. */ SCREAM(), + /** The SCROLL. */ + SCROLL(), + /** The SHELL. */ SHELL(),