From 2a17a3d88e07877a6464eb11b14be17ad81776e4 Mon Sep 17 00:00:00 2001 From: Sloth Date: Tue, 17 Jul 2012 16:22:42 +0000 Subject: [PATCH] - Converted more cards to StAb RaiseCost. --- res/cardsfolder/a/alabaster_leech.txt | 2 +- res/cardsfolder/a/andradite_leech.txt | 2 +- res/cardsfolder/a/aura_of_silence.txt | 2 +- res/cardsfolder/d/derelor.txt | 2 +- res/cardsfolder/g/gloom.txt | 4 ++-- res/cardsfolder/g/glowrider.txt | 2 +- res/cardsfolder/g/grand_arbiter_augustin_iv.txt | 2 +- res/cardsfolder/h/high_seas.txt | 3 +-- res/cardsfolder/j/jade_leech.txt | 2 +- res/cardsfolder/l/lodestone_golem.txt | 2 +- res/cardsfolder/r/ruby_leech.txt | 2 +- res/cardsfolder/s/sapphire_leech.txt | 2 +- res/cardsfolder/t/thalia_guardian_of_thraben.txt | 2 +- res/cardsfolder/t/thorn_of_amethyst.txt | 2 +- .../forge/card/staticability/StaticAbilityCostChange.java | 4 ++++ 15 files changed, 19 insertions(+), 16 deletions(-) diff --git a/res/cardsfolder/a/alabaster_leech.txt b/res/cardsfolder/a/alabaster_leech.txt index e376dbeac54..23a264e698e 100644 --- a/res/cardsfolder/a/alabaster_leech.txt +++ b/res/cardsfolder/a/alabaster_leech.txt @@ -3,7 +3,7 @@ ManaCost:W Types:Creature Leech Text:no text PT:1/3 -K:CostChange:Player:More:W:Spell:white:All:NoSpecial:White spells you cast cost W more to cast. +S:Mode$ RaiseCost | ValidCard$ Card.White | Activator$ You | Type$ Spell | Color$ W | Amount$ 1 | Description$ White spells you cast cost W more to cast. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/alabaster_leech.jpg SetInfo:INV|Rare|http://magiccards.info/scans/en/in/1.jpg diff --git a/res/cardsfolder/a/andradite_leech.txt b/res/cardsfolder/a/andradite_leech.txt index 44b2ad52b44..bc016212961 100644 --- a/res/cardsfolder/a/andradite_leech.txt +++ b/res/cardsfolder/a/andradite_leech.txt @@ -4,7 +4,7 @@ Types:Creature Leech Text:no text PT:2/2 A:AB$ Pump | Cost$ B | NumAtt$ +1 | NumDef$ +1 | SpellDescription$ CARDNAME gets +1/+1 until end of turn. -K:CostChange:Player:More:B:Spell:black:All:NoSpecial:Black spells you cast cost B more to cast. +S:Mode$ RaiseCost | ValidCard$ Card.Black | Activator$ You | Type$ Spell | Color$ B | Amount$ 1 | Description$ Black spells you cast cost B more to cast. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/andradite_leech.jpg SetInfo:INV|Rare|http://magiccards.info/scans/en/in/93.jpg diff --git a/res/cardsfolder/a/aura_of_silence.txt b/res/cardsfolder/a/aura_of_silence.txt index 281b05cb5e1..e29f7f1c6bf 100644 --- a/res/cardsfolder/a/aura_of_silence.txt +++ b/res/cardsfolder/a/aura_of_silence.txt @@ -2,7 +2,7 @@ Name:Aura of Silence ManaCost:1 W W Types:Enchantment Text:no text -K:CostChange:Opponent:More:2:Spell:All:Enchantment/Artifact:OnlyOneBonus:Artifact and enchantment spells your opponents cast cost 2 more to cast. +S:Mode$ RaiseCost | ValidCard$ Artifact,Enchantment | Activator$ Opponent | Type$ Spell | Amount$ 2 | Description$ Artifact and enchantment spells your opponents cast cost 2 more to cast. A:AB$ Destroy | Cost$ Sac<1/CARDNAME> | ValidTgts$ Enchantment,Artifact | TgtPrompt$ Select target artifact or enchantment | SpellDescription$ Destroy target artifact or enchantment. SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/aura_of_silence.jpg diff --git a/res/cardsfolder/d/derelor.txt b/res/cardsfolder/d/derelor.txt index 3a4a6d54c1d..72b88f3883d 100644 --- a/res/cardsfolder/d/derelor.txt +++ b/res/cardsfolder/d/derelor.txt @@ -3,7 +3,7 @@ ManaCost:3 B Types:Creature Thrull Text:no text PT:4/4 -K:CostChange:Player:More:B:Spell:black:All:NoSpecial:Black spells you cast cost B more to cast. +S:Mode$ RaiseCost | ValidCard$ Card.Black | Activator$ You | Type$ Spell | Color$ B | Amount$ 1 | Description$ Black spells you cast cost B more to cast. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/derelor.jpg SetInfo:5ED|Rare|http://magiccards.info/scans/en/5e/17.jpg diff --git a/res/cardsfolder/g/gloom.txt b/res/cardsfolder/g/gloom.txt index 169aa85eb22..ee69124db0b 100644 --- a/res/cardsfolder/g/gloom.txt +++ b/res/cardsfolder/g/gloom.txt @@ -2,8 +2,8 @@ Name:Gloom ManaCost:2 B Types:Enchantment Text:no text -K:CostChange:All:More:3:Spell:white:All:NoSpecial:White spells cost 3 more to cast. -K:CostChange:All:More:3:Ability:white:Enchantment:NoSpecial:Activated abilities of white enchantments cost 3 more to activate. +S:Mode$ RaiseCost | ValidCard$ Card.White | Type$ Spell | Amount$ 3 | Description$ White spells cost 3 more to cast. +S:Mode$ RaiseCost | ValidCard$ Enchantment.White | Type$ Ability | Amount$ 3 | AffectedZone$ Battlefield | Description$ Activated abilities of white enchantments cost 3 more to activate. SVar:RemRandomDeck:True SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/gloom.jpg diff --git a/res/cardsfolder/g/glowrider.txt b/res/cardsfolder/g/glowrider.txt index e222f9d4d57..b129b60f33a 100644 --- a/res/cardsfolder/g/glowrider.txt +++ b/res/cardsfolder/g/glowrider.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Creature Human Cleric Text:no text PT:2/1 -K:CostChange:All:More:1:Spell:All:Creature:NonType:Noncreature spells cost 1 more to cast. +S:Mode$ RaiseCost | ValidCard$ Card.nonCreature | Type$ Spell | Amount$ 1 | Description$ Noncreature spells cost 1 more to cast. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/glowrider.jpg SetInfo:LGN|Rare|http://magiccards.info/scans/en/le/15.jpg diff --git a/res/cardsfolder/g/grand_arbiter_augustin_iv.txt b/res/cardsfolder/g/grand_arbiter_augustin_iv.txt index f4c42b1b904..6c506a7d671 100644 --- a/res/cardsfolder/g/grand_arbiter_augustin_iv.txt +++ b/res/cardsfolder/g/grand_arbiter_augustin_iv.txt @@ -5,7 +5,7 @@ Text:no text PT:2/3 S:Mode$ ReduceCost | ValidCard$ Card.White | Type$ Spell | Activator$ You | Amount$ 1 | Description$ White spells you cast cost 1 less to cast. S:Mode$ ReduceCost | ValidCard$ Card.Blue | Type$ Spell | Activator$ You | Amount$ 1 | Description$ Blue spells you cast cost 1 less to cast. -K:CostChange:Opponent:More:1:Spell:All:All:NoSpecial:Spells your opponents cast cost 1 more to cast. +S:Mode$ RaiseCost | Activator$ Opponent | Type$ Spell | Amount$ 1 | Description$ Spells your opponents cast cost 1 more to cast. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/grand_arbiter_augustin_iv.jpg SetInfo:DIS|Rare|http://magiccards.info/scans/en/di/112.jpg diff --git a/res/cardsfolder/h/high_seas.txt b/res/cardsfolder/h/high_seas.txt index 8d312c396e8..00c4e5d5828 100644 --- a/res/cardsfolder/h/high_seas.txt +++ b/res/cardsfolder/h/high_seas.txt @@ -2,8 +2,7 @@ Name:High Seas ManaCost:2 U Types:Enchantment Text:no text -K:CostChange:All:More:1:Spell:red:Creature:NoSpecial:Red creature spells and green creature spells cost 1 more to cast. -K:CostChange:All:More:1:Spell:green:Creature:NoSpecial +S:Mode$ RaiseCost | ValidCard$ Creature.Red,Creature.Green | Type$ Spell | Amount$ 1 | Description$ Red creature spells and green creature spells cost 1 more to cast. SVar:RemRandomDeck:True SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/high_seas.jpg diff --git a/res/cardsfolder/j/jade_leech.txt b/res/cardsfolder/j/jade_leech.txt index d0e127f0554..bb6c13e47e2 100644 --- a/res/cardsfolder/j/jade_leech.txt +++ b/res/cardsfolder/j/jade_leech.txt @@ -3,7 +3,7 @@ ManaCost:2 G G Types:Creature Leech Text:no text PT:5/5 -K:CostChange:Player:More:G:Spell:green:All:NoSpecial:Green spells you cast cost G more to cast. +S:Mode$ RaiseCost | ValidCard$ Card.Green | Activator$ You | Type$ Spell | Color$ G | Amount$ 1 | Description$ Green spells you cast cost G more to cast. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/jade_leech.jpg SetInfo:INV|Rare|http://magiccards.info/scans/en/in/190.jpg diff --git a/res/cardsfolder/l/lodestone_golem.txt b/res/cardsfolder/l/lodestone_golem.txt index 0cade4a591d..7e563371073 100644 --- a/res/cardsfolder/l/lodestone_golem.txt +++ b/res/cardsfolder/l/lodestone_golem.txt @@ -3,7 +3,7 @@ ManaCost:4 Types:Artifact Creature Golem Text:no text PT:5/3 -K:CostChange:All:More:1:Spell:All:Artifact:NonType:Nonartifact spells cost 1 more to cast. +S:Mode$ RaiseCost | ValidCard$ Card.nonArtifact | Type$ Spell | Amount$ 1 | Description$ Nonartifact spells cost 1 more to cast. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/lodestone_golem.jpg SetInfo:WWK|Rare|http://magiccards.info/scans/en/wwk/127.jpg diff --git a/res/cardsfolder/r/ruby_leech.txt b/res/cardsfolder/r/ruby_leech.txt index 3f289ecd665..3853fb79ac7 100644 --- a/res/cardsfolder/r/ruby_leech.txt +++ b/res/cardsfolder/r/ruby_leech.txt @@ -4,7 +4,7 @@ Types:Creature Leech Text:no text PT:2/2 K:First Strike -K:CostChange:Player:More:R:Spell:red:All:NoSpecial:Red spells you cast cost R more to cast. +S:Mode$ RaiseCost | ValidCard$ Card.Red | Activator$ You | Type$ Spell | Color$ R | Amount$ 1 | Description$ Red spells you cast cost R more to cast. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/ruby_leech.jpg SetInfo:INV|Rare|http://magiccards.info/scans/en/in/161.jpg diff --git a/res/cardsfolder/s/sapphire_leech.txt b/res/cardsfolder/s/sapphire_leech.txt index 7815c048be2..38e054f6479 100644 --- a/res/cardsfolder/s/sapphire_leech.txt +++ b/res/cardsfolder/s/sapphire_leech.txt @@ -4,7 +4,7 @@ Types:Creature Leech Text:no text PT:2/2 K:Flying -K:CostChange:Player:More:U:Spell:blue:All:NoSpecial:Blue spells you cast cost Blue more to cast. +S:Mode$ RaiseCost | ValidCard$ Card.Blue | Activator$ You | Type$ Spell | Color$ U | Amount$ 1 | Description$ Blue spells you cast cost U more to cast. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/sapphire_leech.jpg SetInfo:INV|Rare|http://magiccards.info/scans/en/in/71.jpg diff --git a/res/cardsfolder/t/thalia_guardian_of_thraben.txt b/res/cardsfolder/t/thalia_guardian_of_thraben.txt index 09c19989f13..cfa68ad549d 100644 --- a/res/cardsfolder/t/thalia_guardian_of_thraben.txt +++ b/res/cardsfolder/t/thalia_guardian_of_thraben.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Human Soldier Text:no text PT:2/1 K:First Strike -K:CostChange:All:More:1:Spell:All:Creature:NonType:Noncreature spells cost 1 more to cast. +S:Mode$ RaiseCost | ValidCard$ Card.nonCreature | Type$ Spell | Amount$ 1 | Description$ Noncreature spells cost 1 more to cast. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/thalia_guardian_of_thraben.jpg Oracle:First Strike\nNoncreature spells cost {1} more to cast. diff --git a/res/cardsfolder/t/thorn_of_amethyst.txt b/res/cardsfolder/t/thorn_of_amethyst.txt index ffe38d20916..9b92d89297b 100644 --- a/res/cardsfolder/t/thorn_of_amethyst.txt +++ b/res/cardsfolder/t/thorn_of_amethyst.txt @@ -2,7 +2,7 @@ Name:Thorn of Amethyst ManaCost:2 Types:Artifact Text:no text -K:CostChange:All:More:1:Spell:All:Creature:NonType:Noncreature spells cost 1 more to cast. +S:Mode$ RaiseCost | ValidCard$ Card.nonCreature | Type$ Spell | Amount$ 1 | Description$ Noncreature spells cost 1 more to cast. SVar:RemRandomDeck:True SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/thorn_of_amethyst.jpg diff --git a/src/main/java/forge/card/staticability/StaticAbilityCostChange.java b/src/main/java/forge/card/staticability/StaticAbilityCostChange.java index 5efabc15573..3de0aadb9a6 100644 --- a/src/main/java/forge/card/staticability/StaticAbilityCostChange.java +++ b/src/main/java/forge/card/staticability/StaticAbilityCostChange.java @@ -92,6 +92,10 @@ public class StaticAbilityCostChange { manaCost.increaseShard(ManaCostShard.WHITE, value); } else if (params.get("Color").equals("B")) { manaCost.increaseShard(ManaCostShard.BLACK, value); + } else if (params.get("Color").equals("U")) { + manaCost.increaseShard(ManaCostShard.BLUE, value); + } else if (params.get("Color").equals("R")) { + manaCost.increaseShard(ManaCostShard.RED, value); } else if (params.get("Color").equals("G")) { manaCost.increaseShard(ManaCostShard.GREEN, value); }