- Converted more cards to StAb ReduceCost.

This commit is contained in:
Sloth
2012-07-15 20:32:20 +00:00
parent dbe9c48244
commit 97596787a2
7 changed files with 7 additions and 84 deletions

View File

@@ -6,7 +6,7 @@ PT:3/3
K:Flying
T:Mode$ Attacks | ValidCard$ Creature.Self | Execute$ HeraldsWarCry | TriggerDescription$ Whenever CARDNAME attacks, put a +1/+1 counter on it.
SVar:HeraldsWarCry:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1
K:CostChange:Player:Less:X:Spell:All:Angel/Human:OnlyOneBonus:Angels and Humans you cast cost 1 less for each +1/+1 counter on CARDNAME.
S:Mode$ ReduceCost | ValidCard$ Angel,Human | Type$ Spell | Activator$ You | Amount$ X | Description$ Angels and Humans you cast cost 1 less for each +1/+1 counter on CARDNAME.
SVar:X:Count$NumCounters.P1P1
SVar:HasAttackEffect:TRUE
SVar:Rarity:Rare

View File

@@ -4,7 +4,7 @@ Types:Creature Zombie
Text:no text
PT:1/1
A:AB$ Regenerate | Cost$ 1 B | SpellDescription$ Regenerate CARDNAME.
K:CostChange:Player:Less:1:Spell:blue/red:All:OnlyOneBonus:Blue spells and red spells you cast cost 1 less to cast.
S:Mode$ ReduceCost | ValidCard$ Card.Blue,Card.Red | Type$ Spell | Activator$ You | Amount$ 1 | Description$ Blue spells and red spells you cast cost 1 less to cast.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/nightscape_familiar.jpg
SetInfo:PLS|Common|http://magiccards.info/scans/en/ps/48.jpg

View File

@@ -4,7 +4,7 @@ Types:Creature Bird
Text:no text
PT:1/1
K:Flying
K:CostChange:Player:Less:1:Spell:white/black:All:OnlyOneBonus:White spells and black spells you cast cost 1 less to cast.
S:Mode$ ReduceCost | ValidCard$ Card.White,Card.Black | Type$ Spell | Activator$ You | Amount$ 1 | Description$ White spells and black spells you cast cost 1 less to cast.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/stormscape_familiar.jpg
SetInfo:TSB|Special|http://magiccards.info/scans/en/tsts/32.jpg

View File

@@ -4,7 +4,7 @@ Types:Creature Wall
Text:no text
PT:0/3
K:Defender
K:CostChange:Player:Less:1:Spell:green/blue:All:OnlyOneBonus:Green spells and blue spells you cast cost 1 less to cast.
S:Mode$ ReduceCost | ValidCard$ Card.Blue,Card.Green | Type$ Spell | Activator$ You | Amount$ 1 | Description$ Green spells and blue spells you cast cost 1 less to cast.
SVar:RemRandomDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/sunscape_familiar.jpg

View File

@@ -3,7 +3,7 @@ ManaCost:1 G
Types:Creature Insect
Text:no text
PT:2/1
K:CostChange:Player:Less:1:Spell:red/white:All:OnlyOneBonus:Red spells and white spells you cast cost 1 less to cast.
S:Mode$ ReduceCost | ValidCard$ Card.White,Card.Red | Type$ Spell | Activator$ You | Amount$ 1 | Description$ Red spells and white spells you cast cost 1 less to cast.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/thornscape_familiar.jpg
SetInfo:PLS|Common|http://magiccards.info/scans/en/ps/95.jpg

View File

@@ -4,7 +4,7 @@ Types:Creature Kavu
Text:no text
PT:1/1
K:First Strike
K:CostChange:Player:Less:1:Spell:black/green:All:OnlyOneBonus:Black spells and green spells you cast cost 1 less to cast.
S:Mode$ ReduceCost | ValidCard$ Card.Black,Card.Green | Type$ Spell | Activator$ You | Amount$ 1 | Description$ Black spells and green spells you cast cost 1 less to cast.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/thunderscape_familiar.jpg
SetInfo:PLS|Common|http://magiccards.info/scans/en/ps/76.jpg

View File

@@ -2017,7 +2017,7 @@ public class GameAction {
return false;
}
});
final CardList playerHand = controller.getCardsIn(ZoneType.Hand);
int xBonus = 0;
final int max = 25;
if (sa.isMultiKicker()) {
@@ -2067,36 +2067,6 @@ public class GameAction {
}
}
}
if (k[7].contains("All Conditions")) { // Only Works for
// Color and Type
for (int stringNo = 5; stringNo < 7; stringNo++) {
final String spilt = k[stringNo];
final String[] colorSpilt = spilt.split("/");
for (final String element : colorSpilt) {
k[stringNo] = element;
if (stringNo == 5) {
if (CardUtil.getColors(originalCard).contains(k[5]) || k[5].equals("All")) {
} else {
k[5] = "Nullified";
break;
}
}
if (stringNo == 6) {
if (originalCard.isType(k[6]) || k[6].equals("All")) {
} else {
k[6] = "Nullified";
break;
}
}
}
}
if (!k[5].equals("Nullified")) {
k[5] = "All";
}
if (!k[6].equals("Nullified")) {
k[6] = "All";
}
}
if (((k[1].equals("Player") && card.getController().equals(controller))
|| (k[1].equals("Opponent") && card.getController().equals(controller.getOpponent())) || k[1]
.equals("All"))
@@ -2227,53 +2197,6 @@ public class GameAction {
k[6] = card.getChosenType();
}
if (k[2].equals("Less")) {
if (k[7].equals("OnlyOneBonus")) { // Only Works for
// Color and Type
for (int stringNo = 5; stringNo < 7; stringNo++) {
final String spilt = k[stringNo];
final String[] colorSpilt = spilt.split("/");
for (final String element : colorSpilt) {
k[stringNo] = element;
if ((stringNo == 5) && CardUtil.getColors(originalCard).contains(k[5])) {
break;
}
if ((stringNo == 6) && (originalCard.isType(k[6]))) {
break;
}
}
}
}
if (k[7].contains("All Conditions")) { // Only Works for
// Color and Type
for (int stringNo = 5; stringNo < 7; stringNo++) {
final String spilt = k[stringNo];
final String[] colorSpilt = spilt.split("/");
for (final String element : colorSpilt) {
k[stringNo] = element;
if (stringNo == 5) {
if (CardUtil.getColors(originalCard).contains(k[5]) || k[5].equals("All")) {
} else {
k[5] = "Nullified";
break;
}
}
if (stringNo == 6) {
if (originalCard.isType(k[6]) || k[6].equals("All")) {
} else {
k[6] = "Nullified";
break;
}
}
}
}
if (!k[5].equals("Nullified")) {
k[5] = "All";
}
if (!k[6].equals("Nullified")) {
k[6] = "All";
}
}
if (((k[1].equals("Player") && card.getController().equals(controller))
|| (k[1].equals("Opponent") && card.getController().equals(controller.getOpponent())) || k[1]
.equals("All"))