From 269c493f01d2757bb4ee65ebf6b37c0410e05e3f Mon Sep 17 00:00:00 2001 From: moomarc Date: Sun, 26 Aug 2012 17:19:27 +0000 Subject: [PATCH] - Added Musician --- .gitattributes | 1 + res/cardsfolder/m/musician.txt | 18 ++++++++++++++++++ src/main/java/forge/Counters.java | 3 +++ 3 files changed, 22 insertions(+) create mode 100644 res/cardsfolder/m/musician.txt diff --git a/.gitattributes b/.gitattributes index 11c67e87fd2..aac033c1a51 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6181,6 +6181,7 @@ res/cardsfolder/m/murmuring_bosk.txt svneol=native#text/plain res/cardsfolder/m/murmurs_from_beyond.txt -text res/cardsfolder/m/muscle_burst.txt svneol=native#text/plain res/cardsfolder/m/muscle_sliver.txt svneol=native#text/plain +res/cardsfolder/m/musician.txt -text res/cardsfolder/m/mutagenic_growth.txt svneol=native#text/plain res/cardsfolder/m/mutavault.txt svneol=native#text/plain res/cardsfolder/m/mutilate.txt svneol=native#text/plain diff --git a/res/cardsfolder/m/musician.txt b/res/cardsfolder/m/musician.txt new file mode 100644 index 00000000000..12c25c319c3 --- /dev/null +++ b/res/cardsfolder/m/musician.txt @@ -0,0 +1,18 @@ +Name:Musician +ManaCost:2 U +Types:Creature Human Wizard +Text:no text +PT:1/3 +K:Cumulative upkeep:1 +A:AB$ PutCounter | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | IsCurse$ True | CounterType$ MUSIC | CounterNum$ 1 | SubAbility$ PayThePiper | SpellDescription$ Put a music counter on target creature. If it doesn't have "At the beginning of your upkeep, destroy this creature unless you pay 1 for each music counter on it," it gains that ability. +SVar:PayThePiper:DB$ Animate | Defined$ Targeted | Permanent$ True | Keywords$ At the beginning of your upkeep, destroy this creature unless you pay 1 for each music counter on it | Triggers$ TrigMusicianPay | sVars$ MusiciansSpite,MusicX | ConditionDefined$ Targeted | ConditionPresent$ Card.withoutAt the beginning of your upkeep, destroy this creature unless you pay 1 for each music counter on it | ConditionCompare$ GE1 +#The keyword added does nothing itself other than create a keyword string to check against in the conditional +SVar:TrigMusicianPay:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ MusiciansSpite | Secondary$ True | TriggerDescription$ At the beginning of your upkeep, destroy this creature unless you pay 1 for each music counter on it. +SVar:MusiciansSpite:AB$ Destroy | Cost$ 0 | Defined$ Self | UnlessCost$ MusicX | UnlessPayer$ You | References$ MusicX +SVar:MusicX:Count$CardCounters.MUSIC +SVar:RemAIDeck:True +SVar:Rarity:Rare +SVar:Picture:http://www.wizards.com/global/images/magic/general/musician.jpg +SetInfo:ICE|Rare|http://magiccards.info/scans/en/ia/85.jpg +Oracle:Cumulative upkeep {1} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.)\n{T}: Put a music counter on target creature. If it doesn't have "At the beginning of your upkeep, destroy this creature unless you pay {1} for each music counter on it," it gains that ability. +End \ No newline at end of file diff --git a/src/main/java/forge/Counters.java b/src/main/java/forge/Counters.java index 8c19e40012b..68ec94d865c 100644 --- a/src/main/java/forge/Counters.java +++ b/src/main/java/forge/Counters.java @@ -203,6 +203,9 @@ public enum Counters { /** The MIRE. */ MIRE(), + /** The MUSIC. */ + MUSIC(), + /** The OMEN. */ OMEN(),