mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Merge latest trunk to SplitCards
This commit is contained in:
@@ -4,6 +4,7 @@ Types:Instant
|
||||
A:SP$ Pump | Cost$ 2 WU WU | ValidTgts$ Creature.nonLegendary | TgtPrompt$ Choose target nonlegendary creature | AILogic$ Pump | RememberObjects$ Targeted | SubAbility$ MirrorweaveClone | StackDescription$ None | SpellDescription$ Each other creature becomes a copy of target nonlegendary creature until end of turn.
|
||||
SVar:MirrorweaveClone:DB$ RepeatEach | UseImprinted$ True | RepeatCards$ Creature.IsNotRemembered | RepeatSubAbility$ DBCopy | SubAbility$ DBCleanup
|
||||
SVar:DBCopy:DB$ Clone | Defined$ Remembered | CloneTarget$ Imprinted | Duration$ UntilEndOfTurn
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/mirrorweave.jpg
|
||||
Oracle:Each other creature becomes a copy of target nonlegendary creature until end of turn.
|
||||
SetInfo:SHM Rare
|
||||
@@ -6891,6 +6891,13 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
else if (list.get(1) != this) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.equals("ThisTurnCast")) {
|
||||
for (final Card card : CardUtil.getThisTurnCast("Card", source)) {
|
||||
if (this.equals(card)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
} else if (property.startsWith("sharesTypeWith")) {
|
||||
if (!this.sharesTypeWith(source)) {
|
||||
return false;
|
||||
@@ -7523,7 +7530,8 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
}
|
||||
|
||||
for (final String type : this.getType()) {
|
||||
if (type.equals("AllCreatureTypes") && c1.hasACreatureType()) {
|
||||
if (type.equals("AllCreatureTypes")
|
||||
&& (c1.hasACreatureType() || c1.typeContains("AllCreatureTypes"))) {
|
||||
return true;
|
||||
}
|
||||
if (forge.card.CardType.isACreatureType(type) && c1.isType(type)) {
|
||||
|
||||
@@ -138,7 +138,7 @@ public class ComputerUtilMana {
|
||||
} else {
|
||||
m.setExpressChoice("0");
|
||||
}
|
||||
}
|
||||
}
|
||||
// check if ability produces any color
|
||||
else if (m.isAnyMana()) {
|
||||
String colorChoice = costParts[nPart];
|
||||
@@ -156,7 +156,7 @@ public class ComputerUtilMana {
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else if (costParts[nPart].contains("/")) {
|
||||
} else if (costParts[nPart].contains("2/")) {
|
||||
colorChoice = costParts[nPart].replace("2/", "");
|
||||
} else if (costParts[nPart].length() > 1) {
|
||||
colorChoice = costParts[nPart].substring(0, 1);
|
||||
|
||||
Reference in New Issue
Block a user