diff --git a/res/cardsfolder/a/all_hallows_eve.txt b/res/cardsfolder/a/all_hallows_eve.txt index 77acdd38de7..95a55557976 100644 --- a/res/cardsfolder/a/all_hallows_eve.txt +++ b/res/cardsfolder/a/all_hallows_eve.txt @@ -3,8 +3,8 @@ ManaCost:2 B B Types:Sorcery Text:no text A:SP$ ChangeZone | Cost$ 2 B B | Origin$ Stack | Destination$ Exile | SubAbility$ SVar=DBPutCounter | SpellDescription$ Exile CARDNAME with two scream counters on it. At the beginning of your upkeep, if CARDNAME is exiled with a scream counter on it, remove a scream counter from it. If there are no more scream counters on it, put it into your graveyard and each player returns all creature cards from his or her graveyard to the battlefield. -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+countersGE1SCREAM | PresentZone$ Exile | Execute$ TrigRemoveCounter | TriggerZones$ Exile | TriggerDescription$ Remove scream counter from CARDNAME. -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+countersEQ0SCREAM | PresentZone$ Exile | Execute$ TrigMoveToGraveyard | TriggerZones$ Exile | Secondary$ True | TriggerDescription$ Put CARDNAME into your graveyard and return all creatures to the battlefield. +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+counters_GE1_SCREAM | PresentZone$ Exile | Execute$ TrigRemoveCounter | TriggerZones$ Exile | TriggerDescription$ Remove scream counter from CARDNAME. +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+counters_EQ0_SCREAM | PresentZone$ Exile | Execute$ TrigMoveToGraveyard | TriggerZones$ Exile | Secondary$ True | TriggerDescription$ Put CARDNAME into your graveyard and return all creatures to the battlefield. SVar:TrigRemoveCounter:AB$ RemoveCounter | Cost$ 0 | Defined$ Self | CounterType$ SCREAM | CounterNum$ 1 SVar:TrigMoveToGraveyard:AB$ ChangeZone | Cost$ 0 | Origin$ Exile | Destination$ Graveyard | Defined$ Self | SubAbility$ SVar=DBResurrection SVar:DBResurrection:DB$ChangeZoneAll | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature diff --git a/res/cardsfolder/a/aquastrand_spider.txt b/res/cardsfolder/a/aquastrand_spider.txt index d3ec4bdcd0f..28d6e06cd6a 100644 --- a/res/cardsfolder/a/aquastrand_spider.txt +++ b/res/cardsfolder/a/aquastrand_spider.txt @@ -4,7 +4,7 @@ Types:Creature Spider Mutant Text:no text PT:0/0 K:Graft 2 -A:AB$ Pump | Cost$ G | ValidTgts$ Creature.countersGE1P1P1 | TgtPrompt$ Select target creature with a +1/+1 counter | KW$ Reach | SpellDescription$ Target creature with a +1/+1 counter on it gains reach until end of turn. (It can block creatures with flying.) +A:AB$ Pump | Cost$ G | ValidTgts$ Creature.counters_GE1_P1P1 | TgtPrompt$ Select target creature with a +1/+1 counter | KW$ Reach | SpellDescription$ Target creature with a +1/+1 counter on it gains reach until end of turn. (It can block creatures with flying.) SVar:RemAIDeck:True SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/aquastrand_spider.jpg diff --git a/res/cardsfolder/a/aquitects_will.txt b/res/cardsfolder/a/aquitects_will.txt index e25f0265daf..aab2bceb737 100644 --- a/res/cardsfolder/a/aquitects_will.txt +++ b/res/cardsfolder/a/aquitects_will.txt @@ -5,7 +5,7 @@ Text:no text A:SP$ Effect | Cost$ U | Name$ Flood Effect | Keywords$ KWAnimateAll | Unique$ True | Duration$ Permanent | SubAbility$ SVar=TrigPutCounter | SpellDescription$ Put a flood counter on target land. That land is an island in addition to its other types for as long as it has a flood counter on it. If you control a Merfolk, draw a card. SVar:TrigPutCounter:DB$ PutCounter | Cost$ 0 | ValidTgts$ Land | CounterType$ FLOOD | CounterNum$ 1 | TgtPrompt$ Select target land | SubAbility$ SVar=DBDraw SVar:DBDraw:DB$ Draw | Cost$ 0 | NumCards$ 1 | ConditionPresent$ Merfolk.YouCtrl | ConditionCompare$ GE1 | ConditionDescription$ If you control a Merfolk, -S:Mode$ Continuous | Affected$ Land.countersGE1FLOOD | AddType$ Island +S:Mode$ Continuous | Affected$ Land.counters_GE1_FLOOD | AddType$ Island SVar:RemRandomDeck:True SVar:RemAIDeck:True SVar:Rarity:Common diff --git a/res/cardsfolder/a/aurification.txt b/res/cardsfolder/a/aurification.txt index 01dcca92fb9..4c25b193db0 100644 --- a/res/cardsfolder/a/aurification.txt +++ b/res/cardsfolder/a/aurification.txt @@ -4,7 +4,7 @@ Types:Enchantment Text:no text T:Mode$ DamageDone | ValidSource$ Creature | ValidTarget$ You | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature deals damage to you, put a gold counter on it. SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ TriggeredSource | CounterType$ GOLD | CounterNum$ 1 -S:Mode$ Continuous | Affected$ Creature.countersGE1GOLD | AddType$ Wall | AddKeyword$ Defender | Description$ Each creature with a gold counter on it is a Wall in addition to its other creature types and has defender. (Those creatures can't attack.) +S:Mode$ Continuous | Affected$ Creature.counters_GE1_GOLD | AddType$ Wall | AddKeyword$ Defender | Description$ Each creature with a gold counter on it is a Wall in addition to its other creature types and has defender. (Those creatures can't attack.) T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigRemove | TriggerDescription$ When CARDNAME leaves the battlefield, remove all gold counters from all creatures. SVar:TrigRemove:AB$ RemoveCounterAll | Cost$ 0 | ValidCards$ Creature | CounterType$ GOLD | AllCounters$ True SVar:Rarity:Rare diff --git a/res/cardsfolder/b/beastbreaker_of_bala_ged.txt b/res/cardsfolder/b/beastbreaker_of_bala_ged.txt index c5a0d5e8f94..e350d1e066e 100644 --- a/res/cardsfolder/b/beastbreaker_of_bala_ged.txt +++ b/res/cardsfolder/b/beastbreaker_of_bala_ged.txt @@ -7,8 +7,8 @@ K:Level up:2 G K:maxLevel:4 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 4 | SetToughness$ 4 | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 1-3 4/4 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 6 | SetToughness$ 6 | AddKeyword$ Trample | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 4+ 6/6 CARDNAME has Trample -SVar:X:Count$Valid Card.Self+countersGE1LEVEL+countersLE3LEVEL -SVar:Y:Count$Valid Card.Self+countersGE4LEVEL +SVar:X:Count$Valid Card.Self+counters_GE1_LEVEL+counters_LE3_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE4_LEVEL SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/beastbreaker_of_bala_ged.jpg SetInfo:ROE|Uncommon|http://magiccards.info/scans/en/roe/178.jpg diff --git a/res/cardsfolder/b/beastmaster_ascension.txt b/res/cardsfolder/b/beastmaster_ascension.txt index db79cd20054..d1527b93b1f 100644 --- a/res/cardsfolder/b/beastmaster_ascension.txt +++ b/res/cardsfolder/b/beastmaster_ascension.txt @@ -5,7 +5,7 @@ Text:no text S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddPower$ 5 | AddToughness$ 5 | CheckSVar$ X | SVarCompare$ EQ1 | Description$ As long as CARDNAME has seven or more quest counters on it, creatures you control get +5/+5. T:Mode$ Attacks | ValidCard$ Creature.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPut | OptionalDecider$ You | TriggerDescription$ Whenever a creature you control attacks, you may put a quest counter on CARDNAME. SVar:TrigPut:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ QUEST | CounterNum$ 1 -SVar:X:Count$Valid Card.Self+countersGE7QUEST +SVar:X:Count$Valid Card.Self+counters_GE7_QUEST SVar:PlayMain1:TRUE SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/beastmaster_ascension.jpg diff --git a/res/cardsfolder/b/blowfly_infestation.txt b/res/cardsfolder/b/blowfly_infestation.txt index 029288e282b..516e6a32d02 100644 --- a/res/cardsfolder/b/blowfly_infestation.txt +++ b/res/cardsfolder/b/blowfly_infestation.txt @@ -2,7 +2,7 @@ Name:Blowfly Infestation ManaCost:2 B Types:Enchantment Text:no text -T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.countersGE1M1M1 | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature dies, if it had a -1/-1 counter on it, put a -1/-1 counter on target creature. +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.counters_GE1_M1M1 | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature dies, if it had a -1/-1 counter on it, put a -1/-1 counter on target creature. SVar:TrigPutCounter:DB$PutCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ M1M1 | CounterNum$ 1 | IsCurse$ True SVar:RemRandomDeck:True SVar:Rarity:Uncommon diff --git a/res/cardsfolder/b/bounty_hunter.txt b/res/cardsfolder/b/bounty_hunter.txt index a46e8570bd9..c28b7c27449 100644 --- a/res/cardsfolder/b/bounty_hunter.txt +++ b/res/cardsfolder/b/bounty_hunter.txt @@ -4,7 +4,7 @@ Types:Creature Human Archer Minion Text:no text PT:2/2 A:AB$ PutCounter | Cost$ T | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | CounterType$ BOUNTY | CounterNum$ 1 | IsCurse$ True | SpellDescription$ Put a bounty counter on target nonblack creature. -A:AB$ Destroy | Cost$ T | ValidTgts$ Creature.countersGE1BOUNTY | TgtPrompt$ Select target creature with a bounty counter on it | SpellDescription$ Destroy target creature with a bounty counter on it. +A:AB$ Destroy | Cost$ T | ValidTgts$ Creature.counters_GE1_BOUNTY | TgtPrompt$ Select target creature with a bounty counter on it | SpellDescription$ Destroy target creature with a bounty counter on it. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/bounty_hunter.jpg SetInfo:TMP|Rare|http://magiccards.info/scans/en/tp/4.jpg diff --git a/res/cardsfolder/b/bramblewood_paragon.txt b/res/cardsfolder/b/bramblewood_paragon.txt index d86dba3267b..ddea7097bd7 100644 --- a/res/cardsfolder/b/bramblewood_paragon.txt +++ b/res/cardsfolder/b/bramblewood_paragon.txt @@ -5,7 +5,7 @@ Text:no text PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Warrior+Other+YouCtrl |TriggerZones$ Battlefield | Execute$ TrigPutCounter | Static$ True | TriggerDescription$ Each other Warrior creature you control enters the battlefield with an additional +1/+1 counter on it. SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ TriggeredCard | CounterType$ P1P1 | CounterNum$ 1 -S:Mode$ Continuous | Affected$ Creature.YouCtrl+countersGE1P1P1 | AddKeyword$ Trample | Description$ Each creature you control with a +1/+1 counter on it has trample. +S:Mode$ Continuous | Affected$ Creature.YouCtrl+counters_GE1_P1P1 | AddKeyword$ Trample | Description$ Each creature you control with a +1/+1 counter on it has trample. SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/bramblewood_paragon.jpg SetInfo:MOR|Uncommon|http://magiccards.info/scans/en/mt/115.jpg diff --git a/res/cardsfolder/b/brimstone_mage.txt b/res/cardsfolder/b/brimstone_mage.txt index 2feeb1581f2..62c7685890e 100644 --- a/res/cardsfolder/b/brimstone_mage.txt +++ b/res/cardsfolder/b/brimstone_mage.txt @@ -9,8 +9,8 @@ S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 2 | SetToughness$ 3 | AddAb S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 2 | SetToughness$ 4 | AddAbility$ Bolt | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 3+ 2/4 CARDNAME gets tap: CARDNAME deals 3 damage to target creature or player. SVar:Ping:AB$DealDamage | Cost$ T | Tgt$ TgtCP | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to target creature or player. SVar:Bolt:AB$DealDamage | Cost$ T | Tgt$ TgtCP | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to target creature or player. -SVar:X:Count$Valid Card.Self+countersGE1LEVEL+countersLE2LEVEL -SVar:Y:Count$Valid Card.Self+countersGE3LEVEL +SVar:X:Count$Valid Card.Self+counters_GE1_LEVEL+counters_LE2_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE3_LEVEL SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/brimstone_mage.jpg SetInfo:ROE|Uncommon|http://magiccards.info/scans/en/roe/137.jpg diff --git a/res/cardsfolder/c/caravan_escort.txt b/res/cardsfolder/c/caravan_escort.txt index 222eefdeb59..1df6e731a6c 100644 --- a/res/cardsfolder/c/caravan_escort.txt +++ b/res/cardsfolder/c/caravan_escort.txt @@ -7,8 +7,8 @@ K:Level up:2 K:maxLevel:5 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 2 | SetToughness$ 2 | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 1-4 2/2 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 5 | SetToughness$ 5 | AddKeyword$ First Strike | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 5+ 5/5 CARDNAME has First Strike -SVar:X:Count$Valid Card.Self+countersGE1LEVEL+countersLE4LEVEL -SVar:Y:Count$Valid Card.Self+countersGE5LEVEL +SVar:X:Count$Valid Card.Self+counters_GE1_LEVEL+counters_LE4_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE5_LEVEL SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/caravan_escort.jpg SetInfo:ROE|Common|http://magiccards.info/scans/en/roe/15.jpg diff --git a/res/cardsfolder/c/chainbreaker.txt b/res/cardsfolder/c/chainbreaker.txt index 4ff5a34c3dd..ff4be6acccb 100644 --- a/res/cardsfolder/c/chainbreaker.txt +++ b/res/cardsfolder/c/chainbreaker.txt @@ -4,7 +4,7 @@ Types:Artifact Creature Scarecrow Text:no text PT:3/3 K:etbCounter:M1M1:2 -A:AB$ RemoveCounter | Cost$ 3 T | ValidTgts$ Creature.countersGE1M1M1 | TgtPrompt$ Select target creature | CounterType$ M1M1 | CounterNum$ 1 | SpellDescription$ Remove a -1/-1 counter from target creature. +A:AB$ RemoveCounter | Cost$ 3 T | ValidTgts$ Creature.counters_GE1_M1M1 | TgtPrompt$ Select target creature | CounterType$ M1M1 | CounterNum$ 1 | SpellDescription$ Remove a -1/-1 counter from target creature. #AI cannot handle target RemoveCounter AFs. SVar:RemAIDeck:True SVar:Rarity:Common diff --git a/res/cardsfolder/c/coralhelm_commander.txt b/res/cardsfolder/c/coralhelm_commander.txt index 0b9a51ca71d..b53bef68be7 100644 --- a/res/cardsfolder/c/coralhelm_commander.txt +++ b/res/cardsfolder/c/coralhelm_commander.txt @@ -8,8 +8,8 @@ K:maxLevel:4 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 3 | SetToughness$ 3 | AddKeyword$ Flying | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 2-3 3/3 CARDNAME has Flying S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 4 | SetToughness$ 4 | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 4+ Flying 4/4 CARDNAME has Flying, Other Merfolk you control get +1/+1 S:Mode$ Continuous | Affected$ Creature.Merfolk+YouCtrl+Other | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ Y | SVarCompare$ EQ1 -SVar:X:Count$Valid Card.Self+countersGE2LEVEL+countersLE3LEVEL -SVar:Y:Count$Valid Card.Self+countersGE4LEVEL +SVar:X:Count$Valid Card.Self+counters_GE2_LEVEL+counters_LE3_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE4_LEVEL SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/coralhelm_commander.jpg SetInfo:ROE|Rare|http://magiccards.info/scans/en/roe/57.jpg diff --git a/res/cardsfolder/c/crumbling_ashes.txt b/res/cardsfolder/c/crumbling_ashes.txt index 410ade7f204..3c48da8d226 100644 --- a/res/cardsfolder/c/crumbling_ashes.txt +++ b/res/cardsfolder/c/crumbling_ashes.txt @@ -3,7 +3,7 @@ ManaCost:1 B Types:Enchantment Text:no text T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDestroy | TriggerDescription$ At the beginning of your upkeep, destroy target creature with a -1/-1 counter on it. -SVar:TrigDestroy:AB$Destroy | Cost$ 0 | ValidTgts$ Creature.countersGE1M1M1 | TgtPrompt$ Select target creature with a -1/-1 counter on it. +SVar:TrigDestroy:AB$Destroy | Cost$ 0 | ValidTgts$ Creature.counters_GE1_M1M1 | TgtPrompt$ Select target creature with a -1/-1 counter on it. SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/crumbling_ashes.jpg SetInfo:EVE|Uncommon|http://magiccards.info/scans/en/eve/35.jpg diff --git a/res/cardsfolder/c/cytoplast_manipulator.txt b/res/cardsfolder/c/cytoplast_manipulator.txt index b6ab8c5f687..7b4fcd43c9d 100644 --- a/res/cardsfolder/c/cytoplast_manipulator.txt +++ b/res/cardsfolder/c/cytoplast_manipulator.txt @@ -4,7 +4,7 @@ Types:Creature Human Wizard Mutant Text:no text PT:0/0 K:Graft 2 -A:AB$ GainControl | Cost$ U T | ValidTgts$ Creature.countersGE1P1P1 | TgtPrompt$ Select target creature with a +1/+1 counter | LoseControl$ LeavesPlay | SpellDescription$ Gain control of target creature with a +1/+1 counter on it for as long as CARDNAME remains on the battlefield. +A:AB$ GainControl | Cost$ U T | ValidTgts$ Creature.counters_GE1_P1P1 | TgtPrompt$ Select target creature with a +1/+1 counter | LoseControl$ LeavesPlay | SpellDescription$ Gain control of target creature with a +1/+1 counter on it for as long as CARDNAME remains on the battlefield. SVar:RemAIDeck:True SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/cytoplast_manipulator.jpg diff --git a/res/cardsfolder/c/cytospawn_shambler.txt b/res/cardsfolder/c/cytospawn_shambler.txt index 4ee38b2b16e..98fbaa6072b 100644 --- a/res/cardsfolder/c/cytospawn_shambler.txt +++ b/res/cardsfolder/c/cytospawn_shambler.txt @@ -4,7 +4,7 @@ Types:Creature Elemental Mutant Text:no text PT:0/0 K:Graft 6 -A:AB$ Pump | Cost$ G | ValidTgts$ Creature.countersGE1P1P1 | TgtPrompt$ Select target creature with a +1/+1 counter | KW$ Trample | SpellDescription$ Target creature with a +1/+1 counter on it gains trample until end of turn. +A:AB$ Pump | Cost$ G | ValidTgts$ Creature.counters_GE1_P1P1 | TgtPrompt$ Select target creature with a +1/+1 counter | KW$ Trample | SpellDescription$ Target creature with a +1/+1 counter on it gains trample until end of turn. SVar:RemAIDeck:True SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/cytospawn_shambler.jpg diff --git a/res/cardsfolder/d/darksteel_reactor.txt b/res/cardsfolder/d/darksteel_reactor.txt index 9736af46d70..9ea8769a1d4 100644 --- a/res/cardsfolder/d/darksteel_reactor.txt +++ b/res/cardsfolder/d/darksteel_reactor.txt @@ -3,7 +3,7 @@ ManaCost:4 Types:Artifact Text:no text K:Indestructible -T:Mode$ Always | TriggerZones$ Battlefield | IsPresent$ Card.Self+countersGEXCHARGE+YouCtrl | PresentCompare$ GE1 | Execute$ TrigWinGame | TriggerDescription$ When CARDNAME has twenty or more charge counters on it, you win the game. +T:Mode$ Always | TriggerZones$ Battlefield | IsPresent$ Card.Self+counters_GEX_CHARGE+YouCtrl | PresentCompare$ GE1 | Execute$ TrigWinGame | TriggerDescription$ When CARDNAME has twenty or more charge counters on it, you win the game. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigPutCounter | OptionalDecider$ You | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, you may put a charge counter on CARDNAME. SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | CounterType$ CHARGE | CounterNum$ 1 | Defined$ Self SVar:TrigWinGame:AB$WinsGame | Cost$ 0 | Defined$ You diff --git a/res/cardsfolder/d/deep_sea_kraken.txt b/res/cardsfolder/d/deep_sea_kraken.txt index bf32932c7cb..3e4e5c874ab 100644 --- a/res/cardsfolder/d/deep_sea_kraken.txt +++ b/res/cardsfolder/d/deep_sea_kraken.txt @@ -5,7 +5,7 @@ Text:no text PT:6/6 K:Unblockable K:Suspend:9:2 U -T:Mode$ SpellCast | ValidCard$ Card.YouDontCtrl | Execute$ TrigRemoveCounter | IsPresent$ Card.countersGE1TIME+Self | PresentZone$ Exile | TriggerDescription$ Whenever an opponent casts a spell, if CARDNAME is suspended, remove a time counter from it. +T:Mode$ SpellCast | ValidCard$ Card.YouDontCtrl | Execute$ TrigRemoveCounter | IsPresent$ Card.counters_GE1_TIME+Self | PresentZone$ Exile | TriggerDescription$ Whenever an opponent casts a spell, if CARDNAME is suspended, remove a time counter from it. SVar:TrigRemoveCounter:AB$RemoveCounter | Cost$ 0 | Defined$ Self | CounterType$ TIME | CounterNum$ 1 SVar:RemAIDeck:True SVar:Rarity:Rare diff --git a/res/cardsfolder/e/echo_mage.txt b/res/cardsfolder/e/echo_mage.txt index 1dd60ed2453..10568b48f74 100644 --- a/res/cardsfolder/e/echo_mage.txt +++ b/res/cardsfolder/e/echo_mage.txt @@ -9,8 +9,8 @@ S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 2 | SetToughness$ 4 | AddAb S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 2 | SetToughness$ 5 | AddAbility$ CopyTwice | AddSVar$ CopyTwice2 | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 4+ 2/5 CARDNAME gets U U,tap:Copy target instant or sorcery spell twice. You may choose new targets for the copies. SVar:CopyOnce:AB$CopySpell | Cost$ U U T | ValidTgts$ Instant,Sorcery | SpellDescription$ Copy target instant or sorcery spell. You may choose new targets for the copy. SVar:CopyTwice:AB$CopySpell | Cost$ U U T | ValidTgts$ Instant,Sorcery | Amount$ 2 | SpellDescription$ Copy target instant or sorcery spell twice. You may choose new targets for the copies. -SVar:X:Count$Valid Card.Self+countersGE2LEVEL+countersLT4LEVEL -SVar:Y:Count$Valid Card.Self+countersGE4LEVEL +SVar:X:Count$Valid Card.Self+counters_GE2_LEVEL+counters_LT4_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE4_LEVEL SVar:RemAIDeck:True SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/echo_mage.jpg diff --git a/res/cardsfolder/e/enclave_cryptologist.txt b/res/cardsfolder/e/enclave_cryptologist.txt index 0f1284ffe3f..0eafc0a3f54 100644 --- a/res/cardsfolder/e/enclave_cryptologist.txt +++ b/res/cardsfolder/e/enclave_cryptologist.txt @@ -10,8 +10,8 @@ S:Mode$ Continuous | Affected$ Card.Self | AddAbility$ Draw | CheckSVar$ Y | SVa SVar:Loot:AB$Draw | Cost$ T | NumCards$ 1 | SpellDescription$ Draw a card, then discard a card. | SubAbility$ DBDiscard SVar:Draw:AB$Draw | Cost$ T | NumCards$ 1 | SpellDescription$ Draw a card. SVar:DBDiscard:DB$Discard | Defined$ You | Mode$ TgtChoose | NumCards$ 1 -SVar:X:Count$Valid Card.Self+countersGE1LEVEL+countersLT3LEVEL -SVar:Y:Count$Valid Card.Self+countersGE3LEVEL +SVar:X:Count$Valid Card.Self+counters_GE1_LEVEL+counters_LT3_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE3_LEVEL SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/enclave_cryptologist.jpg SetInfo:ROE|Uncommon|http://magiccards.info/scans/en/roe/66.jpg diff --git a/res/cardsfolder/g/guul_draz_assassin.txt b/res/cardsfolder/g/guul_draz_assassin.txt index 015270a576f..e01158c88e6 100644 --- a/res/cardsfolder/g/guul_draz_assassin.txt +++ b/res/cardsfolder/g/guul_draz_assassin.txt @@ -9,8 +9,8 @@ S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 2 | SetToughness$ 2 | AddAb S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 4 | SetToughness$ 4 | AddAbility$ HighLvl | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 4+ 4/4 CARDNAME has B, tap: Target creature gets -4/-4 until end of turn. SVar:LowLvl:AB$ Pump | Cost$ B T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -2 | NumDef$ -2 | IsCurse$ True | SpellDescription$ Target creature gets -2/-2 until end of turn. SVar:HighLvl:AB$ Pump | Cost$ B T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -4 | NumDef$ -4 | IsCurse$ True | SpellDescription$ Target creature gets -4/-4 until end of turn. -SVar:X:Count$Valid Card.Self+countersGE2LEVEL+countersLT4LEVEL -SVar:Y:Count$Valid Card.Self+countersGE4LEVEL +SVar:X:Count$Valid Card.Self+counters_GE2_LEVEL+counters_LT4_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE4_LEVEL SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/guul_draz_assassin.jpg SetInfo:ROE|Rare|http://magiccards.info/scans/en/roe/112.jpg diff --git a/res/cardsfolder/g/gwafa_hazid_profiteer.txt b/res/cardsfolder/g/gwafa_hazid_profiteer.txt index 1892fec25f8..086ffe78ad5 100644 --- a/res/cardsfolder/g/gwafa_hazid_profiteer.txt +++ b/res/cardsfolder/g/gwafa_hazid_profiteer.txt @@ -3,7 +3,7 @@ ManaCost:1 W U Types:Legendary Creature Human Rogue Text:no text PT:2/2 -S:Mode$ Continuous | Affected$ Creature.countersGE1BRIBERY | AddHiddenKeyword$ HIDDEN CARDNAME can't attack or block. | Description$ Creatures with bribery counters on them can't attack or block. +S:Mode$ Continuous | Affected$ Creature.counters_GE1_BRIBERY | AddHiddenKeyword$ HIDDEN CARDNAME can't attack or block. | Description$ Creatures with bribery counters on them can't attack or block. A:AB$ PutCounter | Cost$ W U T | ValidTgts$ Creature.YouDontCtrl | TgtPrompt$ Select target creature you don't control. | CounterType$ BRIBERY | CounterNum$ 1 | SubAbility$ SVar=DBDraw | SpellDescription$ Put a bribery counter on target creature you don't control. Its controller draws a card. SVar:DBDraw:DB$Draw | Defined$ TargetedController | NumCards$ 1 SVar:Rarity:Rare diff --git a/res/cardsfolder/h/hada_spy_patrol.txt b/res/cardsfolder/h/hada_spy_patrol.txt index fe65318ba8e..d7accc6aab8 100644 --- a/res/cardsfolder/h/hada_spy_patrol.txt +++ b/res/cardsfolder/h/hada_spy_patrol.txt @@ -7,8 +7,8 @@ K:Level up:2 U K:maxLevel:3 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 2 | SetToughness$ 2 | AddKeyword$ Unblockable | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 1-2 2/2 CARDNAME is Unblockable S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 3 | SetToughness$ 3 | AddKeyword$ Shroud | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 3+ 3/3 CARDNAME is Unblockable and has Shroud -SVar:X:Count$Valid Card.Self+countersGE1LEVEL+countersLE2LEVEL -SVar:Y:Count$Valid Card.Self+countersGE3LEVEL +SVar:X:Count$Valid Card.Self+counters_GE1_LEVEL+counters_LE2_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE3_LEVEL SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/hada_spy_patrol.jpg SetInfo:ROE|Uncommon|http://magiccards.info/scans/en/roe/71.jpg diff --git a/res/cardsfolder/h/halimar_wavewatch.txt b/res/cardsfolder/h/halimar_wavewatch.txt index c2a994bd5a9..f3c5a616f00 100644 --- a/res/cardsfolder/h/halimar_wavewatch.txt +++ b/res/cardsfolder/h/halimar_wavewatch.txt @@ -7,8 +7,8 @@ K:Level up:2 K:maxLevel:5 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 0 | SetToughness$ 6 | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 1-4 0/6 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 6 | SetToughness$ 6 | AddKeyword$ Islandwalk | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 5+ 6/6 CARDNAME has Islandwalk -SVar:X:Count$Valid Card.Self+countersGE1LEVEL+countersLE4LEVEL -SVar:Y:Count$Valid Card.Self+countersGE5LEVEL +SVar:X:Count$Valid Card.Self+counters_GE1_LEVEL+counters_LE4_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE5_LEVEL SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/halimar_wavewatch.jpg SetInfo:ROE|Common|http://magiccards.info/scans/en/roe/72.jpg diff --git a/res/cardsfolder/h/helium_squirter.txt b/res/cardsfolder/h/helium_squirter.txt index c0b5359d119..2957f2e36a0 100644 --- a/res/cardsfolder/h/helium_squirter.txt +++ b/res/cardsfolder/h/helium_squirter.txt @@ -4,7 +4,7 @@ Types:Creature Beast Mutant Text:no text PT:0/0 K:Graft 3 -A:AB$ Pump | Cost$ 1 | ValidTgts$ Creature.countersGE1P1P1 | TgtPrompt$ Select target creature with a +1/+1 counter | KW$ Flying | SpellDescription$ Target creature with a +1/+1 counter on it gains flying until end of turn. +A:AB$ Pump | Cost$ 1 | ValidTgts$ Creature.counters_GE1_P1P1 | TgtPrompt$ Select target creature with a +1/+1 counter | KW$ Flying | SpellDescription$ Target creature with a +1/+1 counter on it gains flying until end of turn. SVar:RemAIDeck:True SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/helium_squirter.jpg diff --git a/res/cardsfolder/h/helix_pinnacle.txt b/res/cardsfolder/h/helix_pinnacle.txt index c2106688a5e..8b2e6438a13 100644 --- a/res/cardsfolder/h/helix_pinnacle.txt +++ b/res/cardsfolder/h/helix_pinnacle.txt @@ -1,8 +1,8 @@ Name:Helix Pinnacle ManaCost:G Types:Enchantment -# This cannot yet be converted to AF_WinsGame due to a limitation in how hasProperty determines the numeric value to compare Counters to -Text:At the beginning of your upkeep, if there are 100 or more tower counters on Helix Pinnacle, you win the game. +Text:no text +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | IsPresent$ Card.Self+counters_GE100_TOWER | TriggerDescription$ At the beginning of your upkeep, if there are 100 or more tower counters on Helix Pinnacle, you win the game. K:Shroud A:AB$ PutCounter | Cost$ X | CounterType$ TOWER | CounterNum$ X | SpellDescription$ Put a tower counter on CARDNAME. SVar:X:Count$xPaid diff --git a/res/cardsfolder/h/homarid.txt b/res/cardsfolder/h/homarid.txt index faed6455606..814612ab837 100644 --- a/res/cardsfolder/h/homarid.txt +++ b/res/cardsfolder/h/homarid.txt @@ -5,8 +5,8 @@ Text:Whenever there are four tide counters on CARDNAME, remove all tide counters PT:2/2 K:etbCounter:TIDE:1 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a tide counter on CARDNAME. -S:Mode$ Continuous | Affected$ Card.Self+countersEQ1TIDE | AddPower$ -1 | AddToughness$ -1 | Description$ As long as there is exactly one tide counter on CARDNAME, it gets -1/-1. -S:Mode$ Continuous | Affected$ Card.Self+countersEQ3TIDE | AddPower$ 1 | AddToughness$ 1 | Description$ As long as there are exactly three tide counters on CARDNAME, it gets +1/+1. +S:Mode$ Continuous | Affected$ Card.Self+counters_EQ1_TIDE | AddPower$ -1 | AddToughness$ -1 | Description$ As long as there is exactly one tide counter on CARDNAME, it gets -1/-1. +S:Mode$ Continuous | Affected$ Card.Self+counters_EQ3_TIDE | AddPower$ 1 | AddToughness$ 1 | Description$ As long as there are exactly three tide counters on CARDNAME, it gets +1/+1. SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ TIDE | CounterNum$ 1 SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/homarid.jpg diff --git a/res/cardsfolder/i/ikiral_outrider.txt b/res/cardsfolder/i/ikiral_outrider.txt index 5c9d0d36d58..65e64672c8d 100644 --- a/res/cardsfolder/i/ikiral_outrider.txt +++ b/res/cardsfolder/i/ikiral_outrider.txt @@ -7,8 +7,8 @@ K:Level up:4 K:maxLevel:4 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 2 | SetToughness$ 6 | AddKeyword$ Vigilance | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 1-3 2/6 CARDNAME has Vigilance S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 3 | SetToughness$ 10 | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 4+ 3/10 CARDNAME has Vigilance -SVar:X:Count$Valid Card.Self+countersGE1LEVEL+countersLE3LEVEL -SVar:Y:Count$Valid Card.Self+countersGE4LEVEL +SVar:X:Count$Valid Card.Self+counters_GE1_LEVEL+counters_LE3_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE4_LEVEL SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/ikiral_outrider.jpg SetInfo:ROE|Common|http://magiccards.info/scans/en/roe/27.jpg diff --git a/res/cardsfolder/j/joraga_treespeaker.txt b/res/cardsfolder/j/joraga_treespeaker.txt index 5579b2f539d..c71cc5be707 100644 --- a/res/cardsfolder/j/joraga_treespeaker.txt +++ b/res/cardsfolder/j/joraga_treespeaker.txt @@ -9,8 +9,8 @@ S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 1 | SetToughness$ 2 | AddAb S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 1 | SetToughness$ 4 | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 5+ 1/4 Elves you control have "Tap: Add G G to your mana pool." S:Mode$ Continuous | Affected$ Card.Elf+YouCtrl | AddAbility$ Mana | CheckSVar$ Y | SVarCompare$ EQ1 SVar:Mana:AB$Mana | Cost$ T | Produced$ G | Amount$ 2 | SpellDescription$ Add G G to your mana pool. -SVar:X:Count$Valid Card.Self+countersGE1LEVEL+countersLT5LEVEL -SVar:Y:Count$Valid Card.Self+countersGE5LEVEL +SVar:X:Count$Valid Card.Self+counters_GE1_LEVEL+counters_LT5_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE5_LEVEL SVar:RemAIDeck:True SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/joraga_treespeaker.jpg diff --git a/res/cardsfolder/k/kabira_vindicator.txt b/res/cardsfolder/k/kabira_vindicator.txt index acce6d64506..d66be257d76 100644 --- a/res/cardsfolder/k/kabira_vindicator.txt +++ b/res/cardsfolder/k/kabira_vindicator.txt @@ -9,8 +9,8 @@ S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 3 | SetToughness$ 6 | Check S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 4 | SetToughness$ 8 | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 5+ 4/8 Other creatures you control get +2/+2. S:Mode$ Continuous | Affected$ Creature.YouCtrl+Other | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ X | SVarCompare$ EQ1 S:Mode$ Continuous | Affected$ Creature.YouCtrl+Other | AddPower$ 2 | AddToughness$ 2 | CheckSVar$ Y | SVarCompare$ EQ1 -SVar:X:Count$Valid Card.Self+countersGE2LEVEL+countersLT5LEVEL -SVar:Y:Count$Valid Card.Self+countersGE5LEVEL +SVar:X:Count$Valid Card.Self+counters_GE2_LEVEL+counters_LT5_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE5_LEVEL SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/kabira_vindicator.jpg SetInfo:ROE|Uncommon|http://magiccards.info/scans/en/roe/28.jpg diff --git a/res/cardsfolder/k/kargan_dragonlord.txt b/res/cardsfolder/k/kargan_dragonlord.txt index de100146b7f..2121d5f3cfc 100644 --- a/res/cardsfolder/k/kargan_dragonlord.txt +++ b/res/cardsfolder/k/kargan_dragonlord.txt @@ -8,8 +8,8 @@ K:maxLevel:8 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 4 | SetToughness$ 4 | AddKeyword$ Flying | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 4-7 4/4 CARDNAME has Flying S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 8 | SetToughness$ 8 | AddKeyword$ Trample | AddAbility$ Pump | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 8+ 8/8 CARDNAME has Flying and Trample and R: CARDNAME gets +1/+0 until end of turn. SVar:Pump:AB$Pump | Cost$ R | Defined$ Self | NumAtt$ 1 | SpellDescription$ CARDNAME gets +1/+0 until end of turn. -SVar:X:Count$Valid Card.Self+countersGE4LEVEL+countersLE7LEVEL -SVar:Y:Count$Valid Card.Self+countersGE8LEVEL +SVar:X:Count$Valid Card.Self+counters_GE4_LEVEL+counters_LE7_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE8_LEVEL SVar:Rarity:Mythic SVar:Picture:http://www.wizards.com/global/images/magic/general/kargan_dragonlord.jpg SetInfo:ROE|Mythic|http://magiccards.info/scans/en/roe/152.jpg diff --git a/res/cardsfolder/k/kazandu_tuskcaller.txt b/res/cardsfolder/k/kazandu_tuskcaller.txt index 0d51d6055af..4a03d55f734 100644 --- a/res/cardsfolder/k/kazandu_tuskcaller.txt +++ b/res/cardsfolder/k/kazandu_tuskcaller.txt @@ -9,8 +9,8 @@ S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 1 | SetToughness$ 1 | AddAb S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 1 | SetToughness$ 1 | AddAbility$ TokenHigh | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 6+ 1/1 Tap: Put two 3/3 green Elephant creature tokens onto the battlefield. SVar:TokenLow:AB$Token | Cost$ T | TokenAmount$ 1 | TokenName$ Elephant | TokenTypes$ Creature,Elephant | TokenOwner$ You | TokenColors$ Green | TokenPower$ 3 | TokenToughness$ 3 | SpellDescription$ Put a 3/3 green Elephant creature token onto the battlefield. SVar:TokenHigh:AB$Token | Cost$ T | TokenAmount$ 2 | TokenName$ Elephant | TokenTypes$ Creature,Elephant | TokenOwner$ You | TokenColors$ Green | TokenPower$ 3 | TokenToughness$ 3 | SpellDescription$ Put two 3/3 green Elephant creature tokens onto the battlefield. -SVar:X:Count$Valid Card.Self+countersGE2LEVEL+countersLE5LEVEL -SVar:Y:Count$Valid Card.Self+countersGE6LEVEL +SVar:X:Count$Valid Card.Self+counters_GE2_LEVEL+counters_LE5_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE6_LEVEL SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/kazandu_tuskcaller.jpg SetInfo:ROE|Rare|http://magiccards.info/scans/en/roe/191.jpg diff --git a/res/cardsfolder/k/knight_of_cliffhaven.txt b/res/cardsfolder/k/knight_of_cliffhaven.txt index e14a1915900..aac32610801 100644 --- a/res/cardsfolder/k/knight_of_cliffhaven.txt +++ b/res/cardsfolder/k/knight_of_cliffhaven.txt @@ -7,8 +7,8 @@ K:Level up:3 K:maxLevel:4 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 2 | SetToughness$ 3 | AddKeyword$ Flying | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 1-3 2/3 CARDNAME has Flying S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 4 | SetToughness$ 4 | AddKeyword$ Vigilance | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 4+ 4/4 CARDNAME has Flying and Vigilance -SVar:X:Count$Valid Card.Self+countersGE1LEVEL+countersLE3LEVEL -SVar:Y:Count$Valid Card.Self+countersGE4LEVEL +SVar:X:Count$Valid Card.Self+counters_GE1_LEVEL+counters_LE3_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE4_LEVEL SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/knight_of_cliffhaven.jpg SetInfo:ROE|Common|http://magiccards.info/scans/en/roe/29.jpg diff --git a/res/cardsfolder/l/land_cap.txt b/res/cardsfolder/l/land_cap.txt index 2c99c6ee922..0a71f03af40 100644 --- a/res/cardsfolder/l/land_cap.txt +++ b/res/cardsfolder/l/land_cap.txt @@ -2,7 +2,7 @@ Name:Land Cap ManaCost:no cost Types:Land Text:no text -S:Mode$ Continuous | Affected$ Card.Self+countersGE1DEPLETION | AddHiddenKeyword$ HIDDEN CARDNAME doesn't untap during your untap step. | Description$ CARDNAME doesn't untap during your untap step if it has a depletion counter on it. +S:Mode$ Continuous | Affected$ Card.Self+counters_GE1_DEPLETION | AddHiddenKeyword$ HIDDEN CARDNAME doesn't untap during your untap step. | Description$ CARDNAME doesn't untap during your untap step if it has a depletion counter on it. A:AB$ Mana | Cost$ T | Produced$ W | Amount$ 1 | SubAbility$ SVar=AddCounter | SpellDescription$ Add W to your mana pool. Put a depletion counter on CARDNAME. A:AB$ Mana | Cost$ T | Produced$ U | Amount$ 1 | SubAbility$ SVar=AddCounter | SpellDescription$ Add U to your mana pool. Put a depletion counter on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSubCounter | TriggerDescription$ At the beginning of your upkeep, remove a depletion counter from CARDNAME. diff --git a/res/cardsfolder/l/lava_tubes.txt b/res/cardsfolder/l/lava_tubes.txt index 2f41d866c59..55ff2e926d6 100644 --- a/res/cardsfolder/l/lava_tubes.txt +++ b/res/cardsfolder/l/lava_tubes.txt @@ -2,7 +2,7 @@ Name:Lava Tubes ManaCost:no cost Types:Land Text:no text -S:Mode$ Continuous | Affected$ Card.Self+countersGE1DEPLETION | AddHiddenKeyword$ HIDDEN CARDNAME doesn't untap during your untap step. | Description$ CARDNAME doesn't untap during your untap step if it has a depletion counter on it. +S:Mode$ Continuous | Affected$ Card.Self+counters_GE1_DEPLETION | AddHiddenKeyword$ HIDDEN CARDNAME doesn't untap during your untap step. | Description$ CARDNAME doesn't untap during your untap step if it has a depletion counter on it. A:AB$ Mana | Cost$ T | Produced$ B | Amount$ 1 | SubAbility$ SVar=AddCounter | SpellDescription$ Add B to your mana pool. Put a depletion counter on CARDNAME. A:AB$ Mana | Cost$ T | Produced$ R | Amount$ 1 | SubAbility$ SVar=AddCounter | SpellDescription$ Add R to your mana pool. Put a depletion counter on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSubCounter | TriggerDescription$ At the beginning of your upkeep, remove a depletion counter from CARDNAME. diff --git a/res/cardsfolder/l/liege_of_the_tangle.txt b/res/cardsfolder/l/liege_of_the_tangle.txt index bd3a10015da..8ca72eb2435 100644 --- a/res/cardsfolder/l/liege_of_the_tangle.txt +++ b/res/cardsfolder/l/liege_of_the_tangle.txt @@ -4,12 +4,12 @@ Types:Creature Elemental Text:no text PT:8/8 K:Trample -S:Mode$ Continuous | Affected$ Card.countersGE1AWAKENING | AddType$ Creature & Elemental | SetColor$ Green | SetPower$ 8 | SetToughness$ 8 +S:Mode$ Continuous | Affected$ Card.counters_GE1_AWAKENING | AddType$ Creature & Elemental | SetColor$ Green | SetPower$ 8 | SetToughness$ 8 T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may choose any number of target lands you control and put an awakening counter on each of them. Each of those lands is an 8/8 green Elemental creature for as long as it has an awakening counter on it. They're still lands. SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | ValidTgts$ Land.YouCtrl | OptionalDecider$ You | TargetMax$ X | TgtPrompt$ Select lands you control | CounterType$ AWAKENING | CounterNum$ 1 | SubAbility$ SVar=DBEffect SVar:X:Count$Valid Land.YouCtrl SVar:DBEffect:DB$ Effect | Cost$ 0 | Name$ Awakening Effect | StaticAbilities$ KWAnimateAll | Unique$ True | Duration$ Permanent -SVar:KWAnimateAll:Mode$ Continuous | Affected$ Card.countersGE1AWAKENING | SetPower$ 8 | SetToughness$ 8 | AddType$ Creature & Elemental | SetColor$ Green | Description$ Each of those lands is an 8/8 green Elemental creature for as long as it has an awakening counter on it. They're still lands. +SVar:KWAnimateAll:Mode$ Continuous | Affected$ Card.counters_GE1_AWAKENING | SetPower$ 8 | SetToughness$ 8 | AddType$ Creature & Elemental | SetColor$ Green | Description$ Each of those lands is an 8/8 green Elemental creature for as long as it has an awakening counter on it. They're still lands. SVar:Rarity:Mythic SVar:Picture:http://www.wizards.com/global/images/magic/general/liege_of_the_tangle.jpg SetInfo:SOM|Mythic|http://magiccards.info/scans/en/som/123.jpg diff --git a/res/cardsfolder/l/lighthouse_chronologist.txt b/res/cardsfolder/l/lighthouse_chronologist.txt index 9eb18f2dffb..635aafef867 100644 --- a/res/cardsfolder/l/lighthouse_chronologist.txt +++ b/res/cardsfolder/l/lighthouse_chronologist.txt @@ -7,8 +7,8 @@ K:Level up:U K:maxLevel:7 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 2 | SetToughness$ 4 | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 4-6 2/4 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 3 | SetToughness$ 5 | AddKeyword$ At the beginning of each end step, if it's not your turn, take an extra turn after this one. | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 7+ 3/5 At the beginning of each end step, if it's not your turn, take an extra turn after this one. -SVar:X:Count$Valid Card.Self+countersGE4LEVEL+countersLE6LEVEL -SVar:Y:Count$Valid Card.Self+countersGE7LEVEL +SVar:X:Count$Valid Card.Self+counters_GE4_LEVEL+counters_LE6_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE7_LEVEL SVar:Rarity:Mythic SVar:Picture:http://www.wizards.com/global/images/magic/general/lighthouse_chronologist.jpg SetInfo:ROE|Mythic|http://magiccards.info/scans/en/roe/75.jpg diff --git a/res/cardsfolder/l/lightning_coils.txt b/res/cardsfolder/l/lightning_coils.txt index 9a4fd201e5d..93427f1e9f0 100644 --- a/res/cardsfolder/l/lightning_coils.txt +++ b/res/cardsfolder/l/lightning_coils.txt @@ -4,7 +4,7 @@ Types:Artifact Text:no text T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.nonToken+YouCtrl | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever a nontoken creature you control dies, put a charge counter on CARDNAME. SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | CounterType$ CHARGE | CounterNum$ 1 -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+countersGE5CHARGE | Execute$ TrigElementalParty | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, if CARDNAME has five or more charge counters on it, remove all of them from it and put that many 3/1 red Elemental creature tokens with haste onto the battlefield. Exile them at the beginning of the next end step. +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+counters_GE5_CHARGE | Execute$ TrigElementalParty | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, if CARDNAME has five or more charge counters on it, remove all of them from it and put that many 3/1 red Elemental creature tokens with haste onto the battlefield. Exile them at the beginning of the next end step. SVar:TrigElementalParty:AB$Token | Cost$ 0 | TokenAmount$ VIP | TokenImage$ r 3 1 elemental | TokenName$ Elemental | TokenColors$ Red | TokenTypes$ Creature,Elemental | TokenKeywords$ Haste<>HIDDEN At the beginning of the end step, exile CARDNAME. | TokenPower$ 3 | TokenToughness$ 1 | SubAbility$ DBClearGuestList SVar:DBClearGuestList:DB$RemoveCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ VIP | SpellDescription$ Remove counters SVar:VIP:Count$CardCounters.CHARGE diff --git a/res/cardsfolder/l/living_artifact.txt b/res/cardsfolder/l/living_artifact.txt index 875280a4e71..f73035c94d1 100644 --- a/res/cardsfolder/l/living_artifact.txt +++ b/res/cardsfolder/l/living_artifact.txt @@ -7,7 +7,7 @@ A:SP$ Attach | Cost$ G | ValidTgts$ Artifact | AILogic$ Pump T:Mode$ DamageDone | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever you're dealt damage, put that many vitality counters on CARDNAME. SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ VITALITY | CounterNum$ X SVar:X:TriggerCount$DamageAmount -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigGainLife | IsPresent$ Card.Self+countersGE1VITALITY | OptionalDecider$ You | TriggerDescription$ At the beginning of your upkeep, you may remove a vitality counter from CARDNAME. If you do, you gain 1 life. +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigGainLife | IsPresent$ Card.Self+counters_GE1_VITALITY | OptionalDecider$ You | TriggerDescription$ At the beginning of your upkeep, you may remove a vitality counter from CARDNAME. If you do, you gain 1 life. SVar:TrigGainLife:AB$GainLife | Cost$ SubCounter<1/VITALITY> | Defined$ You | LifeAmount$ 1 SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/living_artifact.jpg diff --git a/res/cardsfolder/l/lockjaw_snapper.txt b/res/cardsfolder/l/lockjaw_snapper.txt index 335f7e56ba2..cbd6e1d05ce 100644 --- a/res/cardsfolder/l/lockjaw_snapper.txt +++ b/res/cardsfolder/l/lockjaw_snapper.txt @@ -5,7 +5,7 @@ Text:no text PT:2/2 K:Wither T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigPutCounters | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, put a -1/-1 counter on each creature with a -1/-1 counter on it. -SVar:TrigPutCounters:AB$PutCounterAll | Cost$ 0 | ValidCards$ Creature.countersGE1M1M1 | CounterType$ M1M1 | CounterNum$ 1 +SVar:TrigPutCounters:AB$PutCounterAll | Cost$ 0 | ValidCards$ Creature.counters_GE1_M1M1 | CounterType$ M1M1 | CounterNum$ 1 SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/lockjaw_snapper.jpg SetInfo:SHM|Uncommon|http://magiccards.info/scans/en/shm/255.jpg diff --git a/res/cardsfolder/l/lord_of_shatterskull_pass.txt b/res/cardsfolder/l/lord_of_shatterskull_pass.txt index f1966c1c812..3f83fe4f33a 100644 --- a/res/cardsfolder/l/lord_of_shatterskull_pass.txt +++ b/res/cardsfolder/l/lord_of_shatterskull_pass.txt @@ -7,8 +7,8 @@ K:Level up:1 R K:maxLevel:6 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 6 | SetToughness$ 6 | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 1-5 6/6 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 6 | SetToughness$ 6 | AddTrigger$ TriggerDamage | AddSVar$ TrigDamage | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 6+ 6/6 Whenever CARDNAME attacks, it deals 6 damage to each creature defending player controls. -SVar:X:Count$Valid Card.Self+countersGE1LEVEL+countersLE5LEVEL -SVar:Y:Count$Valid Card.Self+countersGE6LEVEL +SVar:X:Count$Valid Card.Self+counters_GE1_LEVEL+counters_LE5_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE6_LEVEL SVar:TriggerDamage:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, it deals 6 damage to each creature defending player controls. SVar:TrigDamage:AB$DamageAll | Cost$ 0 | ValidCards$ Creature.YouDontCtrl | NumDmg$ 6 SVar:Rarity:Rare diff --git a/res/cardsfolder/m/maelstrom_djinn.txt b/res/cardsfolder/m/maelstrom_djinn.txt index 68f211ba651..bb5a7aa5d95 100644 --- a/res/cardsfolder/m/maelstrom_djinn.txt +++ b/res/cardsfolder/m/maelstrom_djinn.txt @@ -6,8 +6,8 @@ PT:5/6 K:Flying K:Morph:2 U T:Mode$ TurnFaceUp | ValidCard$ Card.Self | Execute$ TrigVanishing | TriggerDescription$ When CARDNAME is turned face up, put two time counters on it and it gains vanishing. -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+countersGE2TIME | Secondary$ True | Execute$ TrigRemoveCounter | TriggerDescription$ Remove time counter. -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+countersEQ1TIME | Secondary$ True | Execute$ TrigSacrifice | TriggerDescription$ Sacrifice CARDNAME. +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+counters_GE2_TIME | Secondary$ True | Execute$ TrigRemoveCounter | TriggerDescription$ Remove time counter. +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+counters_EQ1_TIME | Secondary$ True | Execute$ TrigSacrifice | TriggerDescription$ Sacrifice CARDNAME. SVar:TrigVanishing:AB$PutCounter | Cost$ 0 | CounterType$ TIME | CounterNum$ 2 SVar:TrigRemoveCounter:AB$RemoveCounter | Cost$ 0 | CounterType$ TIME | CounterNum$ 1 SVar:TrigSacrifice:AB$Sacrifice | Cost$ 0 | SpellDescription$ Sacrifice CARDNAME. diff --git a/res/cardsfolder/m/mine_layer.txt b/res/cardsfolder/m/mine_layer.txt index 5a9e0a111e9..fb211bf9f10 100644 --- a/res/cardsfolder/m/mine_layer.txt +++ b/res/cardsfolder/m/mine_layer.txt @@ -4,7 +4,7 @@ Types:Creature Dwarf Text:no text PT:1/1 A:AB$ PutCounter | Cost$ 1 R T | ValidTgts$ Land | TgtPrompt$ Select target land | CounterType$ MINE | CounterNum$ 1 | IsCurse$ True | SpellDescription$ Put a mine counter on target land. -T:Mode$ Taps | ValidCard$ Land.countersGE1MINE | Execute$ TrigDestroy | TriggerDescription$ Whenever a land with a mine counter on it becomes tapped, destroy it. +T:Mode$ Taps | ValidCard$ Land.counters_GE1_MINE | Execute$ TrigDestroy | TriggerDescription$ Whenever a land with a mine counter on it becomes tapped, destroy it. SVar:TrigDestroy:AB$Destroy | Cost$ 0 | Defined$ TriggeredCard T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigRemove | TriggerDescription$ When CARDNAME leaves the battlefield, remove all mine counters from all lands. SVar:TrigRemove:AB$ RemoveCounterAll | Cost$ 0 | ValidCards$ Land | CounterType$ MINE | AllCounters$ True diff --git a/res/cardsfolder/n/necroskitter.txt b/res/cardsfolder/n/necroskitter.txt index 1e08906f35d..0b29f83b887 100644 --- a/res/cardsfolder/n/necroskitter.txt +++ b/res/cardsfolder/n/necroskitter.txt @@ -4,7 +4,7 @@ Types:Creature Elemental Text:no text PT:1/4 K:Wither -T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.YouDontCtrl+countersGE1M1M1 | TriggerZones$ Battlefield | Execute$ TrigReturn | OptionalDecider$ You | TriggerDescription$ Whenever a creature an opponent controls with a -1/-1 counter on it is put into a graveyard, you may return that card to the battlefield under your control. +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.YouDontCtrl+counters_GE1_M1M1 | TriggerZones$ Battlefield | Execute$ TrigReturn | OptionalDecider$ You | TriggerDescription$ Whenever a creature an opponent controls with a -1/-1 counter on it is put into a graveyard, you may return that card to the battlefield under your control. SVar:TrigReturn:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | Defined$ TriggeredCard SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/necroskitter.jpg diff --git a/res/cardsfolder/n/nihilith.txt b/res/cardsfolder/n/nihilith.txt index 9423160cc38..c8b39068f2d 100644 --- a/res/cardsfolder/n/nihilith.txt +++ b/res/cardsfolder/n/nihilith.txt @@ -5,7 +5,7 @@ Text:no text PT:4/4 K:Fear K:Suspend:7:1 B -T:Mode$ ChangesZone | ValidCard$ Card.YouDontCtrl | Origin$ Any | Destination$ Graveyard | IsPresent$ Card.Self+countersGE1TIME | PresentZone$ Exile | TriggerZones$ Exile | Execute$ TrigRemoveCounter | OptionalDecider$ You | TriggerDescription$ Whenever a card is put into an opponent's graveyard from anywhere, if CARDNAME is suspended, you may remove a time counter from CARDNAME. +T:Mode$ ChangesZone | ValidCard$ Card.YouDontCtrl | Origin$ Any | Destination$ Graveyard | IsPresent$ Card.Self+counters_GE1_TIME | PresentZone$ Exile | TriggerZones$ Exile | Execute$ TrigRemoveCounter | OptionalDecider$ You | TriggerDescription$ Whenever a card is put into an opponent's graveyard from anywhere, if CARDNAME is suspended, you may remove a time counter from CARDNAME. SVar:TrigRemoveCounter:AB$RemoveCounter | Cost$ 0 | Defined$ Self | CounterType$ TIME | CounterNum$ 1 SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/nihilith.jpg diff --git a/res/cardsfolder/n/nirkana_cutthroat.txt b/res/cardsfolder/n/nirkana_cutthroat.txt index a8bb08b1f7f..e2ead9040a5 100644 --- a/res/cardsfolder/n/nirkana_cutthroat.txt +++ b/res/cardsfolder/n/nirkana_cutthroat.txt @@ -7,8 +7,8 @@ K:Level up:2 B K:maxLevel:3 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 4 | SetToughness$ 3 | AddKeyword$ Deathtouch | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 1-2 4/3 CARDNAME has Deathtouch S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 5 | SetToughness$ 4 | AddKeyword$ First Strike & Deathtouch | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 3+ 5/4 CARDNAME has First Strike and Deathtouch -SVar:X:Count$Valid Card.Self+countersGE1LEVEL+countersLE2LEVEL -SVar:Y:Count$Valid Card.Self+countersGE3LEVEL +SVar:X:Count$Valid Card.Self+counters_GE1_LEVEL+counters_LE2_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE3_LEVEL SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/nirkana_cutthroat.jpg SetInfo:ROE|Uncommon|http://magiccards.info/scans/en/roe/119.jpg diff --git a/res/cardsfolder/n/null_champion.txt b/res/cardsfolder/n/null_champion.txt index ac2d76228d9..e449d26ec63 100644 --- a/res/cardsfolder/n/null_champion.txt +++ b/res/cardsfolder/n/null_champion.txt @@ -8,8 +8,8 @@ K:maxLevel:4 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 4 | SetToughness$ 2 | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 1-3 4/2 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 7 | SetToughness$ 3 | AddAbility$ Regen | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 4+ 7/3 CARDNAME has "B: Regenerate CARDNAME." SVar:Regen:AB$Regenerate | Cost$ B | SpellDescription$ Regenerate CARDNAME. -SVar:X:Count$Valid Card.Self+countersGE1LEVEL+countersLE3LEVEL -SVar:Y:Count$Valid Card.Self+countersGE4LEVEL +SVar:X:Count$Valid Card.Self+counters_GE1_LEVEL+counters_LE3_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE4_LEVEL SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/null_champion.jpg SetInfo:ROE|Common|http://magiccards.info/scans/en/roe/121.jpg diff --git a/res/cardsfolder/o/oblivion_stone.txt b/res/cardsfolder/o/oblivion_stone.txt index d52b4d59243..1dfbb3dc7b1 100644 --- a/res/cardsfolder/o/oblivion_stone.txt +++ b/res/cardsfolder/o/oblivion_stone.txt @@ -3,7 +3,7 @@ ManaCost:3 Types:Artifact Text:no text A:AB$ PutCounter | Cost$ 4 T | ValidTgts$ Permanent | TgtPrompt$ Select target permanent | CounterType$ FATE | CounterNum$ 1 | SpellDescription$ Put a fate counter on target permanent. -A:AB$ DestroyAll | Cost$ 5 T Sac<1/CARDNAME> | ValidCards$ Permanent.countersLT1FATE | SubAbility$ DBRemove | SpellDescription$ Destroy each nonland permanent without a fate counter on it, then remove all fate counters from all permanents. +A:AB$ DestroyAll | Cost$ 5 T Sac<1/CARDNAME> | ValidCards$ Permanent.counters_LT1_FATE | SubAbility$ DBRemove | SpellDescription$ Destroy each nonland permanent without a fate counter on it, then remove all fate counters from all permanents. SVar:DBRemove:DB$ RemoveCounterAll | Cost$ 0 | ValidCards$ Permanent | CounterType$ FATE | AllCounters$ True SVar:RemAIDeck:True SVar:Rarity:Rare diff --git a/res/cardsfolder/o/obsidian_fireheart.txt b/res/cardsfolder/o/obsidian_fireheart.txt index 812e20d440c..d46f2f67f74 100644 --- a/res/cardsfolder/o/obsidian_fireheart.txt +++ b/res/cardsfolder/o/obsidian_fireheart.txt @@ -3,7 +3,7 @@ ManaCost:1 R R R Types:Creature Elemental Text:no text PT:4/4 -A:AB$ PutCounter | Cost$ 1 R R | IsCurse$ True | ValidTgts$ Land.countersEQ0BLAZE | TgtPrompt$ Select target Land without a Blaze Counter | CounterType$ BLAZE | CounterNum$ 1 | SpellDescription$ Put a blaze counter on target land without a blaze counter on it. For as long as that land has a blaze counter on it, it has "At the beginning of your upkeep, this land deals 1 damage to you." (The land continues to burn after Obsidian Fireheart has left the battlefield.) +A:AB$ PutCounter | Cost$ 1 R R | IsCurse$ True | ValidTgts$ Land.counters_EQ0_BLAZE | TgtPrompt$ Select target Land without a Blaze Counter | CounterType$ BLAZE | CounterNum$ 1 | SpellDescription$ Put a blaze counter on target land without a blaze counter on it. For as long as that land has a blaze counter on it, it has "At the beginning of your upkeep, this land deals 1 damage to you." (The land continues to burn after Obsidian Fireheart has left the battlefield.) SVar:Rarity:Mythic SVar:Picture:http://www.wizards.com/global/images/magic/general/obsidian_fireheart.jpg SetInfo:ZEN|Mythic|http://magiccards.info/scans/en/zen/140.jpg diff --git a/res/cardsfolder/o/oonas_blackguard.txt b/res/cardsfolder/o/oonas_blackguard.txt index 3f6eaf234f0..99731fcc494 100644 --- a/res/cardsfolder/o/oonas_blackguard.txt +++ b/res/cardsfolder/o/oonas_blackguard.txt @@ -6,7 +6,7 @@ PT:1/1 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Rogue+Other+YouCtrl |TriggerZones$ Battlefield | Execute$ TrigPutCounter | Static$ True | TriggerDescription$ Each other Rogue creature you control enters the battlefield with an additional +1/+1 counter on it. SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ TriggeredCard | CounterType$ P1P1 | CounterNum$ 1 -T:Mode$ DamageDone | ValidSource$ Creature.YouCtrl+countersGE1P1P1 | ValidTarget$ Opponent | TriggerZones$ Battlefield | CombatDamage$ True | Execute$ TrigDiscardOpp | TriggerDescription$ Whenever a creature you control with a +1/+1 counter on it deals combat damage to a player, that player discards a card. +T:Mode$ DamageDone | ValidSource$ Creature.YouCtrl+counters_GE1_P1P1 | ValidTarget$ Opponent | TriggerZones$ Battlefield | CombatDamage$ True | Execute$ TrigDiscardOpp | TriggerDescription$ Whenever a creature you control with a +1/+1 counter on it deals combat damage to a player, that player discards a card. SVar:TrigDiscardOpp:AB$Discard | Cost$ 0 | Defined$ Opponent | NumCards$ 1 | Mode$ TgtChoose SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/oonas_blackguard.jpg diff --git a/res/cardsfolder/o/orcish_mine.txt b/res/cardsfolder/o/orcish_mine.txt index f37ab5c32fc..89037f8536e 100644 --- a/res/cardsfolder/o/orcish_mine.txt +++ b/res/cardsfolder/o/orcish_mine.txt @@ -8,8 +8,8 @@ A:SP$ Attach | Cost$ 1 R R | ValidTgts$ Land | AILogic$ Curse T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRemoveCounter | TriggerDescription$ At the beginning of your upkeep and whenever enchanted land becomes tapped, remove an ore counter from CARDNAME. If there are no ore counters on CARDNAME, destroy that land and CARDNAME deals 2 damage to its controller. T:Mode$ Taps | ValidCard$ Card.AttachedBy | Execute$ TrigRemoveCounter | Secondary$ True | TriggerDescription$ At the beginning of your upkeep and whenever enchanted land becomes tapped, remove an ore counter from CARDNAME. If there are no ore counters on CARDNAME, destroy that land and CARDNAME deals 2 damage to its controller. SVar:TrigRemoveCounter:AB$RemoveCounter | Cost$ 0 | Defined$ Self | CounterType$ ORE | CounterNum$ 1 | SubAbility$ DBDamage -SVar:DBDamage:DB$DealDamage | Defined$ EnchantedController | NumDmg$ 2 | ConditionPresent$ Card.Self+countersLE0Ore | SubAbility$ DBDestroy | ConditionDescription$ If there are no ore counters on CARDNAME, -SVar:DBDestroy:DB$Destroy | Defined$ Enchanted | ConditionPresent$ Card.Self+countersLE0Ore +SVar:DBDamage:DB$DealDamage | Defined$ EnchantedController | NumDmg$ 2 | ConditionPresent$ Card.Self+counters_LE0_Ore | SubAbility$ DBDestroy | ConditionDescription$ If there are no ore counters on CARDNAME, +SVar:DBDestroy:DB$Destroy | Defined$ Enchanted | ConditionPresent$ Card.Self+counters_LE0_Ore SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/orcish_mine.jpg SetInfo:HML|Uncommon|http://magiccards.info/scans/en/hl/98.jpg diff --git a/res/cardsfolder/p/pardic_dragon.txt b/res/cardsfolder/p/pardic_dragon.txt index 401fdaee73e..625c1865c75 100644 --- a/res/cardsfolder/p/pardic_dragon.txt +++ b/res/cardsfolder/p/pardic_dragon.txt @@ -6,7 +6,7 @@ PT:4/4 K:Flying K:Suspend:2:R R A:AB$ Pump | Cost$ R | NumAtt$ +1 | SpellDescription$ CARDNAME gets +1/+0 until end of turn. -T:Mode$ SpellCast | ValidCard$ Card.YouDontCtrl | TriggerZones$ Exile | IsPresent$ Card.countersGE1TIME+Self | PresentZone$ Exile | OptionalDecider$ Opponent | Execute$ TrigPutCounter | TriggerDescription$ Whenever an opponent casts a spell, if CARDNAME is suspended, that player may put a time counter on CARDNAME. +T:Mode$ SpellCast | ValidCard$ Card.YouDontCtrl | TriggerZones$ Exile | IsPresent$ Card.counters_GE1_TIME+Self | PresentZone$ Exile | OptionalDecider$ Opponent | Execute$ TrigPutCounter | TriggerDescription$ Whenever an opponent casts a spell, if CARDNAME is suspended, that player may put a time counter on CARDNAME. SVar:TrigPutCounter:AB$ PutCounter | Cost$ 0 | Defined$ Self | CounterType$ TIME | CounterNum$ 1 SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/pardic_dragon.jpg diff --git a/res/cardsfolder/p/phylactery_lich.txt b/res/cardsfolder/p/phylactery_lich.txt index 86b642cf002..fa012021205 100644 --- a/res/cardsfolder/p/phylactery_lich.txt +++ b/res/cardsfolder/p/phylactery_lich.txt @@ -4,7 +4,7 @@ Types:Creature Zombie Text:As Phylactery Lich enters the battlefield, put a phylactery counter on an artifact you control. PT:5/5 K:Indestructible -T:Mode$ Always | TriggerZones$ Battlefield | IsPresent$ Permanent.countersGE1PHYLACTERY+YouCtrl | PresentCompare$ EQ0 | Execute$ TrigSac | TriggerDescription$ When you control no permanents with phylactery counters on them, sacrifice CARDNAME. +T:Mode$ Always | TriggerZones$ Battlefield | IsPresent$ Permanent.counters_GE1_PHYLACTERY+YouCtrl | PresentCompare$ EQ0 | Execute$ TrigSac | TriggerDescription$ When you control no permanents with phylactery counters on them, sacrifice CARDNAME. SVar:TrigSac:AB$Sacrifice | Cost$ 0 | Defined$ Self SVar:RemRandomDeck:True SVar:Rarity:Rare diff --git a/res/cardsfolder/p/plaxcaster_frogling.txt b/res/cardsfolder/p/plaxcaster_frogling.txt index 90cee56453e..f1fe07b688c 100644 --- a/res/cardsfolder/p/plaxcaster_frogling.txt +++ b/res/cardsfolder/p/plaxcaster_frogling.txt @@ -4,7 +4,7 @@ Types:Creature Frog Mutant Text:no text PT:0/0 K:Graft 3 -A:AB$ Pump | Cost$ 1 | ValidTgts$ Creature.countersGE1P1P1 | TgtPrompt$ Select target creature with a +1/+1 counter | KW$ Shroud | SpellDescription$ Target creature with a +1/+1 counter on it gains shroud until end of turn. +A:AB$ Pump | Cost$ 1 | ValidTgts$ Creature.counters_GE1_P1P1 | TgtPrompt$ Select target creature with a +1/+1 counter | KW$ Shroud | SpellDescription$ Target creature with a +1/+1 counter on it gains shroud until end of turn. SVar:RemAIDeck:True SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/plaxcaster_frogling.jpg diff --git a/res/cardsfolder/p/primordial_hydra.txt b/res/cardsfolder/p/primordial_hydra.txt index 5e5bedb9ee3..15c679c28d6 100644 --- a/res/cardsfolder/p/primordial_hydra.txt +++ b/res/cardsfolder/p/primordial_hydra.txt @@ -4,7 +4,7 @@ Types:Creature Hydra Text:no text PT:0/0 K:etbCounter:P1P1:X -S:Mode$ Continuous | Affected$ Card.Self+countersGT9P1P1 | AddKeyword$ Trample | Description$ CARDNAME has trample as long as it has ten or more +1/+1 counters on it. +S:Mode$ Continuous | Affected$ Card.Self+counters_GT9_P1P1 | AddKeyword$ Trample | Description$ CARDNAME has trample as long as it has ten or more +1/+1 counters on it. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDoubleCounters | TriggerDescription$ At the beginning of your upkeep, double the number of +1/+1 counters on CARDNAME. SVar:TrigDoubleCounters:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ P1P1 | CounterNum$ Double SVar:X:Count$xPaid diff --git a/res/cardsfolder/q/quest_for_renewal.txt b/res/cardsfolder/q/quest_for_renewal.txt index 17fa63874ca..88dae79d973 100644 --- a/res/cardsfolder/q/quest_for_renewal.txt +++ b/res/cardsfolder/q/quest_for_renewal.txt @@ -5,7 +5,7 @@ Text:no text S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddHiddenKeyword$ HIDDEN CARDNAME untaps during each other player's untap step. | CheckSVar$ X | SVarCompare$ EQ1 | Description$ As long as there are four or more quest counters on CARDNAME, untap all creatures you control during each other player's untap step. T:Mode$ Taps | ValidCard$ Creature.YouCtrl | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature you control becomes tapped, you may put a quest counter on CARDNAME. SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ QUEST | CounterNum$ 1 -SVar:X:Count$Valid Card.Self+countersGE4QUEST +SVar:X:Count$Valid Card.Self+counters_GE4_QUEST SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/quest_for_renewal.jpg SetInfo:WWK|Uncommon|http://magiccards.info/scans/en/wwk/110.jpg diff --git a/res/cardsfolder/q/quest_for_the_goblin_lord.txt b/res/cardsfolder/q/quest_for_the_goblin_lord.txt index 26505c56bde..81ea40f671f 100644 --- a/res/cardsfolder/q/quest_for_the_goblin_lord.txt +++ b/res/cardsfolder/q/quest_for_the_goblin_lord.txt @@ -5,7 +5,7 @@ Text:no text S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddPower$ 2 | CheckSVar$ X | SVarCompare$ EQ1 | Description$ As long as CARDNAME has five or more quest counters on it, creatures you control get +2/+0. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Goblin.YouCtrl | Execute$ TrigPutCounter | OptionalDecider$ You | TriggerZones$ Battlefield | TriggerDescription$ Whenever a Goblin enters the battlefield under your control, you may put a quest counter on CARDNAME. SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ QUEST | CounterNum$ 1 -SVar:X:Count$Valid Card.Self+countersGE5QUEST +SVar:X:Count$Valid Card.Self+counters_GE5_QUEST SVar:RemRandomDeck:True SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/quest_for_the_goblin_lord.jpg diff --git a/res/cardsfolder/q/quest_for_the_nihil_stone.txt b/res/cardsfolder/q/quest_for_the_nihil_stone.txt index e418d84a62a..e711704b180 100644 --- a/res/cardsfolder/q/quest_for_the_nihil_stone.txt +++ b/res/cardsfolder/q/quest_for_the_nihil_stone.txt @@ -3,7 +3,7 @@ ManaCost:B Types:Enchantment Text:no text T:Mode$ Discarded | ValidCard$ Card.YouDontCtrl | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ Whenever an opponent discards a card, you may put a quest counter on CARDNAME. -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Opponent | IsPresent$ Card | PresentZone$ Hand | PresentPlayer$ Opponent | PresentCompare$ EQ0 | IsPresent2$ Card.Self+countersGE2QUEST | Execute$ TrigLoseLife | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ At the beginning of each opponent's upkeep, if that player has no cards in hand and CARDNAME has two or more quest counters on it, you may have that player lose 5 life. +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Opponent | IsPresent$ Card | PresentZone$ Hand | PresentPlayer$ Opponent | PresentCompare$ EQ0 | IsPresent2$ Card.Self+counters_GE2_QUEST | Execute$ TrigLoseLife | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ At the beginning of each opponent's upkeep, if that player has no cards in hand and CARDNAME has two or more quest counters on it, you may have that player lose 5 life. SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ QUEST | CounterNum$ 1 SVar:TrigLoseLife:AB$LoseLife | Cost$ 0 | Defined$ Opponent | LifeAmount$ 5 SVar:PlayMain1:TRUE diff --git a/res/cardsfolder/r/rage_forger.txt b/res/cardsfolder/r/rage_forger.txt index c884b5cdf19..754d2a32dec 100644 --- a/res/cardsfolder/r/rage_forger.txt +++ b/res/cardsfolder/r/rage_forger.txt @@ -5,7 +5,7 @@ Text:no text PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPutCounters | TriggerDescription$ When CARDNAME enters the battlefield, put a +1/+1 counter each other Shaman creature you control. SVar:TrigPutCounters:AB$PutCounterAll | Cost$ 0 | ValidCards$ Creature.Shaman+Other+YouCtrl | CounterType$ P1P1 | CounterNum$ 1 -T:Mode$ Attacks | ValidCard$ Creature.YouCtrl+countersGE1P1P1 | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ Whenever a creature you control with a +1/+1 counter on it attacks, you may have that creature deal 1 damage to target player. +T:Mode$ Attacks | ValidCard$ Creature.YouCtrl+counters_GE1_P1P1 | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ Whenever a creature you control with a +1/+1 counter on it attacks, you may have that creature deal 1 damage to target player. SVar:TrigDamage:AB$DealDamage | Cost$ 0 | Tgt$ TgtP | TgtPrompt$ Select target player | NumDmg$ 1 | DamageSource$ TriggeredAttacker SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/rage_forger.jpg diff --git a/res/cardsfolder/r/rimescale_dragon.txt b/res/cardsfolder/r/rimescale_dragon.txt index da81fb2595a..b7cb3f62737 100644 --- a/res/cardsfolder/r/rimescale_dragon.txt +++ b/res/cardsfolder/r/rimescale_dragon.txt @@ -4,7 +4,7 @@ Types:Snow Creature Dragon Text:no text PT:5/5 K:Flying -S:Mode$ Continuous | Affected$ Creature.countersGE1ICE | AddHiddenKeyword$ HIDDEN CARDNAME doesn't untap during your untap step. | Description$ Creatures with ice counters on them don't untap during their controllers' untap steps. +S:Mode$ Continuous | Affected$ Creature.counters_GE1_ICE | AddHiddenKeyword$ HIDDEN CARDNAME doesn't untap during your untap step. | Description$ Creatures with ice counters on them don't untap during their controllers' untap steps. A:AB$ PutCounter | Cost$ 2 S | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ ICE | CounterNum$ 1 | SubAbility$ SVar=DBTap | SpellDescription$ Put an ice counter on target creature. Tap that creature. SVar:DBTap:DB$Tap | Defined$ Targeted SVar:RemAIDeck:True diff --git a/res/cardsfolder/r/river_delta.txt b/res/cardsfolder/r/river_delta.txt index 72f54d6225b..a3aa75fda78 100644 --- a/res/cardsfolder/r/river_delta.txt +++ b/res/cardsfolder/r/river_delta.txt @@ -2,7 +2,7 @@ Name:River Delta ManaCost:no cost Types:Land Text:no text -S:Mode$ Continuous | Affected$ Card.Self+countersGE1DEPLETION | AddHiddenKeyword$ HIDDEN CARDNAME doesn't untap during your untap step. | Description$ CARDNAME doesn't untap during your untap step if it has a depletion counter on it. +S:Mode$ Continuous | Affected$ Card.Self+counters_GE1_DEPLETION | AddHiddenKeyword$ HIDDEN CARDNAME doesn't untap during your untap step. | Description$ CARDNAME doesn't untap during your untap step if it has a depletion counter on it. A:AB$ Mana | Cost$ T | Produced$ U | Amount$ 1 | SubAbility$ SVar=AddCounter | SpellDescription$ Add U to your mana pool. Put a depletion counter on CARDNAME. A:AB$ Mana | Cost$ T | Produced$ B | Amount$ 1 | SubAbility$ SVar=AddCounter | SpellDescription$ Add B to your mana pool. Put a depletion counter on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSubCounter | TriggerDescription$ At the beginning of your upkeep, remove a depletion counter from CARDNAME. diff --git a/res/cardsfolder/r/roc_hatchling.txt b/res/cardsfolder/r/roc_hatchling.txt index 3ab460bebeb..c65c11bc45e 100644 --- a/res/cardsfolder/r/roc_hatchling.txt +++ b/res/cardsfolder/r/roc_hatchling.txt @@ -4,7 +4,7 @@ Types:Creature Bird Text:no text PT:0/1 K:etbCounter:SHELL:4 -S:Mode$ Continuous | Affected$ Card.Self+countersEQ0SHELL | AddPower$ 3 | AddToughness$ 2 | AddKeyword$ Flying | Description$ As long as CARDNAME has no shell counters on it, it gets +3/+2 and has flying. +S:Mode$ Continuous | Affected$ Card.Self+counters_EQ0_SHELL | AddPower$ 3 | AddToughness$ 2 | AddKeyword$ Flying | Description$ As long as CARDNAME has no shell counters on it, it gets +3/+2 and has flying. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRemoveCounter | TriggerDescription$ At the beginning of your upkeep, remove a shell counter from CARDNAME. SVar:TrigRemoveCounter:AB$RemoveCounter | Cost$ 0 | Defined$ Self | CounterType$ SHELL | CounterNum$ 1 SVar:Rarity:Uncommon diff --git a/res/cardsfolder/s/serrated_arrows.txt b/res/cardsfolder/s/serrated_arrows.txt index 002ee48e022..382e7e8d98a 100644 --- a/res/cardsfolder/s/serrated_arrows.txt +++ b/res/cardsfolder/s/serrated_arrows.txt @@ -3,7 +3,7 @@ ManaCost:4 Types:Artifact Text:no text K:etbCounter:ARROWHEAD:3 -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | IsPresent$ Card.Self+countersGE1ARROWHEAD | PresentCompare$ EQ0 | Execute$ TrigSac | TriggerDescription$ At the beginning of your upkeep, if there are no arrowhead counters on CARDNAME, sacrifice it. +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | IsPresent$ Card.Self+counters_GE1_ARROWHEAD | PresentCompare$ EQ0 | Execute$ TrigSac | TriggerDescription$ At the beginning of your upkeep, if there are no arrowhead counters on CARDNAME, sacrifice it. SVar:TrigSac:AB$Sacrifice | Cost$ 0 | Defined$ Self A:AB$ PutCounter | Cost$ T SubCounter<1/ARROWHEAD> | IsCurse$ True | ValidTgts$ Creature | TgtPrompt$ Select target Creature | CounterType$ M1M1 | CounterNum$ 1 | SpellDescription$ Put a -1/-1 counter on target creature. SVar:Rarity:Common diff --git a/res/cardsfolder/s/skywatcher_adept.txt b/res/cardsfolder/s/skywatcher_adept.txt index c8f52e8be91..7cc244c8234 100644 --- a/res/cardsfolder/s/skywatcher_adept.txt +++ b/res/cardsfolder/s/skywatcher_adept.txt @@ -7,8 +7,8 @@ K:Level up:3 K:maxLevel:3 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 2 | SetToughness$ 2 | AddKeyword$ Flying | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 1-2 2/2 CARDNAME has Flying S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 4 | SetToughness$ 2 | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 3+ 4/2 CARDNAME has Flying -SVar:X:Count$Valid Card.Self+countersGE1LEVEL+countersLE2LEVEL -SVar:Y:Count$Valid Card.Self+countersGE3LEVEL +SVar:X:Count$Valid Card.Self+counters_GE1_LEVEL+counters_LE2_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE3_LEVEL SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/skywatcher_adept.jpg SetInfo:ROE|Common|http://magiccards.info/scans/en/roe/88.jpg diff --git a/res/cardsfolder/s/sporeback_troll.txt b/res/cardsfolder/s/sporeback_troll.txt index 2a1abdafd95..1423c89a9b5 100644 --- a/res/cardsfolder/s/sporeback_troll.txt +++ b/res/cardsfolder/s/sporeback_troll.txt @@ -4,7 +4,7 @@ Types:Creature Troll Mutant Text:no text PT:0/0 K:Graft 2 -A:AB$ Regenerate | Cost$ 1 G | ValidTgts$ Creature.countersGE1P1P1 | TgtPrompt$ Select target creature with a +1/+1 counter | SpellDescription$ Regenerate target creature with a +1/+1 counter on it. +A:AB$ Regenerate | Cost$ 1 G | ValidTgts$ Creature.counters_GE1_P1P1 | TgtPrompt$ Select target creature with a +1/+1 counter | SpellDescription$ Regenerate target creature with a +1/+1 counter on it. SVar:RemAIDeck:True SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/sporeback_troll.jpg diff --git a/res/cardsfolder/s/student_of_warfare.txt b/res/cardsfolder/s/student_of_warfare.txt index 5cdba3d255e..bea4e493eb1 100644 --- a/res/cardsfolder/s/student_of_warfare.txt +++ b/res/cardsfolder/s/student_of_warfare.txt @@ -7,8 +7,8 @@ K:Level up:W K:maxLevel:7 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 3 | SetToughness$ 3 | AddKeyword$ First Strike | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 2-6 3/3 CARDNAME has First Strike S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 4 | SetToughness$ 4 | AddKeyword$ Double Strike | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 7+ 4/4 CARDNAME has First Strike and Double Strike -SVar:X:Count$Valid Card.Self+countersGE2LEVEL+countersLE6LEVEL -SVar:Y:Count$Valid Card.Self+countersGE7LEVEL +SVar:X:Count$Valid Card.Self+counters_GE2_LEVEL+counters_LE6_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE7_LEVEL SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/student_of_warfare.jpg SetInfo:ROE|Rare|http://magiccards.info/scans/en/roe/47.jpg diff --git a/res/cardsfolder/s/sun_droplet.txt b/res/cardsfolder/s/sun_droplet.txt index 461f67f258e..baf7cfcdce1 100644 --- a/res/cardsfolder/s/sun_droplet.txt +++ b/res/cardsfolder/s/sun_droplet.txt @@ -3,7 +3,7 @@ ManaCost:2 Types:Artifact Text:no text T:Mode$ DamageDone | ValidTarget$ You | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever you're dealt damage, put that many charge counters on CARDNAME. -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Each | IsPresent$ Card.Self+countersGE1CHARGE | Execute$ TrigGainLife | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ At the beginning of each upkeep, you may remove a charge counter from CARDNAME. If you do, you gain 1 life. +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Each | IsPresent$ Card.Self+counters_GE1-CHARGE | Execute$ TrigGainLife | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ At the beginning of each upkeep, you may remove a charge counter from CARDNAME. If you do, you gain 1 life. SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | CounterType$ CHARGE | CounterNum$ X | Defined$ Self SVar:TrigGainLife:AB$GainLife | Cost$ SubCounter<1/CHARGE> | LifeAmount$ 1 | Defined$ You SVar:X:TriggerCount$DamageAmount diff --git a/res/cardsfolder/t/that_which_was_taken.txt b/res/cardsfolder/t/that_which_was_taken.txt index 90d95a1ae84..77d9f20a67a 100644 --- a/res/cardsfolder/t/that_which_was_taken.txt +++ b/res/cardsfolder/t/that_which_was_taken.txt @@ -2,7 +2,7 @@ Name:That Which Was Taken ManaCost:5 Types:Legendary Artifact Text:no text -S:Mode$ Continuous | Affected$ Permanent.countersGE1DIVINITY | AddHiddenKeyword$ HIDDEN Indestructible | Description$ Each permanent with a divinity counter on it is indestructible. +S:Mode$ Continuous | Affected$ Permanent.counters_GE1_DIVINITY | AddHiddenKeyword$ HIDDEN Indestructible | Description$ Each permanent with a divinity counter on it is indestructible. A:AB$ PutCounter | Cost$ 4 T | ValidTgts$ Permanent.Other | TgtPrompt$ Select target permanent other than That Which Was Taken | CounterType$ DIVINITY | CounterNum$ 1 | SpellDescription$ Put a divinity counter on target permanent other than CARDNAME. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/that_which_was_taken.jpg diff --git a/res/cardsfolder/t/thunderblust.txt b/res/cardsfolder/t/thunderblust.txt index 81aacaafd7e..229048f8351 100644 --- a/res/cardsfolder/t/thunderblust.txt +++ b/res/cardsfolder/t/thunderblust.txt @@ -6,7 +6,7 @@ PT:7/2 K:Haste K:Persist S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Trample | CheckSVar$ X | SVarCompare$ EQ1 | Description$ CARDNAME has trample as long as it has a -1/-1 counter on it. -SVar:X:Count$Valid Card.Self+countersGE1M1M1 +SVar:X:Count$Valid Card.Self+counters_GE1_M1M1 SVar:PlayMain1:TRUE SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/thunderblust.jpg diff --git a/res/cardsfolder/t/timberline_ridge.txt b/res/cardsfolder/t/timberline_ridge.txt index aa308ed00dc..8782ebc5c51 100644 --- a/res/cardsfolder/t/timberline_ridge.txt +++ b/res/cardsfolder/t/timberline_ridge.txt @@ -8,7 +8,7 @@ A:AB$ Mana | Cost$ T | Produced$ G | Amount$ 1 | SubAbility$ SVar=AddCounter | S T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSubCounter | TriggerDescription$ At the beginning of your upkeep, remove a depletion counter from CARDNAME. SVar:TrigSubCounter:AB$RemoveCounter | Cost$ 0 | Defined$ Self | CounterType$ DEPLETION | CounterNum$ 1 SVar:AddCounter:DB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ DEPLETION | CounterNum$ 1 -SVar:X:Count$Valid Card.Self+countersGE1DEPLETION +SVar:X:Count$Valid Card.Self+counters_GE1_DEPLETION SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/timberline_ridge.jpg SetInfo:ICE|Rare|http://magiccards.info/scans/en/ia/356.jpg diff --git a/res/cardsfolder/t/time_of_heroes.txt b/res/cardsfolder/t/time_of_heroes.txt index a73c61366cd..3ebfca4f893 100644 --- a/res/cardsfolder/t/time_of_heroes.txt +++ b/res/cardsfolder/t/time_of_heroes.txt @@ -2,7 +2,7 @@ Name:Time of Heroes ManaCost:1 W Types:Enchantment Text:no text -S:Mode$ Continuous | Affected$ Creature.countersGE1LEVEL+YouCtrl | AddPower$ 2 | AddToughness$ 2 | Description$ Each creature you control with a level counter on it gets +2/+2. +S:Mode$ Continuous | Affected$ Creature.counters_GE1_LEVEL+YouCtrl | AddPower$ 2 | AddToughness$ 2 | Description$ Each creature you control with a level counter on it gets +2/+2. SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/time_of_heroes.jpg SetInfo:ROE|Uncommon|http://magiccards.info/scans/en/roe/49.jpg diff --git a/res/cardsfolder/t/transcendent_master.txt b/res/cardsfolder/t/transcendent_master.txt index 9771fc0d5e4..1bac71e65d8 100644 --- a/res/cardsfolder/t/transcendent_master.txt +++ b/res/cardsfolder/t/transcendent_master.txt @@ -7,9 +7,8 @@ K:Level up:1 K:maxLevel:12 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 6 | SetToughness$ 6 | AddKeyword$ Lifelink | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 6-11 6/6 Lifelink S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 9 | SetToughness$ 9 | AddKeyword$ Indestructible | CheckSVar$ Z | SVarCompare$ EQ1 | Description$ LEVEL 12+ 9/9 Lifelink and CARDNAME is Indestructible. -SVar:Y:Count$Valid Card.Self+countersGE6LEVEL+countersLTXLEVEL -SVar:Z:Count$Valid Card.Self+countersGEXLEVEL -SVar:X:Number$12 +SVar:Y:Count$Valid Card.Self+counters_GE6_LEVEL+counters_LT12_LEVEL +SVar:Z:Count$Valid Card.Self+counters_GE12_LEVEL SVar:Rarity:Mythic SVar:Picture:http://www.wizards.com/global/images/magic/general/transcendent_master.jpg SetInfo:ROE|Mythic|http://magiccards.info/scans/en/roe/51.jpg diff --git a/res/cardsfolder/t/trap_digger.txt b/res/cardsfolder/t/trap_digger.txt index 553bca1788e..445fa4d1caa 100644 --- a/res/cardsfolder/t/trap_digger.txt +++ b/res/cardsfolder/t/trap_digger.txt @@ -4,7 +4,7 @@ Types:Creature Human Soldier Text:no text PT:1/3 A:AB$ PutCounter | Cost$ 2 W T | ValidTgts$ Land.YouCtrl | TgtPrompt$ Select target land you control | CounterType$ TRAP | CounterNum$ 1 | SpellDescription$ Put a trap counter on target land you control. -A:AB$ DealDamage | Cost$ Sac<1/Land.countersGE1TRAP/land with a trap counter on it> | ValidTgts$ Creature.attacking+withoutFlying | TgtPrompt$ Select target attacking creature without flying | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to target attacking creature without flying. +A:AB$ DealDamage | Cost$ Sac<1/Land.counters_GE1_TRAP/land with a trap counter on it> | ValidTgts$ Creature.attacking+withoutFlying | TgtPrompt$ Select target attacking creature without flying | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to target attacking creature without flying. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/trap_digger.jpg SetInfo:SCG|Rare|http://magiccards.info/scans/en/sc/24.jpg diff --git a/res/cardsfolder/t/triassic_egg.txt b/res/cardsfolder/t/triassic_egg.txt index 7e03c5b6009..6eb4561ab0a 100644 --- a/res/cardsfolder/t/triassic_egg.txt +++ b/res/cardsfolder/t/triassic_egg.txt @@ -3,8 +3,8 @@ ManaCost:4 Types:Artifact Text:no text A:AB$ PutCounter | Cost$ 3 T | CounterType$ HATCHLING | CounterNum$ 1 | SpellDescription$ Put a hatchling counter on CARDNAME. -A:AB$ ChangeZone | Cost$ Sac<1/CARDNAME> | IsPresent$ Card.Self+countersGE2HATCHLING | Origin$ Hand | Destination$ Battlefield | ChangeType$ Creature.YouCtrl | ChangeNum$ 1 | SpellDescription$ Choose one - You may put a creature card from your hand onto the battlefield; -A:AB$ ChangeZone | Cost$ Sac<1/CARDNAME> | IsPresent$ Card.Self+countersGE2HATCHLING | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature from your graveyard | CostDesc$ or | SpellDescription$ return target creature card from your graveyard to the battlefield. Activate this ability only if two or more hatchling counters are on CARDNAME. +A:AB$ ChangeZone | Cost$ Sac<1/CARDNAME> | IsPresent$ Card.Self+counters_GE2_HATCHLING | Origin$ Hand | Destination$ Battlefield | ChangeType$ Creature.YouCtrl | ChangeNum$ 1 | SpellDescription$ Choose one - You may put a creature card from your hand onto the battlefield; +A:AB$ ChangeZone | Cost$ Sac<1/CARDNAME> | IsPresent$ Card.Self+counters_GE2_HATCHLING | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature from your graveyard | CostDesc$ or | SpellDescription$ return target creature card from your graveyard to the battlefield. Activate this ability only if two or more hatchling counters are on CARDNAME. SVar:RemAIDeck:True SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/triassic_egg.jpg diff --git a/res/cardsfolder/v/veldt.txt b/res/cardsfolder/v/veldt.txt index 7f38d898aea..94303c858a1 100644 --- a/res/cardsfolder/v/veldt.txt +++ b/res/cardsfolder/v/veldt.txt @@ -2,7 +2,7 @@ Name:Veldt ManaCost:no cost Types:Land Text:no text -S:Mode$ Continuous | Affected$ Card.Self+countersGE1DEPLETION | AddHiddenKeyword$ HIDDEN CARDNAME doesn't untap during your untap step. | Description$ CARDNAME doesn't untap during your untap step if it has a depletion counter on it. +S:Mode$ Continuous | Affected$ Card.Self+counters_GE1_DEPLETION | AddHiddenKeyword$ HIDDEN CARDNAME doesn't untap during your untap step. | Description$ CARDNAME doesn't untap during your untap step if it has a depletion counter on it. A:AB$ Mana | Cost$ T | Produced$ G | Amount$ 1 | SubAbility$ SVar=AddCounter | SpellDescription$ Add G to your mana pool. Put a depletion counter on CARDNAME. A:AB$ Mana | Cost$ T | Produced$ W | Amount$ 1 | SubAbility$ SVar=AddCounter | SpellDescription$ Add W to your mana pool. Put a depletion counter on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSubCounter | TriggerDescription$ At the beginning of your upkeep, remove a depletion counter from CARDNAME. diff --git a/res/cardsfolder/v/venarian_gold.txt b/res/cardsfolder/v/venarian_gold.txt index fc2369ec73a..47863692b47 100644 --- a/res/cardsfolder/v/venarian_gold.txt +++ b/res/cardsfolder/v/venarian_gold.txt @@ -7,7 +7,7 @@ A:SP$ Attach | Cost$ X U U | ValidTgts$ Creature | AILogic$ Curse T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigTap | TriggerDescription$ When CARDNAME enters the battlefield, tap enchanted creature and put X sleep counters on it. SVar:TrigTap:AB$Tap | Cost$ 0 | Defined$ Enchanted | SubAbility$ SVar=DBPutCounter SVar:DBPutCounter:DB$PutCounter | Cost$ 0 | Defined$ Enchanted | CounterType$ SLEEP | CounterNum$ X -S:Mode$ Continuous | Affected$ Creature.YouCtrl+countersGE1SLEEP | AddHiddenKeyword$ HIDDEN CARDNAME doesn't untap during your untap step. | Description$ Enchanted creature doesn't untap during its controller's untap step if it has a sleep counter on it. +S:Mode$ Continuous | Affected$ Creature.YouCtrl+counters_GE1_SLEEP | AddHiddenKeyword$ HIDDEN CARDNAME doesn't untap during your untap step. | Description$ Enchanted creature doesn't untap during its controller's untap step if it has a sleep counter on it. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ EnchantedController | TriggerZones$ Battlefield | Execute$ TrigRemoveCounter | TriggerDescription$ At the beginning of the upkeep of enchanted creature's controller, remove a sleep counter from that creature. SVar:TrigRemoveCounter:AB$RemoveCounter | Cost$ 0 | Defined$ Enchanted | CounterType$ SLEEP | CounterNum$ 1 SVar:X:Count$xPaid diff --git a/res/cardsfolder/v/vigean_graftmage.txt b/res/cardsfolder/v/vigean_graftmage.txt index 0b76fd7aa65..f3143407ab5 100644 --- a/res/cardsfolder/v/vigean_graftmage.txt +++ b/res/cardsfolder/v/vigean_graftmage.txt @@ -4,7 +4,7 @@ Types:Creature Vedalken Wizard Mutant Text:no text PT:0/0 K:Graft 2 -A:AB$ Untap | Cost$ 1 U | ValidTgts$ Creature.countersGE1P1P1 | TgtPrompt$ Select target creature with a +1/+1 counter | SpellDescription$ Untap target creature with a +1/+1 counter on it. +A:AB$ Untap | Cost$ 1 U | ValidTgts$ Creature.counters_GE1_P1P1 | TgtPrompt$ Select target creature with a +1/+1 counter | SpellDescription$ Untap target creature with a +1/+1 counter on it. SVar:RemAIDeck:True SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/vigean_graftmage.jpg diff --git a/res/cardsfolder/z/zulaport_enforcer.txt b/res/cardsfolder/z/zulaport_enforcer.txt index 924d2e1ccac..c011797e49c 100644 --- a/res/cardsfolder/z/zulaport_enforcer.txt +++ b/res/cardsfolder/z/zulaport_enforcer.txt @@ -7,8 +7,8 @@ K:Level up:4 K:maxLevel:3 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 3 | SetToughness$ 3 | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 1-2 3/3 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 5 | SetToughness$ 5 | AddKeyword$ CARDNAME can't be blocked except by black creatures. | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 3+ 5/5 CARDNAME can't be blocked except by black creatures -SVar:X:Count$Valid Card.Self+countersGE1LEVEL+countersLT3LEVEL -SVar:Y:Count$Valid Card.Self+countersGE3LEVEL +SVar:X:Count$Valid Card.Self+counters_GE1_LEVEL+counters_LT3_LEVEL +SVar:Y:Count$Valid Card.Self+counters_GE3_LEVEL SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/zulaport_enforcer.jpg SetInfo:ROE|Common|http://magiccards.info/scans/en/roe/133.jpg diff --git a/res/main.properties b/res/main.properties index d27976845a0..a648cde651b 100644 --- a/res/main.properties +++ b/res/main.properties @@ -58,8 +58,8 @@ draft--properties=draft/draft.properties lang--transparent-properties=lang/lang.properties -image/base--file=pics -image/token--file=pics/tokens -image/icon--file=pics/icons +image/base--file=D:/Games/forge/pics +image/token--file=D:/Games/forge/pics/tokens +image/icon--file=D:/Games/forge/pics/icons symbols/small--file=images/symbols-13 sound/base--file=sound diff --git a/src/main/java/forge/Card.java b/src/main/java/forge/Card.java index 2e9620f2de0..b76d2e3d161 100644 --- a/src/main/java/forge/Card.java +++ b/src/main/java/forge/Card.java @@ -14,6 +14,7 @@ import java.util.TreeMap; import com.esotericsoftware.minlog.Log; import forge.Constant.Zone; +import forge.card.abilityFactory.AbilityFactory; import forge.card.cardFactory.CardFactoryUtil; import forge.card.cost.Cost; import forge.card.mana.ManaCost; @@ -5108,17 +5109,20 @@ public class Card extends GameEntity implements Comparable { // TODO: get a working regex out of this pattern so the amount of digits doesn't matter int number = 0; - if (Property.substring(10, 11).equals("X")) - number = CardFactoryUtil.xCount(source, getSVar("X")); - else if (Property.substring(10, 11).equals("Y")) - number = CardFactoryUtil.xCount(source, getSVar("Y")); - else - number = Integer.parseInt(Property.substring(10, 11)); - - String type = Property.substring(11); - String comparator = Property.substring(8, 10); // comparator = EQ, LE, GE etc. - int actualnumber = getCounters(Counters.getType(type)); - + String[] splitProperty = Property.split("_"); + String strNum = splitProperty[1].substring(2); + String comparator = splitProperty[1].substring(0,2); + String counterType = ""; + try { + number = Integer.parseInt(strNum); + } + catch(NumberFormatException e) { + number = CardFactoryUtil.xCount(source, source.getSVar(strNum)); + } + counterType = splitProperty[2]; + + int actualnumber = getCounters(Counters.getType(counterType)); + if (!AllZoneUtil.compare(actualnumber, comparator, number)) return false; } else if (Property.startsWith("attacking")) { diff --git a/src/main/java/forge/Upkeep.java b/src/main/java/forge/Upkeep.java index 7d39951d37f..e3df91e9fe1 100644 --- a/src/main/java/forge/Upkeep.java +++ b/src/main/java/forge/Upkeep.java @@ -117,7 +117,6 @@ public class Upkeep implements java.io.Serializable { //Win / Lose // Checks for can't win or can't lose happen in Player.altWinConditionMet() - upkeep_Helix_Pinnacle(); upkeep_Barren_Glory(); upkeep_Karma(); @@ -2318,37 +2317,6 @@ public class Upkeep implements java.io.Serializable { } // for } // upkeep_Power_Surge() - /** - *

upkeep_Helix_Pinnacle.

- */ - private static void upkeep_Helix_Pinnacle() { - final Player player = AllZone.getPhase().getPlayerTurn(); - - CardList list = player.getCardsIn(Zone.Battlefield, "Helix Pinnacle"); - - for (final Card c : list) { - if (c.getCounters(Counters.TOWER) < 100) { - continue; - } - - Ability ability = new Ability(c, "0") { - @Override - public void resolve() { - if (c.getCounters(Counters.TOWER) >= 100) { - player.altWinBySpellEffect(c.getName()); - } - } - }; // Ability - - StringBuilder sb = new StringBuilder(); - sb.append("Helix Pinnacle - ").append(player).append(" wins the game"); - ability.setStackDescription(sb.toString()); - - AllZone.getStack().addSimultaneousStackEntry(ability); - - } // if - } // upkeep_Helix_Pinnacle - /** *

upkeep_Barren_Glory.

*/