mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- DTK: Added Qarsi Deceiver
This commit is contained in:
@@ -209,7 +209,7 @@ public class CardFactoryUtil {
|
|||||||
final StringBuilder sbStack = new StringBuilder();
|
final StringBuilder sbStack = new StringBuilder();
|
||||||
sbStack.append(sourceCard.getName()).append(" - turn this card face up.");
|
sbStack.append(sourceCard.getName()).append(" - turn this card face up.");
|
||||||
manifestUp.setStackDescription(sbStack.toString());
|
manifestUp.setStackDescription(sbStack.toString());
|
||||||
//manifestUp.setIsMorphUp(true);
|
manifestUp.setIsManifestUp(true);
|
||||||
|
|
||||||
return manifestUp;
|
return manifestUp;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -310,6 +310,14 @@ public class AbilityManaPart implements java.io.Serializable {
|
|||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (restriction.equals("MorphOrManifest")) {
|
||||||
|
if ((sa.isSpell() && sa.getHostCard().isCreature() && ((Spell) sa).isCastFaceDown())
|
||||||
|
|| sa.isManifestUp() || sa.isMorphUp()) {
|
||||||
|
return true;
|
||||||
|
} else {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (sa.isAbility()) {
|
if (sa.isAbility()) {
|
||||||
if (restriction.startsWith("Activated")) {
|
if (restriction.startsWith("Activated")) {
|
||||||
@@ -320,6 +328,7 @@ public class AbilityManaPart implements java.io.Serializable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (sa.getHostCard() != null) {
|
if (sa.getHostCard() != null) {
|
||||||
if (sa.getHostCard().isValid(restriction, this.getSourceCard().getController(), this.getSourceCard())) {
|
if (sa.getHostCard().isValid(restriction, this.getSourceCard().getController(), this.getSourceCard())) {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
|
|||||||
private boolean dash = false;
|
private boolean dash = false;
|
||||||
private boolean offering = false;
|
private boolean offering = false;
|
||||||
private boolean morphup = false;
|
private boolean morphup = false;
|
||||||
|
private boolean manifestUp = false;
|
||||||
private boolean cumulativeupkeep = false;
|
private boolean cumulativeupkeep = false;
|
||||||
private boolean outlast = false;
|
private boolean outlast = false;
|
||||||
private SplitSide splitSide = null;
|
private SplitSide splitSide = null;
|
||||||
@@ -286,6 +287,13 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
|
|||||||
morphup = b;
|
morphup = b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isManifestUp() {
|
||||||
|
return manifestUp;
|
||||||
|
}
|
||||||
|
public final void setIsManifestUp(final boolean b) {
|
||||||
|
manifestUp = b;
|
||||||
|
}
|
||||||
|
|
||||||
public boolean isCycling() {
|
public boolean isCycling() {
|
||||||
return cycling;
|
return cycling;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user