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