mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Added Coalition Victory. I appreciate the help on this one.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -1453,6 +1453,7 @@ res/cardsfolder/c/clout_of_the_dominus.txt svneol=native#text/plain
|
|||||||
res/cardsfolder/c/clutch_of_the_undercity.txt svneol=native#text/plain
|
res/cardsfolder/c/clutch_of_the_undercity.txt svneol=native#text/plain
|
||||||
res/cardsfolder/c/clutch_of_undeath.txt svneol=native#text/plain
|
res/cardsfolder/c/clutch_of_undeath.txt svneol=native#text/plain
|
||||||
res/cardsfolder/c/coal_golem.txt svneol=native#text/plain
|
res/cardsfolder/c/coal_golem.txt svneol=native#text/plain
|
||||||
|
res/cardsfolder/c/coalition_victory.txt -text svneol=unset#text/plain
|
||||||
res/cardsfolder/c/coast_watcher.txt svneol=native#text/plain
|
res/cardsfolder/c/coast_watcher.txt svneol=native#text/plain
|
||||||
res/cardsfolder/c/coastal_drake.txt svneol=native#text/plain
|
res/cardsfolder/c/coastal_drake.txt svneol=native#text/plain
|
||||||
res/cardsfolder/c/coastal_hornclaw.txt svneol=native#text/plain
|
res/cardsfolder/c/coastal_hornclaw.txt svneol=native#text/plain
|
||||||
|
|||||||
13
res/cardsfolder/c/coalition_victory.txt
Normal file
13
res/cardsfolder/c/coalition_victory.txt
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
Name:Coalition Victory
|
||||||
|
ManaCost:3 W U B R G
|
||||||
|
Types:Sorcery
|
||||||
|
Text:no text
|
||||||
|
A:SP$ WinsGame | Cost$ 3 W U B R G | Defined$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ10 | SpellDescription$ If you have all basic lands and all colored creatures, you win mutha fucker.
|
||||||
|
SVar:Z:Count$ColoredCreatures
|
||||||
|
SVar:Y:Count$Domain
|
||||||
|
SVar:X:SVar$Y/Plus.Z
|
||||||
|
SVar:RemAIDeck:True
|
||||||
|
|
||||||
|
SVar:Rarity:Rare
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/coalition_victory.jpg
|
||||||
|
End
|
||||||
@@ -2942,7 +2942,6 @@ public class CardFactoryUtil {
|
|||||||
n++;
|
n++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
System.out.println("N is equal to" + n);
|
|
||||||
return CardFactoryUtil.doXMath(n, m, c);
|
return CardFactoryUtil.doXMath(n, m, c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2956,7 +2955,21 @@ public class CardFactoryUtil {
|
|||||||
n++;
|
n++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
System.out.println("Opp N is equal to" + n);
|
return CardFactoryUtil.doXMath(n, m, c);
|
||||||
|
}
|
||||||
|
|
||||||
|
//Count$ColoredCreatures *a DOMAIN for creatures*
|
||||||
|
if (sq[0].contains("ColoredCreatures")) {
|
||||||
|
someCards.addAll(cardController.getCardsIn(Zone.Battlefield));
|
||||||
|
someCards = someCards.filter(CardListFilter.CREATURES);
|
||||||
|
|
||||||
|
final String[] colors = { "green", "white", "red", "blue", "black" };
|
||||||
|
|
||||||
|
for (int i = 0; i < colors.length; i++) {
|
||||||
|
if (someCards.getColor(colors[i]).size() > 0) {
|
||||||
|
n++;
|
||||||
|
}
|
||||||
|
}
|
||||||
return CardFactoryUtil.doXMath(n, m, c);
|
return CardFactoryUtil.doXMath(n, m, c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user