mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Fixed Allied Strategies
This commit is contained in:
@@ -3,7 +3,7 @@ ManaCost:4 U
|
|||||||
Types:Sorcery
|
Types:Sorcery
|
||||||
Text:no text
|
Text:no text
|
||||||
A:SP$ Draw | Cost$ 4 U | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Select target player | SpellDescription$ Domain - Target player draws a card for each basic land type among lands he or she controls.
|
A:SP$ Draw | Cost$ 4 U | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Select target player | SpellDescription$ Domain - Target player draws a card for each basic land type among lands he or she controls.
|
||||||
SVar:X:Count$Domain
|
SVar:X:TargetedPlayer$DomainPlayer
|
||||||
SVar:RemRandomDeck:True
|
SVar:RemRandomDeck:True
|
||||||
SVar:Rarity:Uncommon
|
SVar:Rarity:Uncommon
|
||||||
SVar:Picture:http://resources.wizards.com/magic/cards/ps/en-us/card26383.jpg
|
SVar:Picture:http://resources.wizards.com/magic/cards/ps/en-us/card26383.jpg
|
||||||
|
|||||||
@@ -2706,6 +2706,19 @@ public class CardFactoryUtil {
|
|||||||
return CardFactoryUtil.doXMath(players.get(0).getCardsIn(Zone.Hand).size(), m, source);
|
return CardFactoryUtil.doXMath(players.get(0).getCardsIn(Zone.Hand).size(), m, source);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sq[0].contains("DomainPlayer")) {
|
||||||
|
CardList someCards = new CardList();
|
||||||
|
someCards.addAll(players.get(0).getCardsIn(Zone.Battlefield));
|
||||||
|
final String[] basic = { "Forest", "Plains", "Mountain", "Island", "Swamp" };
|
||||||
|
|
||||||
|
for (int i = 0; i < basic.length; i++) {
|
||||||
|
if (!someCards.getType(basic[i]).isEmpty()) {
|
||||||
|
n++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return CardFactoryUtil.doXMath(n, m, source);
|
||||||
|
}
|
||||||
|
|
||||||
if (sq[0].contains("CardsInLibrary")) {
|
if (sq[0].contains("CardsInLibrary")) {
|
||||||
if (players.size() > 0) {
|
if (players.size() > 0) {
|
||||||
@@ -2752,6 +2765,7 @@ public class CardFactoryUtil {
|
|||||||
|
|
||||||
return CardFactoryUtil.doXMath(n, m, source);
|
return CardFactoryUtil.doXMath(n, m, source);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* parseSVar TODO - flesh out javadoc for this method.
|
* parseSVar TODO - flesh out javadoc for this method.
|
||||||
|
|||||||
Reference in New Issue
Block a user