mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Merge branch 'master' of git.cardforge.org:core-developers/forge into push_down_toStringMap_part_2
This commit is contained in:
@@ -156,7 +156,7 @@ public class DamageDealAi extends DamageAiBase {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (ai.getAttackedWithCreatureThisTurn()) {
|
||||
if (!ai.getCreaturesAttackedThisTurn().isEmpty()) {
|
||||
dmg = Integer.parseInt(logic.substring(logic.indexOf(".") + 1));
|
||||
}
|
||||
} else if ("WildHunt".equals(logic)) {
|
||||
|
||||
@@ -63,7 +63,7 @@ public class DestroyAi extends SpellAbilityAi {
|
||||
}
|
||||
} else if ("AtEOTIfNotAttacking".equals(sa.getParam("AILogic"))) {
|
||||
PhaseHandler ph = ai.getGame().getPhaseHandler();
|
||||
if (!ph.is(PhaseType.END_OF_TURN) || ai.getAttackedWithCreatureThisTurn()) {
|
||||
if (!ph.is(PhaseType.END_OF_TURN) || !ai.getCreaturesAttackedThisTurn().isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -259,7 +259,19 @@ public abstract class CardTraitBase extends GameObject implements IHasCardView {
|
||||
return false;
|
||||
}
|
||||
final String payingMana = StringUtils.join(hostCard.getCastSA().getPayingMana());
|
||||
if (StringUtils.countMatches(payingMana, MagicColor.toShortString(params.get("Adamant"))) < 3) {
|
||||
final String color = params.get("Adamant");
|
||||
if ("Any".equals(color)) {
|
||||
boolean bFlag = false;
|
||||
for (byte c : MagicColor.WUBRG) {
|
||||
if (StringUtils.countMatches(payingMana, MagicColor.toShortString(c)) >= 3) {
|
||||
bFlag = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!bFlag) {
|
||||
return false;
|
||||
}
|
||||
} else if (StringUtils.countMatches(payingMana, MagicColor.toShortString(color)) < 3) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -464,12 +464,9 @@ public class AbilityUtils {
|
||||
players.remove(game.getPhaseHandler().getPlayerTurn());
|
||||
val = CardFactoryUtil.playerXCount(players, calcX[1], card);
|
||||
}
|
||||
else if (hType.startsWith("PropertyYou") && !(ability instanceof SpellAbility)) {
|
||||
// Related to the controller of the card with ability when the ability is static (or otherwise not a SpellAbility)
|
||||
// TODO: This doesn't work in situations when the controller of the card is different from the spell caster
|
||||
// (e.g. opponent's Hollow One exiled by Hostage Taker - cost reduction will not work in this scenario, requires
|
||||
// a more significant rework).
|
||||
players.add(card.getController());
|
||||
else if (hType.startsWith("PropertyYou") && ability instanceof SpellAbility) {
|
||||
// Hollow One
|
||||
players.add(((SpellAbility) ability).getActivatingPlayer());
|
||||
val = CardFactoryUtil.playerXCount(players, calcX[1], card);
|
||||
}
|
||||
else if (hType.startsWith("Property") && ability instanceof SpellAbility) {
|
||||
@@ -1622,7 +1619,8 @@ public class AbilityUtils {
|
||||
// Count$Adamant.<Color>.<True>.<False>
|
||||
if (sq[0].startsWith("Adamant")) {
|
||||
final String payingMana = StringUtils.join(sa.getRootAbility().getPayingMana());
|
||||
final boolean adamant = StringUtils.countMatches(payingMana, MagicColor.toShortString(sq[1])) >= 3;
|
||||
final int num = sq[0].length() > 7 ? Integer.parseInt(sq[0].split("_")[1]) : 3;
|
||||
final boolean adamant = StringUtils.countMatches(payingMana, MagicColor.toShortString(sq[1])) >= num;
|
||||
return CardFactoryUtil.doXMath(Integer.parseInt(sq[adamant ? 2 : 3]), expr, c);
|
||||
}
|
||||
|
||||
|
||||
@@ -980,7 +980,10 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
|
||||
}
|
||||
c.setController(newController, game.getNextTimestamp());
|
||||
}
|
||||
|
||||
if (sa.hasParam("WithCounters")) {
|
||||
String[] parse = sa.getParam("WithCounters").split("_");
|
||||
c.addEtbCounter(CounterType.getType(parse[0]), Integer.parseInt(parse[1]), player);
|
||||
}
|
||||
if (sa.hasParam("Transformed")) {
|
||||
if (c.isDoubleFaced()) {
|
||||
c.changeCardState("Transform", null);
|
||||
|
||||
@@ -65,6 +65,11 @@ public class ImmediateTriggerEffect extends SpellAbilityEffect {
|
||||
}
|
||||
}
|
||||
|
||||
if (sa.hasParam("RememberDefinedNumber")) {
|
||||
immediateTrig.addRemembered((Integer) AbilityUtils.calculateAmount(sa.getHostCard(),
|
||||
sa.getParam("RememberDefinedNumber"), sa));
|
||||
}
|
||||
|
||||
if (mapParams.containsKey("Execute") || sa.hasAdditionalAbility("Execute")) {
|
||||
SpellAbility overridingSA = sa.getAdditionalAbility("Execute");
|
||||
overridingSA.setActivatingPlayer(sa.getActivatingPlayer());
|
||||
|
||||
@@ -9,15 +9,18 @@ import forge.game.GameActionUtil;
|
||||
import forge.game.ability.AbilityUtils;
|
||||
import forge.game.ability.SpellAbilityEffect;
|
||||
import forge.game.card.Card;
|
||||
import forge.game.card.CardCollection;
|
||||
import forge.game.card.CardLists;
|
||||
import forge.game.mana.Mana;
|
||||
import forge.game.player.Player;
|
||||
import forge.game.spellability.AbilityManaPart;
|
||||
import forge.game.spellability.SpellAbility;
|
||||
import forge.game.spellability.TargetRestrictions;
|
||||
import forge.game.zone.ZoneType;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import com.google.common.collect.Iterables;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class ManaEffect extends SpellAbilityEffect {
|
||||
@@ -181,6 +184,16 @@ public class ManaEffect extends SpellAbilityEffect {
|
||||
}
|
||||
String cs = manaType.toString();
|
||||
abMana.setExpressChoice(cs);
|
||||
} else if (type.startsWith("EachColorAmong")) {
|
||||
final String res = type.split("_")[1];
|
||||
final CardCollection list = CardLists.getValidCards(card.getGame().getCardsIn(ZoneType.Battlefield),
|
||||
res, sa.getActivatingPlayer(), card, sa);
|
||||
byte colors = 0;
|
||||
for (Card c : list) {
|
||||
colors |= c.determineColor().getColor();
|
||||
}
|
||||
if (colors == 0) return;
|
||||
abMana.setExpressChoice(ColorSet.fromMask(colors));
|
||||
}
|
||||
|
||||
if (abMana.getExpressChoice().isEmpty()) {
|
||||
|
||||
@@ -70,6 +70,7 @@ public class RestartGameEffect extends SpellAbilityEffect {
|
||||
|
||||
player.setStartingLife(psc.getStartingLife());
|
||||
player.setPoisonCounters(0, sa.getHostCard());
|
||||
player.resetSpellCastThisGame();
|
||||
player.setLandsPlayedLastTurn(0);
|
||||
player.resetLandsPlayedThisTurn();
|
||||
player.resetInvestigatedThisTurn();
|
||||
|
||||
@@ -918,6 +918,10 @@ public class CardFactoryUtil {
|
||||
return doXMath(cc.getSurveilThisTurn(), m, c);
|
||||
}
|
||||
|
||||
if (sq[0].equals("YouCastThisGame")) {
|
||||
return doXMath(cc.getSpellsCastThisGame(), m, c);
|
||||
}
|
||||
|
||||
if (sq[0].equals("FirstSpellTotalManaSpent")) {
|
||||
try{
|
||||
return doXMath(c.getFirstSpellAbility().getTotalManaSpent(), m, c);
|
||||
@@ -1103,13 +1107,11 @@ public class CardFactoryUtil {
|
||||
final String restriction = l[0].substring(11);
|
||||
final String[] rest = restriction.split(",");
|
||||
final CardCollection list = CardLists.getValidCards(cc.getGame().getCardsInGame(), rest, cc, c, null);
|
||||
int n = 0;
|
||||
for (final byte col : MagicColor.WUBRG) {
|
||||
if (!CardLists.getColor(list, col).isEmpty()) {
|
||||
n++;
|
||||
}
|
||||
byte n = 0;
|
||||
for (final Card card : list) {
|
||||
n |= card.determineColor().getColor();
|
||||
}
|
||||
return doXMath(n, m, c);
|
||||
return doXMath(ColorSet.fromMask(n).countColors(), m, c);
|
||||
}
|
||||
|
||||
if (sq[0].contains("CreatureType")) {
|
||||
@@ -1332,6 +1334,13 @@ public class CardFactoryUtil {
|
||||
return doXMath(cc.getAttackersDeclaredThisTurn(), m, c);
|
||||
}
|
||||
|
||||
// Count$CardAttackedThisTurn_<Valid>
|
||||
if (sq[0].contains("CreaturesAttackedThisTurn")) {
|
||||
final String[] workingCopy = l[0].split("_");
|
||||
final String validFilter = workingCopy[1];
|
||||
return doXMath(CardLists.getType(cc.getCreaturesAttackedThisTurn(), validFilter).size(), m, c);
|
||||
}
|
||||
|
||||
// Count$ThisTurnCast <Valid>
|
||||
// Count$LastTurnCast <Valid>
|
||||
if (sq[0].contains("ThisTurnCast") || sq[0].contains("LastTurnCast")) {
|
||||
|
||||
@@ -57,7 +57,8 @@ public final class CardUtil {
|
||||
"Transmute", "Replicate", "Recover", "Suspend", "Aura swap",
|
||||
"Fortify", "Transfigure", "Champion", "Evoke", "Prowl", "IfReach",
|
||||
"Reinforce", "Unearth", "Level up", "Miracle", "Overload",
|
||||
"Scavenge", "Bestow", "Outlast", "Dash", "Surge", "Emerge", "Hexproof:").build();
|
||||
"Scavenge", "Bestow", "Outlast", "Dash", "Surge", "Emerge", "Hexproof:",
|
||||
"etbCounter").build();
|
||||
/** List of keyword endings of keywords that could be modified by text changes. */
|
||||
public static final ImmutableList<String> modifiableKeywordEndings = ImmutableList.<String>builder().add(
|
||||
"walk", "cycling", "offering").build();
|
||||
|
||||
@@ -557,7 +557,7 @@ public class CardView extends GameEntityView {
|
||||
}
|
||||
|
||||
tname = tname.isEmpty() ? state.getName() : tname;
|
||||
toracle = toracle.isEmpty() ? state.getOracleText() : toracle;
|
||||
|
||||
if (isSplitCard()) {
|
||||
taltname = getAlternateState().getName();
|
||||
taltoracle = getAlternateState().getOracleText();
|
||||
@@ -572,7 +572,7 @@ public class CardView extends GameEntityView {
|
||||
sb.append(taltoracle);
|
||||
return sb.toString().trim();
|
||||
} else {
|
||||
return toracle;
|
||||
return toracle.isEmpty() ? state.getOracleText() : toracle;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -147,6 +147,8 @@ public enum CounterType {
|
||||
|
||||
KI("KI", 190, 189, 255),
|
||||
|
||||
KNOWLEDGE("KNOWLEDGE", 0, 115, 255),
|
||||
|
||||
LANDMARK("LNMRK", 186, 28, 28),
|
||||
|
||||
LEVEL("LEVEL", 60, 222, 185),
|
||||
|
||||
@@ -317,7 +317,7 @@ public class CombatUtil {
|
||||
|
||||
c.getDamageHistory().setCreatureAttackedThisCombat(true);
|
||||
c.getDamageHistory().clearNotAttackedSinceLastUpkeepOf();
|
||||
c.getController().setAttackedWithCreatureThisTurn(true);
|
||||
c.getController().addCreaturesAttackedThisTurn(c);
|
||||
c.getController().incrementAttackersDeclaredThisTurn();
|
||||
|
||||
if (combat.getDefenderByAttacker(c) != null && combat.getDefenderByAttacker(c) instanceof Player) {
|
||||
|
||||
@@ -150,7 +150,7 @@ public class GlobalAttackRestrictions {
|
||||
final Game game = attackingPlayer.getGame();
|
||||
|
||||
/* if (game.getStaticEffects().getGlobalRuleChange(GlobalRuleChange.onlyOneAttackerATurn)) {
|
||||
if (attackingPlayer.getAttackedWithCreatureThisTurn()) {
|
||||
if (!attackingPlayer.getAttackedWithCreatureThisTurn().isEmpty()) {
|
||||
max = 0;
|
||||
} else {
|
||||
max = 1;
|
||||
|
||||
@@ -381,6 +381,9 @@ public class CostAdjustment {
|
||||
} else if ("Undaunted".equals(amount)) {
|
||||
value = card.getController().getOpponents().size();
|
||||
} else if (staticAbility.hasParam("Relative")) {
|
||||
// TODO: update cards with "This spell costs X less to cast...if you..."
|
||||
// The caster is sa.getActivatingPlayer()
|
||||
// cards like Hostage Taker can cast spells from other players.
|
||||
value = AbilityUtils.calculateAmount(hostCard, amount, sa);
|
||||
} else {
|
||||
value = AbilityUtils.calculateAmount(hostCard, amount, staticAbility);
|
||||
|
||||
@@ -1076,6 +1076,14 @@ public class PhaseHandler implements java.io.Serializable {
|
||||
game.fireEvent(new GameEventGameRestarted(playerTurn));
|
||||
return;
|
||||
}
|
||||
|
||||
// update Priority for all players
|
||||
for (final Player p : game.getPlayers()) {
|
||||
if(getPriorityPlayer() == p)
|
||||
p.setHasPriority(true);
|
||||
else
|
||||
p.setHasPriority(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -84,6 +84,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
||||
private final Map<Card, Integer> assignedDamage = Maps.newHashMap();
|
||||
private final Map<Card, Integer> assignedCombatDamage = Maps.newHashMap();
|
||||
private int spellsCastThisTurn = 0;
|
||||
private int spellsCastThisGame = 0;
|
||||
private int spellsCastLastTurn = 0;
|
||||
private int landsPlayedThisTurn = 0;
|
||||
private int landsPlayedLastTurn = 0;
|
||||
@@ -124,7 +125,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
||||
private ManaPool manaPool = new ManaPool(this);
|
||||
private GameEntity mustAttackEntity = null;
|
||||
private GameEntity mustAttackEntityThisTurn = null;
|
||||
private boolean attackedWithCreatureThisTurn = false;
|
||||
private CardCollection creatureAttackedThisTurn = new CardCollection();
|
||||
private boolean activateLoyaltyAbilityThisTurn = false;
|
||||
private boolean tappedLandForManaThisTurn = false;
|
||||
private int attackersDeclaredThisTurn = 0;
|
||||
@@ -1824,11 +1825,14 @@ public class Player extends GameEntity implements Comparable<Player> {
|
||||
activateLoyaltyAbilityThisTurn = b;
|
||||
}
|
||||
|
||||
public final boolean getAttackedWithCreatureThisTurn() {
|
||||
return attackedWithCreatureThisTurn;
|
||||
public final CardCollection getCreaturesAttackedThisTurn() {
|
||||
return creatureAttackedThisTurn;
|
||||
}
|
||||
public final void setAttackedWithCreatureThisTurn(final boolean b) {
|
||||
attackedWithCreatureThisTurn = b;
|
||||
public final void addCreaturesAttackedThisTurn(final Card c) {
|
||||
creatureAttackedThisTurn.add(c);
|
||||
}
|
||||
public final void clearCreaturesAttackedThisTurn() {
|
||||
creatureAttackedThisTurn.clear();
|
||||
}
|
||||
|
||||
public final int getAttackersDeclaredThisTurn() {
|
||||
@@ -2206,6 +2210,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
||||
}
|
||||
public final void addSpellCastThisTurn() {
|
||||
spellsCastThisTurn++;
|
||||
spellsCastThisGame++;
|
||||
achievementTracker.spellsCast++;
|
||||
if (spellsCastThisTurn > achievementTracker.maxStormCount) {
|
||||
achievementTracker.maxStormCount = spellsCastThisTurn;
|
||||
@@ -2217,7 +2222,12 @@ public class Player extends GameEntity implements Comparable<Player> {
|
||||
public final void setSpellsCastLastTurn(int num) {
|
||||
spellsCastLastTurn = num;
|
||||
}
|
||||
|
||||
public final int getSpellsCastThisGame() {
|
||||
return spellsCastThisGame;
|
||||
}
|
||||
public final void resetSpellCastThisGame() {
|
||||
spellsCastThisGame = 0;
|
||||
}
|
||||
public final int getLifeGainedByTeamThisTurn() {
|
||||
return lifeGainedByTeamThisTurn;
|
||||
}
|
||||
@@ -2389,7 +2399,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
||||
resetNumDrawnThisTurn();
|
||||
resetNumDiscardedThisTurn();
|
||||
setNumCardsInHandStartedThisTurnWith(getCardsIn(ZoneType.Hand).size());
|
||||
setAttackedWithCreatureThisTurn(false);
|
||||
clearCreaturesAttackedThisTurn();
|
||||
setActivateLoyaltyAbilityThisTurn(false);
|
||||
setTappedLandForManaThisTurn(false);
|
||||
setLandsPlayedLastTurn(getLandsPlayedThisTurn());
|
||||
@@ -2670,6 +2680,12 @@ public class Player extends GameEntity implements Comparable<Player> {
|
||||
public void setExtraTurnCount(final int val) {
|
||||
view.setExtraTurnCount(val);
|
||||
}
|
||||
public void setHasPriority(final boolean val) {
|
||||
view.setHasPriority(val);
|
||||
}
|
||||
public boolean isAI() {
|
||||
return view.isAI();
|
||||
}
|
||||
|
||||
public void initVariantsZones(RegisteredPlayer registeredPlayer) {
|
||||
PlayerZone bf = getZone(ZoneType.Battlefield);
|
||||
|
||||
@@ -225,6 +225,15 @@ public class PlayerProperty {
|
||||
if (!Expressions.compare(list.size(), comparator, y)) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.startsWith("HasCardsIn")) { // HasCardsIn[zonetype]_[cardtype]_[comparator]
|
||||
final String[] type = property.substring(10).split("_");
|
||||
final CardCollectionView list = CardLists.getValidCards(player.getCardsIn(ZoneType.smartValueOf(type[0])), type[1], sourceController, source);
|
||||
String comparator = type[2];
|
||||
String compareTo = comparator.substring(2);
|
||||
int y = StringUtils.isNumeric(compareTo) ? Integer.parseInt(compareTo) : 0;
|
||||
if (!Expressions.compare(list.size(), comparator, y)) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.startsWith("withMore")) {
|
||||
final String cardType = property.split("sThan")[0].substring(8);
|
||||
final Player controller = "Active".equals(property.split("sThan")[1]) ? game.getPhaseHandler().getPlayerTurn() : sourceController;
|
||||
|
||||
@@ -205,6 +205,13 @@ public class PlayerView extends GameEntityView {
|
||||
set(TrackableProperty.ExtraTurnCount, val);
|
||||
}
|
||||
|
||||
public boolean getHasPriority() {
|
||||
return get(TrackableProperty.HasPriority);
|
||||
}
|
||||
public void setHasPriority(final boolean val) {
|
||||
set(TrackableProperty.HasPriority, val);
|
||||
}
|
||||
|
||||
public int getMaxHandSize() {
|
||||
return get(TrackableProperty.MaxHandSize);
|
||||
}
|
||||
|
||||
@@ -527,7 +527,7 @@ public class StaticAbility extends CardTraitBase implements IIdentifiable, Clone
|
||||
}
|
||||
|
||||
if (hasParam("PlayerAttackedWithCreatureThisTurn")
|
||||
&& !player.getAttackedWithCreatureThisTurn()) {
|
||||
&& player.getCreaturesAttackedThisTurn().isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -734,8 +734,8 @@ public class TriggerHandler {
|
||||
}
|
||||
} else if (kw.startsWith("Dieharmonicon")) {
|
||||
// 700.4. The term dies means "is put into a graveyard from the battlefield."
|
||||
if (runParams.get(AbilityKey.Destination) instanceof String) {
|
||||
final String origin = (String) runParams.get(AbilityKey.Destination);
|
||||
if (runParams.get(AbilityKey.Origin) instanceof String) {
|
||||
final String origin = (String) runParams.get(AbilityKey.Origin);
|
||||
if ("Battlefield".equals(origin) && runParams.get(AbilityKey.Destination) instanceof String) {
|
||||
final String dest = (String) runParams.get(AbilityKey.Destination);
|
||||
if ("Graveyard".equals(dest) && runParams.get(AbilityKey.Card) instanceof Card) {
|
||||
|
||||
@@ -120,6 +120,7 @@ public enum TrackableProperty {
|
||||
Mana(TrackableTypes.ManaMapType, FreezeMode.IgnoresFreeze),
|
||||
IsExtraTurn(TrackableTypes.BooleanType),
|
||||
ExtraTurnCount(TrackableTypes.IntegerType),
|
||||
HasPriority(TrackableTypes.BooleanType),
|
||||
|
||||
//SpellAbility
|
||||
HostCard(TrackableTypes.CardViewType),
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
<uses-sdk
|
||||
android:minSdkVersion="19"
|
||||
android:targetSdkVersion="21" />
|
||||
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <!-- This one needs Android Runtime Permission for Android 6+ -->
|
||||
<uses-permission android:name="android.permission.VIBRATE"/>
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
||||
|
||||
@@ -17,13 +17,10 @@ import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.os.Environment;
|
||||
import android.os.PowerManager;
|
||||
import android.provider.Settings;
|
||||
import static android.provider.Settings.System.SCREEN_OFF_TIMEOUT;
|
||||
import android.view.WindowManager;
|
||||
import android.webkit.MimeTypeMap;
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.backends.android.AndroidApplication;
|
||||
import forge.FThreads;
|
||||
import forge.Forge;
|
||||
import forge.interfaces.IDeviceAdapter;
|
||||
import forge.model.FModel;
|
||||
@@ -37,7 +34,6 @@ import java.io.OutputStream;
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
public class Main extends AndroidApplication {
|
||||
public int time = -2;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
@@ -239,17 +235,16 @@ public class Main extends AndroidApplication {
|
||||
|
||||
@Override
|
||||
public void preventSystemSleep(final boolean preventSleep) {
|
||||
if (time == -2)
|
||||
time = Settings.System.getInt(getContentResolver(), SCREEN_OFF_TIMEOUT, 0);
|
||||
FThreads.invokeInEdtNowOrLater(new Runnable() { //must set window flags from EDT thread
|
||||
// Setting getWindow() Flags needs to run on UI thread.
|
||||
// Should fix android.view.ViewRoot$CalledFromWrongThreadException:
|
||||
// Only the original thread that created a view hierarchy can touch its views.
|
||||
runOnUiThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (preventSleep) {
|
||||
Settings.System.putInt(getContentResolver(), SCREEN_OFF_TIMEOUT, Integer.MAX_VALUE);
|
||||
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
||||
}
|
||||
else {
|
||||
Settings.System.putInt(getContentResolver(), SCREEN_OFF_TIMEOUT, time);
|
||||
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,7 @@ import forge.sound.SoundSystem;
|
||||
import forge.toolbox.*;
|
||||
import forge.util.Callback;
|
||||
import forge.util.FileUtil;
|
||||
import forge.util.Localizer;
|
||||
import forge.util.Utils;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -96,6 +97,8 @@ public class Forge implements ApplicationListener {
|
||||
|
||||
textureFiltering = prefs.getPrefBoolean(FPref.UI_LIBGDX_TEXTURE_FILTERING);
|
||||
|
||||
final Localizer localizer = Localizer.getInstance();
|
||||
|
||||
//load model on background thread (using progress bar to report progress)
|
||||
FThreads.invokeInBackgroundThread(new Runnable() {
|
||||
@Override
|
||||
@@ -106,13 +109,13 @@ public class Forge implements ApplicationListener {
|
||||
|
||||
FModel.initialize(splashScreen.getProgressBar(), null);
|
||||
|
||||
splashScreen.getProgressBar().setDescription("Loading fonts...");
|
||||
splashScreen.getProgressBar().setDescription(localizer.getMessage("lblLoadingFonts"));
|
||||
FSkinFont.preloadAll();
|
||||
|
||||
splashScreen.getProgressBar().setDescription("Loading card translations...");
|
||||
splashScreen.getProgressBar().setDescription(localizer.getMessage("lblLoadingCardTranslations"));
|
||||
CardTranslation.preloadTranslation(prefs.getPref(FPref.UI_LANGUAGE));
|
||||
|
||||
splashScreen.getProgressBar().setDescription("Finishing startup...");
|
||||
splashScreen.getProgressBar().setDescription(localizer.getMessage("lblFinishingStartup"));
|
||||
|
||||
Gdx.app.postRunnable(new Runnable() {
|
||||
@Override
|
||||
@@ -248,11 +251,16 @@ public class Forge implements ApplicationListener {
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
final Localizer localizer = Localizer.getInstance();
|
||||
|
||||
if (silent) {
|
||||
callback.run(true);
|
||||
}
|
||||
else {
|
||||
FOptionPane.showConfirmDialog("Are you sure you wish to restart Forge?", "Restart Forge", "Restart", "Cancel", callback);
|
||||
FOptionPane.showConfirmDialog(
|
||||
localizer.getMessage("lblAreYouSureYouWishRestartForge"), localizer.getMessage("lblRestartForge"),
|
||||
localizer.getMessage("lblRestart"), localizer.getMessage("lblCancel"), callback);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -268,11 +276,16 @@ public class Forge implements ApplicationListener {
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
final Localizer localizer = Localizer.getInstance();
|
||||
|
||||
if (silent) {
|
||||
callback.run(true);
|
||||
}
|
||||
else {
|
||||
FOptionPane.showConfirmDialog("Are you sure you wish to exit Forge?", "Exit Forge", "Exit", "Cancel", callback);
|
||||
FOptionPane.showConfirmDialog(
|
||||
localizer.getMessage("lblAreYouSureYouWishExitForge"), localizer.getMessage("lblExitForge"),
|
||||
localizer.getMessage("lblExit"), localizer.getMessage("lblCancel"), callback);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -533,6 +533,7 @@ public class Graphics {
|
||||
alphaComposite = 1;
|
||||
batch.setColor(Color.WHITE);
|
||||
}
|
||||
public float getfloatAlphaComposite() { return alphaComposite; }
|
||||
|
||||
public void drawImage(FImage image, float x, float y, float w, float h) {
|
||||
drawImage(image, x, y, w, h, false);
|
||||
|
||||
@@ -355,111 +355,107 @@ public class FSkinFont {
|
||||
//generate from zh-CN.properties,and cardnames-zh-CN.txt
|
||||
//forge generate 3000+ characters cache need Take some time(MIN_FONT_SIZE - MAX_FONT_SIZE all size)
|
||||
//maybe using libgdx-hiero generate font cache is better
|
||||
chars += "·âéöû—“”•−●、。「」『』一丁七万三!(),/:;?~鼹鼻齐齑"
|
||||
+ "上下不与丑专且世丘业丛东丝两严丧个中丰临丸丹为丽举乃久么义"
|
||||
+ "之乌乍乐乔乖乘乙九也乡书乱乳乾了予争事二于云互五井亘亚些亡"
|
||||
+ "交亥亦产享京亮亲亵人亿什仁仅仆仇今介仍从仑仓仕他仗付仙代令"
|
||||
+ "以仪们仰仲件价任份仿伊伍伏伐休众优伙会伟传伤伦伪伯伴伶伺似"
|
||||
+ "伽但位低住佐佑体何余佚佛作你佣佩佳使例侍侏供依侠侣侦侧侬侮"
|
||||
+ "侯侵便促俄俊俐俑俘保信修俯俸個倍倒候借倡倦倨倪债值倾假偏做"
|
||||
+ "停偶偷偿傀傍储催傲像僧僭僵僻儒儡儿兀允元充兆先光克免兔兕党"
|
||||
+ "入全八公六兰共关兴兵其具典兹养兼兽内册再冒冕写军农冠冢冥冬"
|
||||
+ "冰冲决况冶冷冻净准凋凌减凑凛凝几凡凤凭凯凰凶出击凿刀刃分切"
|
||||
+ "刈刍刑划列则刚创初删判利别刮到制刷刹刺刻刽剂剃削剌前剎剑剖"
|
||||
+ "剜剥剧剩剪副割剽劈力劝办功加务劣动助努劫励劲劳势勃勇勉勋勒"
|
||||
+ "勘募勤勾包匍匐匕化北匙匠匪匹区医匿十千升午半华协卑卒卓单卖"
|
||||
+ "南博卜占卡卢卦卫印危即却卵卷卸厂厄厅历厉压厚原厢厥厦厨去参"
|
||||
+ "叉及友双反发叔取受变叙叛叠口古句另叨只叫召叮可台史右叶号司"
|
||||
+ "叹吁吃各合吉吊同名后吏吐向吓吕吗君吞吟否含听吮启吱吸吹吻吼"
|
||||
+ "呆告呕员周味呼命咆和咏咒咕咬咯咳咽哀品哈响哑哗哥哨哩哪哭哮"
|
||||
+ "哲哺唐唤售唯唱啃啄商啜啪啮啸喀喂善喉喊喋喘喙喜喝喧喷嗅嗔嗜"
|
||||
+ "嗡嗣嗫嘉嘎嘘嘲嘴嘶噜噤器噬嚎嚼囊囚四回因团囤园困围固国图圆"
|
||||
+ "圈團土圣在地场圾均坊坍坎坏坐坑块坚坛坝坞坟坠坤坦坪坷垂垃型"
|
||||
+ "垒垛垠垢垣垦埃埋城域培基堂堆堕堡堤堪堰塌塑塔塘塞填境墓墙增"
|
||||
+ "墟墨壁壅壕壤士壬壮声壳壶处备复夏外多夜够大天太夫央失头夷夸"
|
||||
+ "夹夺奇奈奉奋奎契奔奖套奢奥女奴她好如妃妄妆妇妈妖妙妥妪妮妲"
|
||||
+ "妹姆姊始姓姜姥姬姿威娃娅娜婆婉婪婶媒嫁嫩嬉子孑孔孕字存孚孢"
|
||||
+ "季孤学孪孳孵孽宁它宅宇守安完宏宗官宙定宜宝实宠审客宣室宪宫"
|
||||
+ "宰害宴家容宾宿寂寄密寇富寒寓寝察寡寨寰寸对寺寻导封射将尉尊"
|
||||
+ "小少尔尖尘尚尝尤尬就尸尹尺尼尽尾局层居屈屋屏屑展属屠履屯山"
|
||||
+ "屹岁岑岔岖岗岚岛岩岱岳岸峡峭峰峻崇崎崔崖崩崽嵌巅巍川巡巢工"
|
||||
+ "左巧巨巫差己已巳巴巷币市布帅帆师希帕帖帘帜帝带席帮帷常帽幅"
|
||||
+ "幔幕干平年并幸幻幼幽广庄庆庇床序库应底店庙府庞废度座庭庶廉"
|
||||
+ "廊延建开异弃弄弊式弑弓引弗弘弟张弥弦弧弩弯弱張弹强归当录彗"
|
||||
+ "形彩彰影役彻彼往征径待很徊律後徒徕得徘徙從御復循微徵德徽心"
|
||||
+ "必忆忌忍忒志忘忠忧快忱念忽忾忿怀态怒怖思急性怨怪怯总恍恐恒"
|
||||
+ "恕恢恣恨恩恫息恰恳恶恸恼悉悍悔悖悟患悦您悬悯悲悼情惊惑惘惚"
|
||||
+ "惠惧惨惩惫惰想惹愁愈愎意愚感愣愤愧愿慈慌慎慑慕慢慧慨慰慷憎"
|
||||
+ "憩懦戈戏成我戒戕或战戟截戮戳戴户戾房所扁扇扈手才扎扑扒打托"
|
||||
+ "扣执扩扫扬扭扮扯扰找承技抄抉把抑抓投抖抗折抚抛抢护报披抱抵"
|
||||
+ "抹押抽拂拆拉拍拒拓拔拖拘招拜拟拣拥拦拧拨择括拯拱拳拷拼拽拾"
|
||||
+ "拿持挂指按挑挖挚挟挠挡挣挥挪挫振挺挽捆捉捍捕捞损换捣捧据捷"
|
||||
+ "捻掀授掉掌掐排掘掠探接控推掩措掮掳掷揍描提插握揭援揽搁搅搏"
|
||||
+ "搐搜搞搬搭携摄摆摇摘摧摩摸摹撒撕撞撤撬播撵撼擅操擎擒擞擦攀"
|
||||
+ "攫支收改攻放政故效敌敏救敕教敞敢散敦敬数敲整文斐斑斓斗斤斥"
|
||||
+ "斧斩断斯新方施旁旅旋族旗无既日旧旨早旭时旷旸旺昂昆昌明昏易"
|
||||
+ "昔昙星映春昨昭是昵昼显晃晋晓晕晖晚晨普景晰晴晶晷智暂暗暮暴"
|
||||
+ "曙曜曝曦曲曳更曼曾替最月有服朗望朝期木未末本札术朵机朽杀杂"
|
||||
+ "权杉李村杖杜束条来杨杯杰松板极构析林枚果枝枢枪枭枯架枷柄柏"
|
||||
+ "某染柜查柩柯柱柳栅标栈栋栏树栓栖栗株样核根格栽桂框案桌桎桑"
|
||||
+ "桓桠档桥桨桩桶梁梅梓梢梣梦梧梨梭梯械检棄棍棒棕棘棚森棱棺椁"
|
||||
+ "植椎椒椽楂楔楚楣楼概榄榆榔榨榴槌槛模横樱樵橇橡橫檀檐次欢欣"
|
||||
+ "欧欲欺歇歌止正此步武歪死歼殁殆殇殉殊残殍殒殓殖殡殴段殷殿毁"
|
||||
+ "毅母每毒比毕毛毡氅氏民氓气氤氦氧氲水永汀汁求汇汉汐汗汛池污"
|
||||
+ "汤汨汪汰汲汹汽沃沈沉沌沐沙沟没沥沦沮河沸油治沼沾沿泄泉泊法"
|
||||
+ "泛泞泡波泣泥注泪泯泰泽洁洋洒洗洛洞津洪洲活洼派流浅浆浇浊测"
|
||||
+ "济浑浓浚浩浪浮浴海浸涅消涉涌涎涛涟涡涤润涨涩液涵淋淘淤淬深"
|
||||
+ "混淹添清渊渎渐渔渗渝渠渡渣渥温港渲渴游湍湖湛湮湾湿溃溅源溜"
|
||||
+ "溢溪溯溶溺滋滑滓滔滚滞满滤滥滨滴漂漏演漠漩漫潘潜潭潮澄澈澹"
|
||||
+ "激濑濒瀑瀚灌火灭灯灰灵灼灾灿炉炎炙炫炬炭炮炸点炼炽烁烂烈烙"
|
||||
+ "烛烟烤烦烧烫烬热烽焉焊焚焦焰然煌煎煞煤照煮煽熄熊熏熔熟熠熵"
|
||||
+ "燃燎燕燧爆爪爬爱爵父片版牌牒牙牛牝牡牢牦牧物牲牵特牺犀犁犄"
|
||||
+ "犧犬犯状狂狄狈狐狗狙狞狡狩独狭狮狰狱狷狸狼猁猎猛猜猪猫献猴"
|
||||
+ "猿獒獠獾玄率玉王玖玛玩玫环现玷玻珀珂珊珍珠班球理琉琐琥琳琴"
|
||||
+ "琵琼瑕瑙瑚瑞瑟瑰璃璞璧瓜瓣瓦瓮瓯瓶瓷甘生用甩甫田由甲电画畅"
|
||||
+ "界畏留略畸畿疆疏疑疗疚疡疣疤疫疮疯疲疵疹疽疾病症痕痛痞痢痨"
|
||||
+ "痪痴痹瘟瘠瘤瘫瘴癣癫癸登白百的皆皇皈皮皱皿盆盈盐监盒盔盖盗"
|
||||
+ "盘盛盟目盲直相盾省看真眠眨眩眷眺眼着睁睡督睥睨睿瞄瞒瞥瞪瞬"
|
||||
+ "瞭瞰瞳矛矢知矫短矮石矾矿码砂砍研砖砦砧破砸砾础硕硫硬确碍碎"
|
||||
+ "碑碟碧碰碳碻碾磁磊磨磷磺礁示礼社祀祈祖祝神祟祠祥票祭祷祸禁"
|
||||
+ "禄福离禽私秃秉秋种科秘秣秤秩积称移秽稀程税稚稳稻穆穗穴究穷"
|
||||
+ "穹空穿突窃窍窒窖窗窘窜窝窟窥立竖站竞章童竭端竹笏笑笔笛笞符"
|
||||
+ "第笼等筑筒答策筛筝筹签简箔算箝管箭箱篓篮篱篷簇簧簪米类粉粒"
|
||||
+ "粗粮粹精糊糙糟系素索紧紫累繁纂纠红约级纪纬纯纱纳纵纷纸纹纺"
|
||||
+ "纽线练组绅细织终绊绍经绒结绕绘给绚络绝绞统绥继绩绪续绮绯绳"
|
||||
+ "维绵综绽绿缀缄缅缆缇缉缎缓缕编缘缚缝缠缩缪缰缸缺罅网罔罗罚"
|
||||
+ "罡罩罪置羁羊美羚羞群羽翁翅翎翔翠翡翰翱翻翼耀老考者而耍耐耕"
|
||||
+ "耗耘耙耳耶职联聚聪肃肆肇肉肌肖肝肠肢肤肥肩肯育肴肺肿胀胁胃"
|
||||
+ "胆背胎胖胜胞胡胧胫胶胸能脂脆脉脊脏脑脓脚脱脸腐腔腕腥腱腹腾"
|
||||
+ "腿膂膏膛膜膝臂臃臣自臭至致舌舍舒舞舟航般舰舱船艇良艰色艺艾"
|
||||
+ "节芒芙芜芥芬芭芮花芳芽苇苍苏苔苗苛苜苟若苦英茁茂范茉茎茜茧"
|
||||
+ "茨茫茸荆草荒荚荡荣荨荫药荷莉莎莓莫莱莲莳获莽菁菇菊菌菜菲萃"
|
||||
+ "萌萍萎萝营萦萧萨萼落著葛葬葵蒂蒙蒸蓄蓑蓝蓟蓿蔑蔓蔚蔷蔻蔽蕈"
|
||||
+ "蕊蕨蕴蕾薄薇薙薪藏藐藓藤藻虎虏虐虑虔虚虫虱虹蚀蚁蚊蚋蚣蚺蛆"
|
||||
+ "蛇蛊蛋蛎蛙蛛蛞蛭蛮蛰蛸蛾蜂蜈蜉蜒蜕蜗蜘蜜蜡蜥蜴蜷蜿蝇蝎蝓蝗"
|
||||
+ "蝙蝠蝣蝾螂螅融螫螳螺蟀蟋蟑蟒蟹蠕蠢血行衍街衡衣补表衫衰袂袋"
|
||||
+ "袍袖被袭裁裂装裔裘褐褛褪褫褴褶襄西要覆见观规觅视览觉觊角解"
|
||||
+ "触言詹誉誓警计认讧讨让训议讯记讲许论讽设访诀证评诅识诈诉词"
|
||||
+ "试诗诘诚诛话诞诡该详诫语误诱诲说诵请诸诺读调谆谈谊谋谍谐谕"
|
||||
+ "谗谜谟谢谣谦谧谨谬谭谱谴谵谷豁象豪豹豺貂貌贝贞负贡财责贤败"
|
||||
+ "货质贩贪贫贬购贮贯贱贴贵贷贸费贺贼贾贿赂赃资赋赌赎赏赐赖赘"
|
||||
+ "赛赞赠赢赤赦赫走赶起超越趋足跃跑跖跚跛距跟跨路跳践跺踏踝踢"
|
||||
+ "踩踪踵踽蹂蹄蹊蹋蹒蹦蹬躁躏身躯躲車车轨轩转轭轮软轰轴轻载较"
|
||||
+ "辉辑输辖辗辙辛辜辞辟辨辩辫辰辱边达迁迂迅过迈迎运近返还这进"
|
||||
+ "远违连迟迦迩迪迫迭述迳迷迸迹追退送适逃逆选逊透逐递途通逝逞"
|
||||
+ "速造逢逮逸逻逼遁遇遍遏道遗遣遥遨遭遮避邀還那邦邪邬邸郊郎部"
|
||||
+ "都鄙酋配酒酬酷酸酿醉醒采釉释里重野量金鉴针钉钓钗钙钜钝钟钢"
|
||||
+ "钥钦钨钩钮钯钱钳钵钻钽铁铃铅铎铜铠铬铭铲银铸铺链销锁锄锅锈"
|
||||
+ "锋锐错锡锢锤锥锦锭键锯锻镇镖镜镬镰镶长間闇门闩闪闭问闯闲间"
|
||||
+ "闷闸闹闻阀阁阅队阱防阳阴阵阶阻阿陀附际陆陋降限院除陨险陪陲"
|
||||
+ "陵陶陷隆随隐隔隘障隧隶隼难雀雄雅集雇雏雕雨雪雯雳零雷雹雾需"
|
||||
+ "霆震霉霍霓霖霜霞霰露霸霹青靖静非靠靡面革靴靶鞍鞑鞭韧音韵韶"
|
||||
+ "页顶项顺须顽顾顿颂预颅领颈颊题颚颜额颠颤风飒飓飘飙飞食餍餐"
|
||||
+ "餮饕饥饭饮饰饱饵饶饿馆馈馐馑首香馨马驭驮驯驰驱驳驹驻驼驽驾"
|
||||
+ "驿骁骂骄骆骇验骏骐骑骗骚骤骨骰骷骸骼髅髓高鬃鬓鬣鬼魁魂魄魅"
|
||||
+ "魇魈魏魔鰴鱼鲁鲜鲤鲨鲮鲸鲽鳃鳄鳍鳐鳗鳝鳞鸟鸠鸡鸢鸣鸦鸽鹅鹉"
|
||||
+ "鹊鹏鹗鹞鹤鹦鹫鹭鹰鹿麋麒麟麦麻黄黎黏黑默黛黜點黠黯鼎鼓鼠鼬"
|
||||
+ "齿龇龙龟";
|
||||
chars += "●、。「」『』一丁七万三上下不与丑专且世丘业丛东丝两严丧个中"
|
||||
+ "丰临丸丹为主丽举乃久么义之乌乍乐乔乖乘乙九也乡书乱乳乾了予争"
|
||||
+ "事二于云互五井亘亚些亡交亥亦产享京亮亲亵人亿什仁仅仆仇今介仍"
|
||||
+ "从仑仓仕他仗付仙代令以仪们仰仲件价任份仿伊伍伏伐休众优伙会伟"
|
||||
+ "传伤伦伪伯伴伶伺似伽但位低住佐佑体何余佚佛作你佣佩佳使例侍侏"
|
||||
+ "供依侠侣侦侧侬侮侯侵便促俄俊俐俑俘保信修俯俸個倍倒候借倡倦倨"
|
||||
+ "倪债值倾假偏做停偶偷偿傀傍储催傲像僧僭僵僻儒儡儿兀允元充兆先"
|
||||
+ "光克免兔兕党入全八公六兰共关兴兵其具典兹养兼兽内册再冒冕写军"
|
||||
+ "农冠冢冥冬冰冲决况冶冷冻净准凋凌减凑凛凝几凡凤凭凯凰凶出击凿"
|
||||
+ "刀刃分切刈刍刑划列则刚创初删判利别刮到制刷刹刺刻刽剂剃削剌前"
|
||||
+ "剎剑剖剜剥剧剩剪副割剽劈力劝办功加务劣动助努劫励劲劳势勃勇勉"
|
||||
+ "勋勒勘募勤勾包匍匐匕化北匙匠匪匹区医匿十千升午半华协卑卒卓单"
|
||||
+ "卖南博卜占卡卢卦卫印危即却卵卷卸厂厄厅历厉压厚原厢厥厦厨去参"
|
||||
+ "叉及友双反发叔取受变叙叛叠口古句另叨只叫召叮可台史右叶号司叹"
|
||||
+ "吁吃各合吉吊同名后吏吐向吓吕吗君吞吟否含听吮启吱吸吹吻吼呆告"
|
||||
+ "呕员周味呼命咆和咏咒咕咬咯咳咽哀品哈响哑哗哥哨哩哪哭哮哲哺唐"
|
||||
+ "唤售唯唱啃啄商啜啪啮啸喀喂善喉喊喋喘喙喜喝喧喷嗅嗔嗜嗡嗣嗫嘉"
|
||||
+ "嘎嘘嘲嘴嘶噜噤器噬嚎嚼囊囚四回因团囤园困围固国图圆圈團土圣在"
|
||||
+ "地场圾均坊坍坎坏坐坑块坚坛坝坞坟坠坤坦坪坷垂垃型垒垛垠垢垣垦"
|
||||
+ "埃埋城域培基堂堆堕堡堤堪堰塌塑塔塘塞填境墓墙增墟墨壁壅壕壤士"
|
||||
+ "壬壮声壳壶处备复夏外多夜够大天太夫央失头夷夸夹夺奇奈奉奋奎契"
|
||||
+ "奔奖套奢奥女奴她好如妃妄妆妇妈妖妙妥妪妮妲妹姆姊始姓姜姥姬姿"
|
||||
+ "威娃娅娜婆婉婪婶媒嫁嫩嬉子孑孔孕字存孚孢季孤学孪孳孵孽宁它宅"
|
||||
+ "宇守安完宏宗官宙定宜宝实宠审客宣室宪宫宰害宴家容宾宿寂寄密寇"
|
||||
+ "富寒寓寝察寡寨寰寸对寺寻导封射将尉尊小少尔尖尘尚尝尤尬就尸尹"
|
||||
+ "尺尼尽尾局层居屈屋屏屑展属屠履屯山屹岁岑岔岖岗岚岛岩岱岳岸峡"
|
||||
+ "峭峰峻崇崎崔崖崩崽嵌巅巍川巡巢工左巧巨巫差己已巳巴巷币市布帅"
|
||||
+ "帆师希帕帖帘帜帝带席帮帷常帽幅幔幕干平年并幸幻幼幽广庄庆庇床"
|
||||
+ "序库应底店庙府庞废度座庭庶廉廊延建开异弃弄弊式弑弓引弗弘弟张"
|
||||
+ "弥弦弧弩弯弱張弹强归当录彗形彩彰影役彻彼往征径待很徊律後徒徕"
|
||||
+ "得徘徙從御復循微徵德徽心必忆忌忍忒志忘忠忧快忱念忽忾忿怀态怒"
|
||||
+ "怖思急性怨怪怯总恍恐恒恕恢恣恨恩恫息恰恳恶恸恼悉悍悔悖悟患悦"
|
||||
+ "您悬悯悲悼情惊惑惘惚惠惧惨惩惫惰想惹愁愈愎意愚感愣愤愧愿慈慌"
|
||||
+ "慎慑慕慢慧慨慰慷憎憩懦戈戏成我戒戕或战戟截戮戳戴户戾房所扁扇"
|
||||
+ "扈手才扎扑扒打托扣执扩扫扬扭扮扯扰找承技抄抉把抑抓投抖抗折抚"
|
||||
+ "抛抢护报披抱抵抹押抽拂拆拉拍拒拓拔拖拘招拜拟拣拥拦拧拨择括拯"
|
||||
+ "拱拳拷拼拽拾拿持挂指按挑挖挚挟挠挡挣挥挪挫振挺挽捆捉捍捕捞损"
|
||||
+ "换捣捧据捷捻掀授掉掌掐排掘掠探接控推掩措掮掳掷揍描提插握揭援"
|
||||
+ "揽搁搅搏搐搜搞搬搭携摄摆摇摘摧摩摸摹撒撕撞撤撬播撵撼擅操擎擒"
|
||||
+ "擞擦攀攫支收改攻放政故效敌敏救敕教敞敢散敦敬数敲整文斐斑斓斗"
|
||||
+ "斤斥斧斩断斯新方施旁旅旋族旗无既日旧旨早旭时旷旸旺昂昆昌明昏"
|
||||
+ "易昔昙星映春昨昭是昵昼显晃晋晓晕晖晚晨普景晰晴晶晷智暂暗暮暴"
|
||||
+ "曙曜曝曦曲曳更曼曾替最月有服朗望朝期木未末本札术朵机朽杀杂权"
|
||||
+ "杉李村杖杜束条来杨杯杰松板极构析林枚果枝枢枪枭枯架枷柄柏某染"
|
||||
+ "柜查柩柯柱柳栅标栈栋栏树栓栖栗株样核根格栽桂框案桌桎桑桓桠档"
|
||||
+ "桥桨桩桶梁梅梓梢梣梦梧梨梭梯械检棄棍棒棕棘棚森棱棺椁植椎椒椽"
|
||||
+ "楂楔楚楣楼概榄榆榔榨榴槌槛模横樱樵橇橡橫檀檐次欢欣欧欲欺歇歌"
|
||||
+ "止正此步武歪死歼殁殆殇殉殊残殍殒殓殖殡殴段殷殿毁毅母每毒比毕"
|
||||
+ "毛毡氅氏民氓气氤氦氧氲水永汀汁求汇汉汐汗汛池污汤汨汪汰汲汹汽"
|
||||
+ "沃沈沉沌沐沙沟没沥沦沮河沸油治沼沾沿泄泉泊法泛泞泡波泣泥注泪"
|
||||
+ "泯泰泽洁洋洒洗洛洞津洪洲活洼派流浅浆浇浊测济浑浓浚浩浪浮浴海"
|
||||
+ "浸涅消涉涌涎涛涟涡涤润涨涩液涵淋淘淤淬深混淹添清渊渎渐渔渗渝"
|
||||
+ "渠渡渣渥温港渲渴游湍湖湛湮湾湿溃溅源溜溢溪溯溶溺滋滑滓滔滚滞"
|
||||
+ "满滤滥滨滴漂漏演漠漩漫潘潜潭潮澄澈澹激濑濒瀑瀚灌火灭灯灰灵灼"
|
||||
+ "灾灿炉炎炙炫炬炭炮炸点炼炽烁烂烈烙烛烟烤烦烧烫烬热烽焉焊焚焦"
|
||||
+ "焰然煌煎煞煤照煮煽熄熊熏熔熟熠熵燃燎燕燧爆爪爬爱爵父片版牌牒"
|
||||
+ "牙牛牝牡牢牦牧物牲牵特牺犀犁犄犧犬犯状狂狄狈狐狗狙狞狡狩独狭"
|
||||
+ "狮狰狱狷狸狼猁猎猛猜猪猫献猴猿獒獠獾玄率玉王玖玛玩玫环现玷玻"
|
||||
+ "珀珂珊珍珠班球理琉琐琥琳琴琵琼瑕瑙瑚瑞瑟瑰璃璞璧瓜瓣瓦瓮瓯瓶"
|
||||
+ "瓷甘生用甩甫田由甲电画畅界畏留略畸畿疆疏疑疗疚疡疣疤疫疮疯疲"
|
||||
+ "疵疹疽疾病症痕痛痞痢痨痪痴痹瘟瘠瘤瘫瘴癣癫癸登白百的皆皇皈皮"
|
||||
+ "皱皿盆盈盐监盒盔盖盗盘盛盟目盲直相盾省看真眠眨眩眷眺眼着睁睡"
|
||||
+ "督睥睨睿瞄瞒瞥瞪瞬瞭瞰瞳矛矢知矫短矮石矾矿码砂砍研砖砦砧破砸"
|
||||
+ "砾础硕硫硬确碍碎碑碟碧碰碳碻碾磁磊磨磷磺礁示礼社祀祈祖祝神祟"
|
||||
+ "祠祥票祭祷祸禁禄福离禽私秃秉秋种科秘秣秤秩积称移秽稀程税稚稳"
|
||||
+ "稻穆穗穴究穷穹空穿突窃窍窒窖窗窘窜窝窟窥立竖站竞章童竭端竹笏"
|
||||
+ "笑笔笛笞符第笼等筑筒答策筛筝筹签简箔算箝管箭箱篓篮篱篷簇簧簪"
|
||||
+ "米类粉粒粗粮粹精糊糙糟系素索紧紫累繁纂纠红约级纪纬纯纱纳纵纷"
|
||||
+ "纸纹纺纽线练组绅细织终绊绍经绒结绕绘给绚络绝绞统绥继绩绪续绮"
|
||||
+ "绯绳维绵综绽绿缀缄缅缆缇缉缎缓缕编缘缚缝缠缩缪缰缸缺罅网罔罗"
|
||||
+ "罚罡罩罪置羁羊美羚羞群羽翁翅翎翔翠翡翰翱翻翼耀老考者而耍耐耕"
|
||||
+ "耗耘耙耳耶职联聚聪肃肆肇肉肌肖肝肠肢肤肥肩肯育肴肺肿胀胁胃胆"
|
||||
+ "背胎胖胜胞胡胧胫胶胸能脂脆脉脊脏脑脓脚脱脸腐腔腕腥腱腹腾腿膂"
|
||||
+ "膏膛膜膝臂臃臣自臭至致舌舍舒舞舟航般舰舱船艇良艰色艺艾节芒芙"
|
||||
+ "芜芥芬芭芮花芳芽苇苍苏苔苗苛苜苟若苦英茁茂范茉茎茜茧茨茫茸荆"
|
||||
+ "草荒荚荡荣荨荫药荷莉莎莓莫莱莲莳获莽菁菇菊菌菜菲萃萌萍萎萝营"
|
||||
+ "萦萧萨萼落著葛葬葵蒂蒙蒸蓄蓑蓝蓟蓿蔑蔓蔚蔷蔻蔽蕈蕊蕨蕴蕾薄薇"
|
||||
+ "薙薪藏藐藓藤藻虎虏虐虑虔虚虫虱虹蚀蚁蚊蚋蚣蚺蛆蛇蛊蛋蛎蛙蛛蛞"
|
||||
+ "蛭蛮蛰蛸蛾蜂蜈蜉蜒蜕蜗蜘蜜蜡蜥蜴蜷蜿蝇蝎蝓蝗蝙蝠蝣蝾螂螅融螫"
|
||||
+ "螳螺蟀蟋蟑蟒蟹蠕蠢血行衍街衡衣补表衫衰袂袋袍袖被袭裁裂装裔裘"
|
||||
+ "褐褛褪褫褴褶襄西要覆见观规觅视览觉觊角解触言詹誉誓警计认讧讨"
|
||||
+ "让训议讯记讲许论讽设访诀证评诅识诈诉词试诗诘诚诛话诞诡该详诫"
|
||||
+ "语误诱诲说诵请诸诺读调谆谈谊谋谍谐谕谗谜谟谢谣谦谧谨谬谭谱谴"
|
||||
+ "谵谷豁象豪豹豺貂貌贝贞负贡财责贤败货质贩贪贫贬购贮贯贱贴贵贷"
|
||||
+ "贸费贺贼贾贿赂赃资赋赌赎赏赐赖赘赛赞赠赢赤赦赫走赶起超越趋足"
|
||||
+ "跃跑跖跚跛距跟跨路跳践跺踏踝踢踩踪踵踽蹂蹄蹊蹋蹒蹦蹬躁躏身躯"
|
||||
+ "躲車车轨轩转轭轮软轰轴轻载较辉辑输辖辗辙辛辜辞辟辨辩辫辰辱边"
|
||||
+ "达迁迂迅过迈迎运近返还这进远违连迟迦迩迪迫迭述迳迷迸迹追退送"
|
||||
+ "适逃逆选逊透逐递途通逝逞速造逢逮逸逻逼遁遇遍遏道遗遣遥遨遭遮"
|
||||
+ "避邀還那邦邪邬邸郊郎部都鄙酋配酒酬酷酸酿醉醒采釉释里重野量金"
|
||||
+ "鉴针钉钓钗钙钜钝钟钢钥钦钨钩钮钯钱钳钵钻钽铁铃铅铎铜铠铬铭铲"
|
||||
+ "银铸铺链销锁锄锅锈锋锐错锡锢锤锥锦锭键锯锻镇镖镜镬镰镶长間闇"
|
||||
+ "门闩闪闭问闯闲间闷闸闹闻阀阁阅队阱防阳阴阵阶阻阿陀附际陆陋降"
|
||||
+ "限院除陨险陪陲陵陶陷隆随隐隔隘障隧隶隼难雀雄雅集雇雏雕雨雪雯"
|
||||
+ "雳零雷雹雾需霆震霉霍霓霖霜霞霰露霸霹青靖静非靠靡面革靴靶鞍鞑"
|
||||
+ "鞭韧音韵韶页顶项顺须顽顾顿颂预颅领颈颊题颚颜额颠颤风飒飓飘飙"
|
||||
+ "飞食餍餐餮饕饥饭饮饰饱饵饶饿馆馈馐馑首香馨马驭驮驯驰驱驳驹驻"
|
||||
+ "驼驽驾驿骁骂骄骆骇验骏骐骑骗骚骤骨骰骷骸骼髅髓高鬃鬓鬣鬼魁魂"
|
||||
+ "魄魅魇魈魏魔鰴鱼鲁鲜鲤鲨鲮鲸鲽鳃鳄鳍鳐鳗鳝鳞鸟鸠鸡鸢鸣鸦鸽鹅"
|
||||
+ "鹉鹊鹏鹗鹞鹤鹦鹫鹭鹰鹿麋麒麟麦麻黄黎黏黑默黛黜點黠黯鼎鼓鼠鼬"
|
||||
+ "鼹鼻齐齑齿龇龙龟!(),/:;?~";
|
||||
|
||||
final PixmapPacker packer = new PixmapPacker(pageSize, pageSize, Pixmap.Format.RGBA8888, 2, false);
|
||||
final FreeTypeFontParameter parameter = new FreeTypeFontParameter();
|
||||
|
||||
@@ -558,39 +558,37 @@ public class CardRenderer {
|
||||
}
|
||||
|
||||
//if (counterBoxBaseWidth + font.getBounds(String.valueOf(maxCounters)).width > w) {
|
||||
layout.setText(font, String.valueOf(maxCounters));
|
||||
|
||||
if (counterBoxBaseWidth + layout.width > w) {
|
||||
|
||||
drawCounterImage(card, g, x, y, w, h);
|
||||
return;
|
||||
if(font != null && !String.valueOf(maxCounters).isEmpty()){
|
||||
layout.setText(font, String.valueOf(maxCounters));
|
||||
if (counterBoxBaseWidth + layout.width > w) {
|
||||
drawCounterImage(card, g, x, y, w, h);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
for (Map.Entry<CounterType, Integer> counterEntry : card.getCounters().entrySet()) {
|
||||
|
||||
final CounterType counter = counterEntry.getKey();
|
||||
final int numberOfCounters = counterEntry.getValue();
|
||||
//final float counterBoxRealWidth = counterBoxBaseWidth + font.getBounds(String.valueOf(numberOfCounters)).width + 4;
|
||||
layout.setText(font, String.valueOf(numberOfCounters));
|
||||
final float counterBoxRealWidth = counterBoxBaseWidth + layout.width + 4;
|
||||
if(font != null && !String.valueOf(numberOfCounters).isEmpty()){
|
||||
layout.setText(font, String.valueOf(numberOfCounters));
|
||||
final float counterBoxRealWidth = counterBoxBaseWidth + layout.width + 4;
|
||||
|
||||
final float counterYOffset = spaceFromTopOfCard - (currentCounter++ * (counterBoxHeight + counterBoxSpacing));
|
||||
final float counterYOffset = spaceFromTopOfCard - (currentCounter++ * (counterBoxHeight + counterBoxSpacing));
|
||||
|
||||
g.fillRect(counterBackgroundColor, x - 3, counterYOffset, counterBoxRealWidth, counterBoxHeight);
|
||||
g.fillRect(counterBackgroundColor, x - 3, counterYOffset, counterBoxRealWidth, counterBoxHeight);
|
||||
|
||||
if (!counterColorCache.containsKey(counter)) {
|
||||
counterColorCache.put(counter, new Color(counter.getRed() / 255.0f, counter.getGreen() / 255.0f, counter.getBlue() / 255.0f, 1.0f));
|
||||
if (!counterColorCache.containsKey(counter)) {
|
||||
counterColorCache.put(counter, new Color(counter.getRed() / 255.0f, counter.getGreen() / 255.0f, counter.getBlue() / 255.0f, 1.0f));
|
||||
}
|
||||
|
||||
Color counterColor = counterColorCache.get(counter);
|
||||
|
||||
drawText(g, counter.getCounterOnCardDisplayName(), font, counterColor, x + 2 + additionalXOffset, counterYOffset, counterBoxRealWidth, counterBoxHeight, Align.left);
|
||||
drawText(g, String.valueOf(numberOfCounters), font, counterColor, x + counterBoxBaseWidth - 4f - additionalXOffset, counterYOffset, counterBoxRealWidth, counterBoxHeight, Align.left);
|
||||
}
|
||||
|
||||
Color counterColor = counterColorCache.get(counter);
|
||||
|
||||
drawText(g, counter.getCounterOnCardDisplayName(), font, counterColor, x + 2 + additionalXOffset, counterYOffset, counterBoxRealWidth, counterBoxHeight, Align.left);
|
||||
drawText(g, String.valueOf(numberOfCounters), font, counterColor, x + counterBoxBaseWidth - 4f - additionalXOffset, counterYOffset, counterBoxRealWidth, counterBoxHeight, Align.left);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static final int GL_BLEND = GL20.GL_BLEND;
|
||||
@@ -600,22 +598,22 @@ public class CardRenderer {
|
||||
if (color.a < 1) { //enable blending so alpha colored shapes work properly
|
||||
Gdx.gl.glEnable(GL_BLEND);
|
||||
}
|
||||
if(font != null && !text.isEmpty()) {
|
||||
layout.setText(font, text);
|
||||
TextBounds textBounds = new TextBounds(layout.width, layout.height);
|
||||
|
||||
layout.setText(font, text);
|
||||
TextBounds textBounds = new TextBounds(layout.width, layout.height);
|
||||
float textHeight = textBounds.height;
|
||||
if (h > textHeight) {
|
||||
y += (h - textHeight) / 2;
|
||||
}
|
||||
|
||||
float textHeight = textBounds.height;
|
||||
if (h > textHeight) {
|
||||
y += (h - textHeight) / 2;
|
||||
font.setColor(color);
|
||||
font.draw(g.getBatch(), text, g.adjustX(x), g.adjustY(y, 0), w, horizontalAlignment, true);
|
||||
|
||||
if (color.a < 1) {
|
||||
Gdx.gl.glDisable(GL_BLEND);
|
||||
}
|
||||
}
|
||||
|
||||
font.setColor(color);
|
||||
font.draw(g.getBatch(), text, g.adjustX(x), g.adjustY(y, 0), w, horizontalAlignment, true);
|
||||
|
||||
if (color.a < 1) {
|
||||
Gdx.gl.glDisable(GL_BLEND);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static void drawCounterImage(final CardView card, final Graphics g, final float x, final float y, final float w, final float h) {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package forge.screens;
|
||||
|
||||
import com.badlogic.gdx.graphics.Color;
|
||||
import com.badlogic.gdx.utils.Align;
|
||||
|
||||
import forge.FThreads;
|
||||
@@ -91,6 +92,12 @@ public class LoadingOverlay extends FOverlay {
|
||||
float panelHeight = logoSize + fontHeight + 4 * padding;
|
||||
|
||||
float y = (getHeight() - panelHeight) / 2;
|
||||
float oldAlpha = g.getfloatAlphaComposite();
|
||||
//dark translucent back..
|
||||
g.setAlphaComposite(0.6f);
|
||||
g.fillRect(Color.BLACK, 0, 0, getWidth(), getHeight());
|
||||
g.setAlphaComposite(oldAlpha);
|
||||
//overlay
|
||||
g.fillRect(BACK_COLOR, x, y, panelWidth, panelHeight);
|
||||
g.drawRect(Utils.scale(2), FORE_COLOR, x, y, panelWidth, panelHeight);
|
||||
y += padding;
|
||||
|
||||
@@ -269,15 +269,16 @@ public abstract class LobbyScreen extends LaunchScreen implements ILobbyView {
|
||||
@Override
|
||||
protected void startMatch() {
|
||||
for (int i = 0; i < getNumPlayers(); i++) {
|
||||
updateDeck(i);
|
||||
updateDeck(i);//TODO: Investigate why AI names cannot be overriden?
|
||||
updateName(i, getPlayerName(i));
|
||||
}
|
||||
//set this so we cant get any multi/rapid tap on start button
|
||||
Forge.setLoadingaMatch(true);
|
||||
FThreads.invokeInBackgroundThread(new Runnable() { //must call startGame in background thread in case there are alerts
|
||||
@Override
|
||||
public void run() {
|
||||
final Runnable startGame = lobby.startGame();
|
||||
if (startGame != null) {
|
||||
//set this so we cant get any multi/rapid tap on start button
|
||||
Forge.setLoadingaMatch(true);
|
||||
FThreads.invokeInEdtLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
@@ -614,6 +615,12 @@ public abstract class LobbyScreen extends LaunchScreen implements ILobbyView {
|
||||
}
|
||||
}
|
||||
|
||||
private void updateName(final int playerIndex, final String name) {
|
||||
if (playerChangeListener != null) {
|
||||
playerChangeListener.update(playerIndex, UpdateLobbyPlayerEvent.nameUpdate(name));
|
||||
}
|
||||
}
|
||||
|
||||
void setReady(final int index, final boolean ready) {
|
||||
if (ready) {
|
||||
updateDeck(index);
|
||||
|
||||
@@ -3,7 +3,11 @@ package forge.screens.match;
|
||||
import java.util.*;
|
||||
import java.util.Map.Entry;
|
||||
|
||||
|
||||
import com.badlogic.gdx.graphics.Color;
|
||||
|
||||
import forge.util.Localizer;
|
||||
|
||||
import org.apache.commons.lang3.tuple.Pair;
|
||||
|
||||
import com.badlogic.gdx.Input.Keys;
|
||||
@@ -569,6 +573,23 @@ public class MatchScreen extends FScreen {
|
||||
y = bottomPlayerPanel.getTop() + bottomPlayerPanel.getField().getHeight();
|
||||
g.drawLine(1, BORDER_COLOR, x, y, w, y);
|
||||
}
|
||||
|
||||
//Draw Priority Human Multiplayer 2 player
|
||||
float oldAlphaComposite = g.getfloatAlphaComposite();
|
||||
if ((getPlayerPanels().keySet().size() == 2) && (countHuman() == 2)){
|
||||
for (VPlayerPanel playerPanel: playerPanelsList){
|
||||
midField = playerPanel.getTop();
|
||||
y = midField - 0.5f;
|
||||
float adjustY = Forge.isLandscapeMode() ? y + 1f : midField;
|
||||
float adjustH = Forge.isLandscapeMode() ? playerPanel.getField().getBottom() - 1f : playerPanel.getBottom() - 1f;
|
||||
if(playerPanel.getPlayer().getHasPriority() && !playerPanel.getPlayer().isAI())
|
||||
g.setAlphaComposite(0.8f);
|
||||
else
|
||||
g.setAlphaComposite(0f);
|
||||
g.drawRect(4f, Color.CYAN, playerPanel.getField().getLeft(), adjustY, playerPanel.getField().getWidth(), adjustH);
|
||||
g.setAlphaComposite(oldAlphaComposite);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected ScrollBounds layoutAndGetScrollBounds(float visibleWidth, float visibleHeight) {
|
||||
@@ -673,5 +694,13 @@ public class MatchScreen extends FScreen {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
private int countHuman(){
|
||||
int humanplayers = 0;
|
||||
for (VPlayerPanel playerPanel: playerPanelsList) {
|
||||
if(!playerPanel.getPlayer().isAI())
|
||||
humanplayers++;
|
||||
}
|
||||
return humanplayers;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,16 +2,7 @@ Name:Bloom Tender
|
||||
ManaCost:1 G
|
||||
Types:Creature Elf Druid
|
||||
PT:1/1
|
||||
A:AB$ Mana | Cost$ T | Produced$ W | ConditionCheckSVar$ CheckW | References$ CheckW | ConditionSVarCompare$ GE1 | SubAbility$ DBManaU | SpellDescription$ For each color among permanents you control, add one mana of that color.
|
||||
SVar:DBManaU:DB$ Mana | Produced$ U | ConditionCheckSVar$ CheckU | References$ CheckU | ConditionSVarCompare$ GE1 | SubAbility$ DBManaB
|
||||
SVar:DBManaB:DB$ Mana | Produced$ B | ConditionCheckSVar$ CheckB | References$ CheckB | ConditionSVarCompare$ GE1 | SubAbility$ DBManaR
|
||||
SVar:DBManaR:DB$ Mana | Produced$ R | ConditionCheckSVar$ CheckR | References$ CheckR | ConditionSVarCompare$ GE1 | SubAbility$ DBManaG
|
||||
SVar:DBManaG:DB$ Mana | Produced$ G | ConditionCheckSVar$ CheckG | References$ CheckG | ConditionSVarCompare$ GE1
|
||||
SVar:CheckW:Count$Valid Permanent.YouCtrl+White
|
||||
SVar:CheckU:Count$Valid Permanent.YouCtrl+Blue
|
||||
SVar:CheckB:Count$Valid Permanent.YouCtrl+Black
|
||||
SVar:CheckR:Count$Valid Permanent.YouCtrl+Red
|
||||
SVar:CheckG:Count$Valid Permanent.YouCtrl+Green
|
||||
A:AB$ Mana | Cost$ T | Produced$ Special EachColorAmong_Permanent.YouCtrl | SpellDescription$ For each color among permanents you control, add one mana of that color.
|
||||
AI:RemoveDeck:All
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/bloom_tender.jpg
|
||||
Oracle:{T}: For each color among permanents you control, add one mana of that color.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Name:Cinder Cloud
|
||||
ManaCost:3 R R
|
||||
Types:Instant
|
||||
A:SP$ Destroy | Cost$ 3 R R | ValidTgts$ Creature | TgtPrompt$ Select target creature | RememberDestroyed$ True | SubAbility$ DBDamage | SpellDescription$ Destroy target creature. If a white creature dies this way, Cinder Cloud deals damage to that creature's controller equal to the creature's power.
|
||||
A:SP$ Destroy | Cost$ 3 R R | ValidTgts$ Creature | TgtPrompt$ Select target creature | RememberLKI$ True | SubAbility$ DBDamage | SpellDescription$ Destroy target creature. If a white creature dies this way, Cinder Cloud deals damage to that creature's controller equal to the creature's power.
|
||||
SVar:DBDamage:DB$ DealDamage | Defined$ RememberedController | NumDmg$ Z | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 | References$ Y,Z
|
||||
SVar:Y:RememberedLKI$Valid Creature.White
|
||||
SVar:Z:RememberedLKI$CardPower
|
||||
|
||||
@@ -2,7 +2,7 @@ Name:Dark Petition
|
||||
ManaCost:3 B B
|
||||
Types:Sorcery
|
||||
A:SP$ ChangeZone | Cost$ 3 B B | Origin$ Library | Destination$ Hand | ChangeType$ Card | ChangeNum$ 1 | Mandatory$ True | SubAbility$ DBMana | SpellDescription$ Search your library for a card and put that card into your hand. Then shuffle your library. Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, add {B}{B}{B}.
|
||||
SVar:DBMana:DB$ Mana | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | Produced$ B | Amount$ 3
|
||||
SVar:DBMana:DB$ Mana | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE2 | Produced$ B | Amount$ 3
|
||||
SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn
|
||||
#TODO: Improve the tutoring logic for the AI. Currently will generally look for the most expensive castable thing in the library (which can, of course, be used to advantage in properly constructed AI decks).
|
||||
AI:RemoveDeck:Random
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name:Endless Atlas
|
||||
ManaCost:2
|
||||
Types:Artifact
|
||||
A:AB$ Draw | Cost$ 2 T | CheckSvar$ X | SVarCompare$ GE3 | References$ X | SpellDescription$ Draw a card. Activate this ability only if you control three or more lands with the same name.
|
||||
A:AB$ Draw | Cost$ 2 T | CheckSVar$ X | SVarCompare$ GE3 | References$ X | SpellDescription$ Draw a card. Activate this ability only if you control three or more lands with the same name.
|
||||
SVar:X:Count$MostCardName Land.YouCtrl
|
||||
Oracle:2, T: Draw a card. Activate this ability only if you control three or more lands with the same name.
|
||||
|
||||
@@ -3,5 +3,4 @@ ManaCost:1 U U
|
||||
Types:Instant
|
||||
A:SP$ Counter | Cost$ 1 U U | TargetType$ Spell | TgtPrompt$ Select target nonCreature Spell | ValidTgts$ Card.nonCreature | Destination$ Exile | SpellDescription$ Counter target noncreature spell. If that spell is countered this way, exile it instead of putting it into its owner's graveyayrd.
|
||||
SVar:AltCost:Cost$ ExileFromHand<1/Card.Blue> | OpponentTurn$ True | Description$ If it's not your turn, you may exile a blue card from your hand rather than pay this spell's mana cost.
|
||||
Svar:Picture:http://mythicspoiler.com/mh1/cards/forceofnegation.jpg
|
||||
Oracle:If it's not your turn, you may exile a blue card from your hand rather than pay this spell's mana cost.\nCounter target noncreature spell. If that spell is countered this way, exile it instead of putting it into its owner's graveyayrd.
|
||||
@@ -4,13 +4,13 @@ Types:Artifact
|
||||
A:AB$ ChangeZone | Cost$ 2 T Sac<1/CARDNAME> | ValidTgts$ Player.Opponent | IsCurse$ True | Chooser$ You | Origin$ Library | Destination$ Exile | ChangeType$ Card | ChangeNum$ 1 | IsCurse$ True | RememberChanged$ True | SubAbility$ TotemEffect | SpellDescription$ Search target opponent's library for a card and exile it. Then that player shuffles their library. Until the beginning of your next upkeep, you may play that card. At the beginning of your next upkeep, if you haven't played it, put it into its owner's graveyard. | StackDescription$ SpellDescription
|
||||
SVar:TotemEffect:DB$ Effect | StaticAbilities$ STGrinning | Duration$ Permanent | RememberObjects$ Remembered | Triggers$ TrigDuration,TrigReturn,TrigLandPlayed,TrigCast | SVars$ DBDuration,ActiveTotem,RemoveEffect,DBReturn | SubAbility$ DBResetSVar
|
||||
# Even though the Effect is "Permanent", it's not really permanent
|
||||
SVar:DBResetSVar:DB$ StoreSvar | SVar$ ActiveTotem | Type$ Number | Expression$ 1 | SubAbility$ DBCleanup
|
||||
SVar:DBResetSVar:DB$ StoreSVar | SVar$ ActiveTotem | Type$ Number | Expression$ 1 | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:ActiveTotem:Number$1
|
||||
SVar:STGrinning:Mode$ Continuous | Affected$ Card.IsRemembered+OppOwn | MayPlay$ True | EffectZone$ Command | AffectedZone$ Exile | CheckSVar$ ActiveTotem | Description$ Until the beginning of your next upkeep, you may play that card.
|
||||
# Turn off the duration at the beginning of the upkeep statically
|
||||
SVar:TrigDuration:Mode$ Phase | Phase$ Upkeep | Player$ You | Static$ True | TriggerZones$ Command | Execute$ DBDuration
|
||||
SVar:DBDuration:DB$ StoreSvar | SVar$ ActiveTotem | Type$ Number | Expression$ 0
|
||||
SVar:DBDuration:DB$ StoreSVar | SVar$ ActiveTotem | Type$ Number | Expression$ 0
|
||||
# Return the card as a normal trigger
|
||||
SVar:TrigReturn:Mode$ Phase | Phase$ Upkeep | Player$ You | Static$ True | TriggerZones$ Command | Execute$ DBReturn
|
||||
SVar:DBReturn:DB$ ChangeZone | Defined$ Remembered | Origin$ Exile | Destination$ Graveyard | SubAbility$ RemoveEffect
|
||||
|
||||
@@ -2,8 +2,8 @@ Name:Hollow One
|
||||
ManaCost:5
|
||||
Types:Artifact Creature Golem
|
||||
PT:4/4
|
||||
S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ Y | EffectZone$ All | Description$ CARDNAME costs {2} less to cast for each card you've cycled or discarded this turn.
|
||||
S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ Y | Relative$ True | EffectZone$ All | Description$ This spell costs {2} less to cast for each card you've cycled or discarded this turn.
|
||||
K:Cycling:2
|
||||
SVar:Y:PlayerCountPropertyYou$CardsDiscardedThisTurn/Twice
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/hollow_one.jpg
|
||||
Oracle:Hollow One costs {2} less to cast for each card you've cycled or discarded this turn.\nCycling {2} ({2}, Discard this card: Draw a card.)
|
||||
Oracle:This spell costs {2} less to cast for each card you've cycled or discarded this turn.\nCycling {2} ({2}, Discard this card: Draw a card.)
|
||||
|
||||
@@ -4,7 +4,7 @@ Types: Artifact Creature Construct
|
||||
PT:5/4
|
||||
K:Menace
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDestroy | OptionalDecider$ You | RememberLKI$ True | TriggerDescription$ When CARDNAME enters the battlefield, you may destroy another target creature. If a creature is destroyed this way, you gain life equal to its toughness.
|
||||
SVar:TrigDestroy:DB$ Destroy | ValidTgts$ Creature.Other | TgtPrompt$ Select another target creature. | RememberDestroyed$ True | SubAbility$ DBGainLife
|
||||
SVar:TrigDestroy:DB$ Destroy | ValidTgts$ Creature.Other | TgtPrompt$ Select another target creature. | RememberLKI$ True | SubAbility$ DBGainLife
|
||||
SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:X:RememberedLKI$CardToughness
|
||||
|
||||
@@ -4,12 +4,7 @@ Types:Plane Ravnica
|
||||
S:Mode$ CantAttack | EffectZone$ Command | ValidCard$ Creature.YouCtrl | CheckSVar$ CheckThisTurnCast | Description$ If you cast a spell this turn, you can't attack with creatures.
|
||||
SVar:CheckThisTurnCast:Count$ThisTurnCast_Card.YouCtrl
|
||||
S:Mode$ CantBeCast | EffectZone$ Command | ValidCard$ Card | Caster$ You | CheckSVar$ CheckThisTurnAttacked | Description$ If you attacked with creatures this turn, you can't cast spells.
|
||||
SVar:CheckThisTurnAttacked:Number$0
|
||||
T:Mode$ Attacks | ValidCard$ Creature.YouCtrl | Execute$ DBStoreSVar | Static$ True
|
||||
SVar:DBStoreSVar:DB$ StoreSVar | SVar$ CheckThisTurnAttacked | Type$ Number | Expression$ 1
|
||||
T:Mode$ PlaneswalkedFrom | ValidCard$ Plane.Self | Execute$ DBReset | Static$ True
|
||||
T:Mode$ Phase | Phase$ Cleanup | Execute$ DBReset | Static$ True
|
||||
SVar:DBReset:DB$ StoreSVar | SVar$ CheckThisTurnAttacked | Type$ Number | Expression$ 0
|
||||
SVar:CheckThisTurnAttacked:Count$AttackersDeclared
|
||||
T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll {CHAOS}, you gain life equal to the number of cards in your hand.
|
||||
SVar:RolledChaos:DB$ GainLife | LifeAmount$ PrahvX | References$ PrahvX | Defined$ You
|
||||
SVar:PrahvX:Count$InYourHand
|
||||
|
||||
@@ -2,10 +2,8 @@ Name:Psychic Intrusion
|
||||
ManaCost:3 U B
|
||||
Types:Sorcery
|
||||
A:SP$ ChangeZone | Cost$ 3 U B | Origin$ Hand,Graveyard | Destination$ Exile | ValidTgts$ Opponent | DefinedPlayer$ Targeted | Chooser$ You | TgtPrompt$ Select target opponent | ChangeType$ Card.nonLand | ChangeNum$ 1 | IsCurse$ True | RememberChanged$ True | SubAbility$ DBEffect | StackDescription$ SpellDescription | SpellDescription$ Target opponent reveals their hand. You choose a nonland card from that player's graveyard or hand and exile it. You may cast that card for as long as it remains exiled, and you may spend mana as though it were mana of any color to cast that spell.
|
||||
SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | Triggers$ TriggerCastPI | SVars$ TrigRemoveSelf | RememberObjects$ Remembered | Duration$ Permanent | SubAbility$ DBCleanup
|
||||
SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | RememberObjects$ Remembered | Duration$ Permanent | ExileOnMoved$ Exile | SubAbility$ DBCleanup
|
||||
SVar:STPlay:Mode$ Continuous | MayPlay$ True | MayPlayIgnoreColor$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may cast that card and you may spend mana as though it were mana of any color to cast it.
|
||||
SVar:TriggerCastPI:Mode$ SpellCast | ValidCard$ Card.IsRemembered | TriggerZones$ Command | Execute$ TrigRemoveSelf | Static$ True
|
||||
SVar:TrigRemoveSelf:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
AI:RemoveDeck:All
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/psychic_intrusion.jpg
|
||||
|
||||
@@ -4,7 +4,7 @@ Types:Sorcery
|
||||
A:SP$ ChangeZone | Cost$ 1 U | ValidTgts$ Player | Origin$ Hand | Destination$ Exile | ChangeType$ Instant,Sorcery | IsCurse$ True | Chooser$ You | ChangeNum$ 1 | RememberChanged$ True | SubAbility$ TheftEffect | SpellDescription$ Target player reveals their hand. You choose an instant or sorcery card from it and exile that card. You may cast that card for as long as it remains exiled. At the beginning of the next end step, if you haven't cast the card, return it to its owner's hand. | StackDescription$ SpellDescription
|
||||
SVar:TheftEffect:DB$ Effect | StaticAbilities$ STThieving | Duration$ Permanent | RememberObjects$ Remembered | Triggers$ TrigReturn,TrigCast | SVars$ ActivePsychic,RemoveEffect,DBReturn | SubAbility$ DBResetSVar
|
||||
# Even though the Effect is "Permanent", it's not really permanent
|
||||
SVar:DBResetSVar:DB$ StoreSvar | SVar$ ActivePsychic | Type$ Number | Expression$ 1 | SubAbility$ DBCleanup
|
||||
SVar:DBResetSVar:DB$ StoreSVar | SVar$ ActivePsychic | Type$ Number | Expression$ 1 | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:ActivePsychic:Number$1
|
||||
SVar:STThieving:Mode$ Continuous | Affected$ Card.IsRemembered+OppOwn | MayPlay$ True | EffectZone$ Command | AffectedZone$ Exile | CheckSVar$ ActivePsychic | Description$ You may cast that card for as long as it remains exiled.
|
||||
|
||||
@@ -8,4 +8,4 @@ SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:AddMana:DB$ Mana | Produced$ C | Amount$ X | References$ X
|
||||
SVar:X:Count$TriggerRememberAmount
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/scattering_stroke.jpg
|
||||
Oracle:Counter target spell. Clash with an opponent. If you win, at the beginning of your next main phase, you may add an amount of {C} equal to that spell's converted mana cost.. (Each clashing player reveals the top card of their library, then puts that card on the top or bottom. A player wins if their card had a higher converted mana cost.)
|
||||
Oracle:Counter target spell. Clash with an opponent. If you win, at the beginning of your next main phase, you may add an amount of {C} equal to that spell's converted mana cost. (Each clashing player reveals the top card of their library, then puts that card on the top or bottom. A player wins if their card had a higher converted mana cost.)
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
Name:Acclaimed Contender
|
||||
ManaCost:2 W
|
||||
Types:Creature Human Knight
|
||||
PT:3/3
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | IsPresent$ Knight.YouCtrl+Other | Execute$ TrigDig | TriggerDescription$ When CARDNAME enters the battlefield, if you control another Knight, look at the top five cards of your library. You may reveal a Knight, Aura, Equipment, or legendary artifact card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
|
||||
SVar:TrigDig:DB$ Dig | DigNum$ 5 | ChangeNum$ 1 | ChangeValid$ Card.Knight,Aura,Equipment,Artifact.Legendary | RestRandomOrder$ True
|
||||
Oracle:When Acclaimed Contender enters the battlefield, if you control another Knight, look at the top five cards of your library. You may reveal a Knight, Aura, Equipment, or legendary artifact card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.
|
||||
@@ -0,0 +1,8 @@
|
||||
Name:Archon of Absolution
|
||||
ManaCost:3 W
|
||||
Types:Creature Archon
|
||||
PT:3/2
|
||||
K:Flying
|
||||
K:Protection from white
|
||||
S:Mode$ CantAttackUnless | ValidCard$ Creature | Target$ You,Planeswalker.YouCtrl | Cost$ 1 | Description$ Creatures can't attack you or a planeswalker you control unless their controller pays {1} for each of those creatures.
|
||||
Oracle:Flying\nProtection from white (This creature can't be blocked, targeted, dealt damage, enchanted, or equipped by anything white.)\nCreatures can't attack you or a planeswalker you control unless their controller pays {1} for each of those creatures.
|
||||
6
forge-gui/res/cardsfolder/upcoming/ardenvale_paladin.txt
Normal file
6
forge-gui/res/cardsfolder/upcoming/ardenvale_paladin.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Name:Ardenvale Paladin
|
||||
ManaCost:3 W
|
||||
Types:Creature Human Knight
|
||||
PT:2/5
|
||||
K:etbCounter:P1P1:1:Adamant$ White:Adamant — If at least three white mana was spent to cast this spell, CARDNAME enters the battlefield with a +1/+1 counter on it.
|
||||
Oracle:Adamant — If at least three white mana was spent to cast this spell, Ardenvale Paladin enters the battlefield with a +1/+1 counter on it.
|
||||
6
forge-gui/res/cardsfolder/upcoming/barge_in.txt
Normal file
6
forge-gui/res/cardsfolder/upcoming/barge_in.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Name:Barge In
|
||||
ManaCost:R
|
||||
Types:Instant
|
||||
A:SP$ Pump | Cost$ R | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | NumAtt$ +2 | NumDef$ +2 | SubAbility$ DBPump | SpellDescription$ Target attacking creature gets +2/+2 until end of turn. Each attacking non-Human creature gains trample until end of turn.
|
||||
SVar:DBPump:DB$ PumpAll | ValidCards$ Creature.nonHuman+attacking | KW$ Trample
|
||||
Oracle:Target attacking creature gets +2/+2 until end of turn. Each attacking non-Human creature gains trample until end of turn.
|
||||
10
forge-gui/res/cardsfolder/upcoming/bartered_cow.txt
Normal file
10
forge-gui/res/cardsfolder/upcoming/bartered_cow.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Name:Bartered Cow
|
||||
ManaCost:3 W
|
||||
Types:Creature Ox
|
||||
PT:3/3
|
||||
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Graveyard | TriggerController$ TriggeredCardController | Execute$ TrigToken | TriggerDescription$ When CARDNAME dies or blocks you discard it, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
|
||||
T:Mode$ Discarded | ValidCard$ Card.Self | Execute$ TrigToken | Secondary$ True | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies or blocks you discard it, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
|
||||
SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ c_a_food_sac | TokenOwner$ You | LegacyImage$ c a food sac eld
|
||||
SVar:SacMe:1
|
||||
SVar:DiscardMe:3
|
||||
Oracle:When Bartered Cow dies or when you discard it, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
|
||||
7
forge-gui/res/cardsfolder/upcoming/beloved_princess.txt
Normal file
7
forge-gui/res/cardsfolder/upcoming/beloved_princess.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Name:Beloved Princess
|
||||
ManaCost:W
|
||||
Types:Creature Human Noble
|
||||
PT:1/1
|
||||
K:Lifelink
|
||||
K:CantBeBlockedBy Creature.powerGE3
|
||||
Oracle:Lifelink\nBeloved Princess can't be blocked by creatures with power 3 or greater.
|
||||
@@ -0,0 +1,8 @@
|
||||
Name:Blacklance Paragon
|
||||
ManaCost:1 B
|
||||
Types:Creature Human Knight
|
||||
PT:3/1
|
||||
K:Flash
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, target Knight gains deathtouch and lifelink until end of turn.
|
||||
SVar:TrigPump:DB$ Pump | ValidTgts$ Knight | TgtPrompt$ Select target Knight | KW$ Deathtouch & Lifelink
|
||||
Oracle:Flash\nWhen Blacklance Paragon enters the battlefield, target Knight gains deathtouch and lifelink until end of turn.
|
||||
@@ -0,0 +1,6 @@
|
||||
Name:Blow Your House Down
|
||||
ManaCost:2 R
|
||||
Types:Sorcery
|
||||
A:SP$ Pump | Cost$ 2 R | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ 3 | KW$ HIDDEN CARDNAME can't block. | IsCurse$ True | TgtPrompt$ Select target creature | SubAbility$ DBDestroy | SpellDescription$ Up to three target creatures can't block this turn. Destroy any of them that are Walls.
|
||||
SVar:DBDestroy:DB$ DestroyAll | ValidCards$ Targeted.Wall
|
||||
Oracle:Up to three target creatures can't block this turn. Destroy any of them that are Walls.
|
||||
8
forge-gui/res/cardsfolder/upcoming/bog_naughty.txt
Normal file
8
forge-gui/res/cardsfolder/upcoming/bog_naughty.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Name:Bog Naughty
|
||||
ManaCost:3 B B
|
||||
Types:Creature Faerie
|
||||
PT:3/3
|
||||
K:Flying
|
||||
A:AB$ Pump | Cost$ 2 B Sac<1/Food> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -3 | NumDef$ -3 | IsCurse$ True | SpellDescription$ Target creature gets -3/-3 until end of turn.
|
||||
AI:RemoveDeck:All
|
||||
Oracle:Flying\n{2}{B}, Sacrifice a Food: Target creature gets -3/-3 until end of turn.
|
||||
10
forge-gui/res/cardsfolder/upcoming/castle_ardenvale.txt
Normal file
10
forge-gui/res/cardsfolder/upcoming/castle_ardenvale.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Name:Castle Ardenvale
|
||||
ManaCost:no cost
|
||||
Types:Land
|
||||
K:ETBReplacement:Other:LandTapped
|
||||
SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionPresent$ Plains.YouCtrl | ConditionCompare$ EQ0 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control a Plains.
|
||||
A:AB$ Mana | Cost$ T | Produced$ W | SpellDescription$ Add {W}.
|
||||
A:AB$ Token | Cost$ 2 W W T | TokenAmount$ 1 | TokenScript$ w_1_1_human | TokenOwner$ You | LegacyImage$ w 1 1 human eld | SpellDescription$ Create a 1/1 white Human creature token.
|
||||
DeckHints:Type$Human
|
||||
DeckHas:Ability$Token
|
||||
Oracle:Castle Ardenvale enters the battlefield tapped unless you control a Plains.\n{T}: Add {W}.\n{2}{W}{W}, {T}: Create a 1/1 white Human creature token.
|
||||
9
forge-gui/res/cardsfolder/upcoming/castle_embereth.txt
Normal file
9
forge-gui/res/cardsfolder/upcoming/castle_embereth.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Name:Castle Embereth
|
||||
ManaCost:no cost
|
||||
Types:Land
|
||||
K:ETBReplacement:Other:LandTapped
|
||||
SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionPresent$ Mountain.YouCtrl | ConditionCompare$ EQ0 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control a Mountain.
|
||||
A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add {R}.
|
||||
SVar:PlayMain1:TRUE
|
||||
A:AB$ PumpAll | Cost$ 1 R R T | ValidCards$ Creature.YouCtrl | NumAtt$ +1 | SpellDescription$ Creatures you control get +1/+0 until end of turn.
|
||||
Oracle:Castle Embereth enters the battlefield tapped unless you control a Mountain.\n{T}: Add {R}.\n{1}{R}{R}, {T}: Creatures you control get +1/+0 until end of turn.
|
||||
8
forge-gui/res/cardsfolder/upcoming/castle_garenbrig.txt
Normal file
8
forge-gui/res/cardsfolder/upcoming/castle_garenbrig.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Name:Castle Garenbrig
|
||||
ManaCost:no cost
|
||||
Types:Land
|
||||
K:ETBReplacement:Other:LandTapped
|
||||
SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionPresent$ Forest.YouCtrl | ConditionCompare$ EQ0 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control a Forest.
|
||||
A:AB$ Mana | Cost$ T | Produced$ G | SpellDescription$ Add {G}.
|
||||
A:AB$ Mana | Cost$ 2 G G T | Produced$ G | Amount$ 6 | RestrictValid$ Spell.Creature,Activated.Creature | SpellDescription$ Add six {G}. Spend this mana only to cast creature spells or activate abilities of creatures.
|
||||
Oracle:Castle Garenbrig enters the battlefield tapped unless you control a Forest.\n{T}: Add {G}.\n{2}{G}{G}, {T}: Add six {G}. Spend this mana only to cast creature spells or activate abilities of creatures.
|
||||
10
forge-gui/res/cardsfolder/upcoming/castle_locthwain.txt
Normal file
10
forge-gui/res/cardsfolder/upcoming/castle_locthwain.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Name:Castle Locthwain
|
||||
ManaCost:no cost
|
||||
Types:Land
|
||||
K:ETBReplacement:Other:LandTapped
|
||||
SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionPresent$ Swamp.YouCtrl | ConditionCompare$ EQ0 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control a Swamp.
|
||||
A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add {B}.
|
||||
A:AB$ Draw | Cost$ 1 B B T | NumCards$ 1 | SpellDescription$ Draw a card, then you lose life equal to the number of cards in your hand. | SubAbility$ DBLoseLife
|
||||
SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | References$ X
|
||||
SVar:X:Count$InYourHand
|
||||
Oracle:Castle Locthwain enters the battlefield tapped unless you control a Swamp.\n{T}: Add {B}.\n{1}{B}{B}, {T}: Draw a card, then you lose life equal to the number of cards in your hand.
|
||||
8
forge-gui/res/cardsfolder/upcoming/castle_vantress.txt
Normal file
8
forge-gui/res/cardsfolder/upcoming/castle_vantress.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Name:Castle Vantress
|
||||
ManaCost:no cost
|
||||
Types:Land
|
||||
K:ETBReplacement:Other:LandTapped
|
||||
SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionPresent$ Island.YouCtrl | ConditionCompare$ EQ0 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control an Island.
|
||||
A:AB$ Mana | Cost$ T | Produced$ U | SpellDescription$ Add {U}.
|
||||
A:AB$ Scry | Cost$ 2 U U T | ScryNum$ 2 | SpellDescription$ Scry 2.
|
||||
Oracle:Castle Vantress enters the battlefield tapped unless you control an Island.\n{T}: Add {U}.\n{2}{U}{U}, {T}: Scry 2.
|
||||
13
forge-gui/res/cardsfolder/upcoming/cauldron_familiar.txt
Normal file
13
forge-gui/res/cardsfolder/upcoming/cauldron_familiar.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
Name:Cauldron Familiar
|
||||
ManaCost:B
|
||||
Types:Creature Cat
|
||||
PT:1/1
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDrain | TriggerDescription$ When CARDNAME enters the battlefield, each opponent loses 1 life and you gain 1 life.
|
||||
SVar:TrigDrain:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ 1 | SubAbility$ DBGainLife
|
||||
SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 1
|
||||
DeckHas:Ability$LifeGain
|
||||
A:AB$ ChangeZone | Cost$ Sac<1/Food> | Origin$ Graveyard | Destination$ Battlefield | ActivationZone$ Graveyard | SpellDescription$ Return CARDNAME from your graveyard to the battlefield.
|
||||
SVar:DiscardMe:2
|
||||
SVar:SacMe:1
|
||||
AI:RemoveDeck:All
|
||||
Oracle:When Cauldron Familiar enters the battlefield, each opponent loses 1 life and you gain 1 life.\nSacrifice a Food: Return Cauldron Familiar from your graveyard to the battlefield.
|
||||
7
forge-gui/res/cardsfolder/upcoming/cauldrons_gift.txt
Normal file
7
forge-gui/res/cardsfolder/upcoming/cauldrons_gift.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Name:Cauldron's Gift
|
||||
ManaCost:4 B
|
||||
Types:Sorcery
|
||||
A:SP$ Mill | Cost$ 4 B | NumCards$ 4 | Defined$ You | SubAbility$ DBChangeZone | ConditionCheckSVar$ X | References$ X | SpellDescription$ Adamant — If at least three black mana was spent to cast this spell, put the top four cards of your library into your graveyard. You may choose a creature card in your graveyard. If you do, return it to the battlefield with an additional +1/+1 counter on it.
|
||||
SVar:DBChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature.YouOwn | Hidden$ True | ChangeNum$ 1 | WithCounters$ P1P1_1
|
||||
SVar:X:Count$Adamant.Black.1.0
|
||||
Oracle:Adamant — If at least three black mana was spent to cast this spell, put the top four cards of your library into your graveyard.\nYou may choose a creature card in your graveyard. If you do, return it to the battlefield with an additional +1/+1 counter on it.
|
||||
13
forge-gui/res/cardsfolder/upcoming/clackbridge_troll.txt
Normal file
13
forge-gui/res/cardsfolder/upcoming/clackbridge_troll.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
Name:Clackbridge Troll
|
||||
ManaCost:3 B B
|
||||
Types:Creature Troll
|
||||
PT:8/8
|
||||
K:Haste
|
||||
K:Trample
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TripleGoat | TriggerDescription$ When CARDNAME enters the battlefield, target opponent creates three 0/1 white Goat creature tokens.
|
||||
SVar:TripleGoat:DB$ Token | TokenAmount$ 3 | TokenScript$ w_0_1_goat | LegacyImage$ w 0 1 goat eld | ValidTgts$ Opponent | TokenOwner$ Targeted
|
||||
T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | Execute$ TrigTap | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of combat on your turn, any opponent may sacrifice a creature. If a player does, tap CARDNAME, you gain 3 life, and you draw a card.
|
||||
SVar:TrigTap:DB$ Tap | Defined$ Self | SubAbility$ DBDraw | UnlessCost$ Sac<1/Creature> | UnlessPayer$ Player.Opponent | UnlessSwitched$ True | UnlessAI$ LifeLE10 | UnlessResolveSubs$ WhenPaid | SubAbility$ DBGainLife
|
||||
SVar:DBGainLife:DB$ GainLife | LifeAmount$ 3 | SubAbility$ DBDraw
|
||||
SVar:DBDraw:DB$ Draw | NumCards$ 1 | Defined$ You
|
||||
Oracle:Trample, haste\nWhen Clackbridge Troll enters the battlefield, target opponent creates three 0/1 white Goat creature tokens.\nAt the beginning of combat on your turn, any opponent may sacrifice a creature. If a player does, tap Clackbridge Troll, you gain 3 life, and you draw a card.
|
||||
7
forge-gui/res/cardsfolder/upcoming/clockwork_servant.txt
Normal file
7
forge-gui/res/cardsfolder/upcoming/clockwork_servant.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Name:Clockwork Servant
|
||||
ManaCost:3
|
||||
Types:Artifact Creature Gnome
|
||||
PT:2/3
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Adamant$ Any | Execute$ TrigDraw | TriggerDescription$ Adamant — When CARDNAME enters the battlefield, if at least three mana of the same color was spent to cast it, draw a card.
|
||||
SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1
|
||||
Oracle:Adamant — When Clockwork Servant enters the battlefield, if at least three mana of the same color was spent to cast it, draw a card.
|
||||
9
forge-gui/res/cardsfolder/upcoming/covetous_urge.txt
Normal file
9
forge-gui/res/cardsfolder/upcoming/covetous_urge.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Name:Covetous Urge
|
||||
ManaCost:U/B U/B U/B U/B
|
||||
Types:Sorcery
|
||||
A:SP$ ChangeZone | Cost$ U/B U/B U/B U/B | Origin$ Hand,Graveyard | Destination$ Exile | ValidTgts$ Opponent | DefinedPlayer$ Targeted | Chooser$ You | TgtPrompt$ Select target opponent | ChangeType$ Card.nonLand | ChangeNum$ 1 | IsCurse$ True | RememberChanged$ True | SubAbility$ DBEffect | StackDescription$ SpellDescription | SpellDescription$ Target opponent reveals their hand. You choose a nonland card from that player's graveyard or hand and exile it. You may cast that card for as long as it remains exiled, and you may spend mana as though it were mana of any color to cast that spell.
|
||||
SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | RememberObjects$ Remembered | Duration$ Permanent | ExileOnMoved$ Exile | SubAbility$ DBCleanup
|
||||
SVar:STPlay:Mode$ Continuous | MayPlay$ True | MayPlayIgnoreColor$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may cast that card and you may spend mana as though it were mana of any color to cast it.
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
AI:RemoveDeck:All
|
||||
Oracle:Target opponent reveals their hand. You choose a nonland card from that player's graveyard or hand and exile it. You may cast that card for as long as it remains exiled, and you may spend mana as though it were mana of any color to cast that spell.
|
||||
@@ -0,0 +1,8 @@
|
||||
Name:Dance of the Manse
|
||||
ManaCost:X W U
|
||||
Types:Sorcery
|
||||
A:SP$ ChangeZone | Cost$ X W U | Announce$ X | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Artifact.cmcLEX,Enchantment.cmcLEX | TgtPrompt$ Select target artifact or enchantment in your graveyard | TargetMin$ 0 | TargetMax$ X | SubAbility$ DBAnimate | SpellDescription$ Return up to X target artifact and/or non-Aura enchantment cards with converted mana cost X or less from your graveyard to the battlefield. If X is 6 or more, those permanents are 4/4 creatures in addition to their other types.
|
||||
SVar:DBAnimate:DB$ Animate | Defined$ Targeted | Types$ Creature | Power$ 4 | Toughness$ 4 | Permanent$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE6 | References$ X
|
||||
SVar:X:Count$xPaid
|
||||
AI:RemoveDeck:All
|
||||
Oracle:Return up to X target artifact and/or non-Aura enchantment cards each with converted mana cost X or less from your graveyard to the battlefield. If X is 6 or more, those permanents are 4/4 creatures in addition to their other types.
|
||||
7
forge-gui/res/cardsfolder/upcoming/deafening_silence.txt
Normal file
7
forge-gui/res/cardsfolder/upcoming/deafening_silence.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Name:Deafening Silence
|
||||
ManaCost:W
|
||||
Types:Enchantment
|
||||
S:Mode$ CantBeCast | ValidCard$ Card.nonCreature | Caster$ Player | NumLimitEachTurn$ 1 | Description$ Each player can't cast more than one noncreature spell each turn.
|
||||
SVar:NonStackingEffect:True
|
||||
AI:RemoveDeck:Random
|
||||
Oracle:Each player can't cast more than one noncreature spell each turn.
|
||||
7
forge-gui/res/cardsfolder/upcoming/elite_headhunter.txt
Normal file
7
forge-gui/res/cardsfolder/upcoming/elite_headhunter.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Name:Elite Headhunter
|
||||
ManaCost:B/R B/R B/R B/R
|
||||
Types:Creature Human Knight
|
||||
PT:2/3
|
||||
K:Menace
|
||||
A:AB$ DealDamage | Cost$ BR BR BR Sac<1/Creature.Other,Artifact/another creature or an artifact> | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ 2 | SpellDescription$ CARDNAME deals 2 damage to target creature or planeswalker.
|
||||
Oracle:Menace (This creature can't be blocked except by two or more creatures.)\n{B/R}{B/R}{B/R}, Sacrifice another creature or an artifact: Elite Headhunter deals 2 damage to target creature or planeswalker.
|
||||
@@ -3,7 +3,5 @@ ManaCost:3 R
|
||||
Types:Creature Human Knight
|
||||
PT:4/1
|
||||
K:Haste
|
||||
R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | Adamant$ Red | ReplaceWith$ ETBAddCounter | Description$ Adamant — If at least three red mana was spent to cast this spell, CARDNAME enters the battlefield with a +1/+1 counter on it.
|
||||
SVar:ETBAddCounter:DB$ PutCounter | ETB$ True | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ MoveToPlay
|
||||
SVar:MoveToPlay:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard
|
||||
K:etbCounter:P1P1:1:Adamant$ Red:Adamant — If at least three red mana was spent to cast this spell, CARDNAME enters the battlefield with a +1/+1 counter on it.
|
||||
Oracle:Haste\nAdamant — If at least three red mana was spent to cast this spell, Embereth Paladin enters the battlefield with a +1/+1 counter on it.
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
Name:Emry, Lurker of the Loch
|
||||
ManaCost:2 U
|
||||
Types:Legendary Creature Merfolk Wizard
|
||||
PT:1/2
|
||||
S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each artifact you control.
|
||||
SVar:X:Count$Valid Artifact.YouCtrl
|
||||
DeckNeeds:Type$Artifact
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigMill | TriggerDescription$ When CARDNAME enters the battlefield, put the top four cards of your library into your graveyard.
|
||||
SVar:TrigMill:DB$ Mill | NumCards$ 4 | Defined$ You
|
||||
A:AB$ Effect | Cost$ T | TgtZone$ Graveyard | ValidTgts$ Artifact.YouOwn | TgtPrompt$ Select target artifact card in your graveyard | SpellDescription$ Choose target artifact card in your graveyard. You may cast that card this turn. | RememberObjects$ Targeted | StaticAbilities$ STPlay | ExileOnMoved$ Graveyard
|
||||
SVar:STPlay:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered+nonLand | AffectedZone$ Graveyard | Description$ You may cast that card this turn.
|
||||
Oracle:This spell costs {1} less to cast for each artifact you control.\nWhen Emry, Lurker of the Loch enters the battlefield, put the top four cards of your library into your graveyard.\n{T}: Choose target artifact card in your graveyard. You may cast that card this turn.
|
||||
5
forge-gui/res/cardsfolder/upcoming/epic_downfall.txt
Normal file
5
forge-gui/res/cardsfolder/upcoming/epic_downfall.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Name:Epic Downfall
|
||||
ManaCost:1 B
|
||||
Types:Sorcery
|
||||
A:SP$ ChangeZone | Cost$ 1 B | ValidTgts$ Creature.cmcGE3 | TgtPrompt$ Choose target creature with converted mana cost 3 or greater | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile target creature with converted mana cost 3 or greater.
|
||||
Oracle:Exile target creature with converted mana cost 3 or greater.
|
||||
12
forge-gui/res/cardsfolder/upcoming/escape_to_the_wilds.txt
Normal file
12
forge-gui/res/cardsfolder/upcoming/escape_to_the_wilds.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
Name:Escape to the Wilds
|
||||
ManaCost:3 R G
|
||||
Types:Sorcery
|
||||
A:SP$ Mill | Cost$ 3 R G | Destination$ Exile | NumCards$ 5 | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top five cards of your library. You may play cards exiled this way until the end of your next turn.
|
||||
SVar:DBEffect:DB$ Effect | RememberObjects$ RememberedCard | ForgetOnMoved$ Exile | StaticAbilities$ Play | Duration$ UntilTheEndOfYourNextTurn | SubAbility$ DBEffect2
|
||||
SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play cards exiled this the end of your next turn.
|
||||
SVar:DBEffect2$ Effect | Cost$ 3 R G | Name$ CARDNAME Effect | StaticAbilities$ Exploration | AILogic$ Always | SpellDescription$ You may play an additional land this turn. | SubAbility$ DBCleanup
|
||||
SVar:Exploration:Mode$ Continuous | Affected$ You | AddKeyword$ AdjustLandPlays:1 | EffectZone$ Command | Description$ You may play an additional land this turn.
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:NeedsToPlayVar:ZZ GE1
|
||||
SVar:ZZ:Count$ValidHand Land.YouOwn
|
||||
Oracle:Exile the top five cards of your library. You may play cards exiled this way until the end of your next turn.\nYou may play an additional land this turn.
|
||||
10
forge-gui/res/cardsfolder/upcoming/faeburrow_elder.txt
Normal file
10
forge-gui/res/cardsfolder/upcoming/faeburrow_elder.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Name:Faeburrow Elder
|
||||
ManaCost:1 G W
|
||||
Types:Creature Treefolk Druid
|
||||
PT:0/0
|
||||
K:Vigilance
|
||||
S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each color among permanents you control.
|
||||
SVar:X:Count$ColorsCtrl Permanent.YouCtrl+inZoneBattlefield
|
||||
A:AB$ Mana | Cost$ T | Produced$ Special EachColorAmong_Permanent.YouCtrl | SpellDescription$ For each color among permanents you control, add one mana of that color.
|
||||
AI:RemoveDeck:All
|
||||
Oracle:Vigilance\nFaeburrow Elder gets +1/+1 for each color among permanents you control.\n{T}: For each color among permanents you control, add one mana of that color.
|
||||
6
forge-gui/res/cardsfolder/upcoming/fell_the_pheasant.txt
Normal file
6
forge-gui/res/cardsfolder/upcoming/fell_the_pheasant.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Name:Fell the Pheasant
|
||||
ManaCost:1 G
|
||||
Types:Instant
|
||||
A:SP$ DealDamage | Cost$ 1 G | ValidTgts$ Creature.withFlying | TgtPrompt$ Select target creature with flying | NumDmg$ 5 | SubAbility$ DBToken | SpellDescription$ CARDNAME deals 5 damage to target creature with flying. Create a card token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
|
||||
SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ c_a_food_sac | TokenOwner$ You | LegacyImage$ c a food sac eld
|
||||
Oracle:Fell the Pheasant deals 5 damage to target creature with flying. Create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
|
||||
@@ -0,0 +1,6 @@
|
||||
Name:Ferocity of the Wilds
|
||||
ManaCost:2 R
|
||||
Types:Enchantment
|
||||
S:Mode$ Continuous | Affected$ Creature.nonHuman+attacking+YouCtrl | AddPower$ 1 | AddKeyword$ Trample | Description$ Attacking non-Human creatures you control get +1/+0 and have trample.
|
||||
SVar:PlayMain1:TRUE
|
||||
Oracle:Attacking non-Human creatures you control get +1/+0 and have trample.
|
||||
11
forge-gui/res/cardsfolder/upcoming/fervent_champion.txt
Normal file
11
forge-gui/res/cardsfolder/upcoming/fervent_champion.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
Name:Fervent Champion
|
||||
ManaCost:R
|
||||
Types:Creature Human Knight
|
||||
PT:1/1
|
||||
K:First Strike
|
||||
K:Haste
|
||||
T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, another target creature you control gets +1/+0 until end of turn.
|
||||
SVar:TrigPump:DB$Pump | ValidTgts$ Knight.YouCtrl+Other | TgtPrompt$ Select another target attacking Knight you control | NumAtt$ +1
|
||||
SVar:HasAttackEffect:TRUE
|
||||
S:Mode$ ReduceCost | ValidTarget$ Card.Self | ValidSpell$ Activated.Equip | Activator$ You | Amount$ 3 | Description$ Equip abilities you activate that target CARDNAME cost {3} less to activate.
|
||||
Oracle:First strike, haste\nWhenever Fervent Champion attacks, another target attacking Knight you control gets +1/+0 until end of turn.\nEquip abilities you activate that target Fervent Champion cost {3} less to activate.
|
||||
@@ -0,0 +1,8 @@
|
||||
Name:Fierce Witchstalker
|
||||
ManaCost:2 G G
|
||||
Types:Creature Wolf
|
||||
PT:4/4
|
||||
K:Trample
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
|
||||
SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ c_a_food_sac | TokenOwner$ You | LegacyImage$ c a food sac eld
|
||||
Oracle:Trample\nWhen Fierce Witchstalker enters the battlefield, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
|
||||
12
forge-gui/res/cardsfolder/upcoming/folio_of_fancies.txt
Normal file
12
forge-gui/res/cardsfolder/upcoming/folio_of_fancies.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
Name:Folio of Fancies
|
||||
ManaCost:1 U
|
||||
Types:Artifact
|
||||
S:Mode$ Continuous | Affected$ Player | SetMaxHandSize$ Unlimited | Description$ Players have no maximum hand size.
|
||||
SVar:NonStackingEffect:True
|
||||
A:AB$ Draw | Cost$ X X T | NumCards$ X | References$ X | Defined$ Player | SpellDescription$ Each player draws X cards.
|
||||
SVar:X:Count$xPaid
|
||||
A:AB$ RepeatEach | Cost$ 2 U T | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ DBMill | SpellDescription$ Each opponent puts a number of cards equal to the number of cards in their hand from the top of their library into their graveyard.
|
||||
SVar:DBMill:DB$ Mill | Defined$ Remembered | NumCards$ Y | References$ Y
|
||||
SVar:Y:Count$ValidHand Card.RememberedPlayerCtrl
|
||||
AI:RemoveDeck:All
|
||||
Oracle:Players have no maximum hand size.\n{X}{X}, {T}: Each player draws X cards.\n{2}{U}, {T}: Each opponent puts a number of cards equal to the number of cards in their hand from the top of their library into their graveyard.
|
||||
@@ -0,0 +1,8 @@
|
||||
Name:Fortifying Provisions
|
||||
ManaCost:2 W
|
||||
Types:Enchantment
|
||||
S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddToughness$ 1 | Description$ Creatures you control get +0/+1.
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
|
||||
SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ c_a_food_sac | TokenOwner$ You | LegacyImage$ c a food sac eld
|
||||
SVar:PlayMain1:TRUE
|
||||
Oracle:Creatures you control get +0/+1.\nWhen Fortifying Provisions enters the battlefield, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
|
||||
10
forge-gui/res/cardsfolder/upcoming/gadwick_the_wizened.txt
Normal file
10
forge-gui/res/cardsfolder/upcoming/gadwick_the_wizened.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Name:Gadwick, the Wizened
|
||||
ManaCost:X U U U
|
||||
Types:Legendary Creature Human Wizard
|
||||
PT:3/3
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw X cards.
|
||||
SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X
|
||||
SVar:X:Count$xPaid
|
||||
T:Mode$ SpellCast | ValidCard$ Card.Blue | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigTap | TriggerDescription$ Whenever you cast a blue spell, tap target nonland permanent an opponent controls.
|
||||
SVar:TrigTap:DB$ Tap | ValidTgts$ Permanent.OppCtrl+nonLand | TgtPrompt$ Select target nonland permanent an opponent controls
|
||||
Oracle:When Gadwick, the Wizened enters the battlefield, draw X cards.\nWhenever you cast a blue spell, tap target nonland permanent an opponent controls.
|
||||
@@ -2,8 +2,6 @@ Name:Garenbrig Paladin
|
||||
ManaCost:4 G
|
||||
Types:Creature Giant Knight
|
||||
PT:4/4
|
||||
R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | Adamant$ Green | ReplaceWith$ ETBAddCounter | Description$ Adamant — If at least three green mana was spent to cast this spell, CARDNAME enters the battlefield with a +1/+1 counter on it.
|
||||
SVar:ETBAddCounter:DB$ PutCounter | ETB$ True | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ MoveToPlay
|
||||
SVar:MoveToPlay:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard
|
||||
K:etbCounter:P1P1:1:Adamant$ Green:Adamant — If at least three green mana was spent to cast this spell, CARDNAME enters the battlefield with a +1/+1 counter on it.
|
||||
K:CantBeBlockedBy Creature.powerLE2
|
||||
Oracle:Adamant — If at least three green mana was spent to cast this spell, Garenbrig Paladin enters the battlefield with a +1/+1 counter on it.\nGarenbrig Paladin can't be blocked by creatures with power 2 or less.
|
||||
|
||||
9
forge-gui/res/cardsfolder/upcoming/giants_skewer.txt
Normal file
9
forge-gui/res/cardsfolder/upcoming/giants_skewer.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Name:Giant's Skewer
|
||||
ManaCost:1 B
|
||||
Types:Artifact Equipment
|
||||
S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ 2 | AddToughness$ 1 | Description$ Equipped creature gets +2/+1.
|
||||
T:Mode$ DamageDone | ValidSource$ Creature.EquippedBy | ValidTarget$ Creature | CombatDamage$ True | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Whenever equipped creature deals combat damage to a creature, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")
|
||||
SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ c_a_food_sac | TokenOwner$ You | LegacyImage$ c a food sac eld
|
||||
DeckHas:Ability$LifeGain
|
||||
K:Equip:3
|
||||
Oracle:Equipped creature gets +2/+1.\nWhenever equipped creature deals combat damage to a creature, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")\nEquip {3} ({3}: Attach to target creature you control. Equip only as a sorcery.)
|
||||
9
forge-gui/res/cardsfolder/upcoming/gingerbrute.txt
Normal file
9
forge-gui/res/cardsfolder/upcoming/gingerbrute.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Name:Gingerbrute
|
||||
ManaCost:1
|
||||
Types:Artifact Creature Food Golem
|
||||
PT:1/1
|
||||
K:Haste
|
||||
A:AB$ Effect | Cost$ 1 | Name$ CARDNAME Effect | StaticAbilities$ KWPump | SpellDescription$ CARDNAME can't be blocked this turn except by creatures with haste.
|
||||
SVar:KWPump:Mode$ CantBlockBy | ValidAttacker$ Creature.EffectSource | ValidBlocker$ Creature.withoutHaste | EffectZone$ Command | Description$ EFFECTSOURCE can't be blocked this turn except by creatures with haste.
|
||||
A:AB$ GainLife | Cost$ 2 T Sac<1/CARDNAME> | LifeAmount$ 3 | SpellDescription$ You gain 3 life.
|
||||
Oracle:Haste\n{1}: Gingerbrute can't be blocked this turn except by creatures with haste.\n{2}, {T}, Sacrifice Gingerbrute: You gain 3 life.
|
||||
12
forge-gui/res/cardsfolder/upcoming/glass_casket.txt
Normal file
12
forge-gui/res/cardsfolder/upcoming/glass_casket.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
Name:Glass Casket
|
||||
ManaCost:1 W
|
||||
Types:Artifact
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, exile target creature an opponent controls with converted mana cost 3 or less until CARDNAME leaves the battlefield.
|
||||
SVar:TrigExile:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Creature.OppCtrl+cmcLE3 | TgtPrompt$ Select target creature an opponent controls with converted mana cost 3 or less | ConditionPresent$ Card.Self | SubAbility$ DBEffect
|
||||
SVar:DBEffect:DB$ Effect | Triggers$ ComeBack | RememberObjects$ Targeted | ImprintCards$ Self | SVars$ TrigReturn,ExileSelf | ConditionPresent$ Card.Self | Duration$ Permanent | ForgetOnMoved$ Exile
|
||||
SVar:ComeBack:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.IsImprinted | Execute$ TrigReturn | TriggerZones$ Command | TriggerController$ TriggeredCardController | Static$ True | TriggerDescription$ That creature is exiled until EFFECTSOURCE leaves the battlefield
|
||||
SVar:TrigReturn:DB$ ChangeZoneAll | Origin$ Exile | Destination$ Battlefield | ChangeType$ Card.IsRemembered | SubAbility$ ExileSelf
|
||||
SVar:ExileSelf:DB$ ChangeZone | Origin$ Command | Destination$ Exile | Defined$ Self
|
||||
SVar:PlayMain1:TRUE
|
||||
SVar:NeedsToPlay:Creature.OppCtrl+cmcLE3
|
||||
Oracle:When Glass Casket enters the battlefield, exile target creature an opponent controls with converted mana cost 3 or less until Glass Casket leaves the battlefield.
|
||||
@@ -0,0 +1,7 @@
|
||||
Name:Grumgully, the Generous
|
||||
ManaCost:1 R G
|
||||
Types:Legendary Creature Goblin Shaman
|
||||
PT:3/3
|
||||
K:ETBReplacement:Other:AddExtraCounter:Mandatory:Battlefield:Creature.YouCtrl+Other+nonHuman
|
||||
SVar:AddExtraCounter:DB$ PutCounter | ETB$ True | Defined$ ReplacedCard | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ Each other non-Human creature you controls enters the battlefield with an additional +1/+1 counter on it.
|
||||
Oracle:Each other non-Human creature you controls enters the battlefield with an additional +1/+1 counter on it.
|
||||
10
forge-gui/res/cardsfolder/upcoming/harmonious_archon.txt
Normal file
10
forge-gui/res/cardsfolder/upcoming/harmonious_archon.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Name:Harmonious Archon
|
||||
ManaCost:4 W W
|
||||
Types:Creature Archon
|
||||
PT:4/5
|
||||
K:Flying
|
||||
S:Mode$ Continuous | Affected$ Creature.nonArchon | SetPower$ 3 | SetToughness$ 3 | Description$ Non-Archon creatures have base power and toughness 3/3.
|
||||
AI:RemoveDeck:Random
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create two 1/1 white Human creature tokens.
|
||||
SVar:TrigToken:DB$Token | TokenAmount$ 2 | TokenScript$ w_1_1_human | TokenOwner$ You | LegacyImage$ w 1 1 human eld
|
||||
Oracle:Flying\nNon-Archon creatures have base power and toughness 3/3.\nWhen Harmonious Archon enters the battlefield, create two 1/1 white Human creature tokens.
|
||||
6
forge-gui/res/cardsfolder/upcoming/henge_walker.txt
Normal file
6
forge-gui/res/cardsfolder/upcoming/henge_walker.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Name:Henge Walker
|
||||
ManaCost:3
|
||||
Types:Artifact Creature Golem
|
||||
PT:2/2
|
||||
K:etbCounter:P1P1:1:Adamant$ Any:Adamant — If at least three mana of the same color was spent to cast this spell, CARDNAME enters the battlefield with a +1/+1 counter on it.
|
||||
Oracle:Adamant — If at least three mana of the same color was spent to cast this spell, Henge Walker enters the battlefield with a +1/+1 counter on it.
|
||||
10
forge-gui/res/cardsfolder/upcoming/idyllic_grange.txt
Normal file
10
forge-gui/res/cardsfolder/upcoming/idyllic_grange.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Name:Idyllic Grange
|
||||
ManaCost:no cost
|
||||
Types:Land Plains
|
||||
R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplaceWith$ LandTapped | Description$ CARDNAME enters the battlefield tapped unless you control three or more other Plains.
|
||||
SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar | ConditionSVarCompare$ LT3 | References$ ETBCheckSVar | SubAbility$ MoveToPlay
|
||||
SVar:MoveToPlay:DB$ ChangeZone | Defined$ Self | Origin$ All | Destination$ Battlefield
|
||||
SVar:ETBCheckSVar:Count$Valid Plains.YouCtrl+Other
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self+untapped | Execute$ TrigPutCounter | TriggerDescription$ When CARDNAME enters the battlefield untapped, put a +1/+1 counter on target creature you control.
|
||||
SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | CounterType$ P1P1 | CounterNum$ 1
|
||||
Oracle:({T}: Add {W}.)\nIdyllic Grange enters the battlefield tapped unless you control three or more other Plains.\nWhen Idyllic Grange enters the battlefield untapped, put a +1/+1 counter on target creature you control.
|
||||
@@ -0,0 +1,9 @@
|
||||
Name:Inquisitive Puppet
|
||||
ManaCost:1
|
||||
Types:Artifact Creature Construct
|
||||
PT:0/2
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigScry | TriggerDescription$ When CARDNAME enters the battlefield, scry 1.
|
||||
SVar:TrigScry:DB$ Scry | ScryNum$ 1
|
||||
A:AB$ Token | Cost$ Exile<1/CARDNAME> | TokenAmount$ 1 | TokenScript$ w_1_1_human | TokenOwner$ You | LegacyImage$ w 1 1 human eld | SpellDescription$ Create a 1/1 white Human creature token.
|
||||
DeckHints:Type$Human
|
||||
Oracle:When Inquisitive Puppet enters the battlefield, scry 1.\nExile Inquisitive Puppet: Create a 1/1 white Human creature token.
|
||||
@@ -0,0 +1,9 @@
|
||||
Name:Insatiable Appetite
|
||||
ManaCost:1 G
|
||||
Types:Instant
|
||||
A:SP$ Sacrifice | Cost$ 1 G | SacValid$ Food | Optional$ True | RememberSacrificed$ True | SubAbility$ DBPump | SpellDescription$ You may sacrifice a Food. If you do, target creature gets +5/+5 until end of turn. Otherwise, that creature gets +3/+3 until end of turn.
|
||||
SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target Creature | NumAtt$ +X | NumDef$ +X | References$ X,Y | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:X:Count$Compare Y GE1.5.3
|
||||
SVar:Y:Remembered$Amount
|
||||
Oracle:You may sacrifice a Food. If you do, target creature gets +5/+5 until end of turn. Otherwise, that creature gets +3/+3 until end of turn.
|
||||
7
forge-gui/res/cardsfolder/upcoming/into_the_story.txt
Normal file
7
forge-gui/res/cardsfolder/upcoming/into_the_story.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Name:Into the Story
|
||||
ManaCost:5 U U
|
||||
Types:Instant
|
||||
S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ 3 | EffectZone$ All | CheckSVar$ X | SVarCompare$ GE7 | Description$ CARDNAME costs {3} less to cast if an opponent has seven or more cards in their graveyard.
|
||||
SVar:X:PlayerCountOpponents$HighestCardsInGraveyard
|
||||
A:SP$ Draw | Cost$ 5 U U | NumCards$ 4 | SpellDescription$ Draw four cards.
|
||||
Oracle:This spell costs {3} less to cast if an opponent has seven or more cards in their graveyard.\nDraw four cards.
|
||||
11
forge-gui/res/cardsfolder/upcoming/irencrag_feat.txt
Normal file
11
forge-gui/res/cardsfolder/upcoming/irencrag_feat.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
Name:Irencrag Feat
|
||||
ManaCost:1 R R R
|
||||
Types:Sorcery
|
||||
A:SP$ Mana | Cost$ 1 R R R | Produced$ R | Amount$ 7 | SubAbility$ DBEffect | SpellDescription$ Add seven {R}. You can cast only one more spell this turn.
|
||||
SVar:DBEffect:DB$ Effect | Name$ CARDNAME Effect | StaticAbilities$ STCantBeCast | SVars$ NumCount,TrigRem | Triggers$ StaticRem
|
||||
SVar:STCantBeCast:Mode$ CantBeCast | Caster$ You | EffectZone$ Command | CheckSVar$ NumCount | SVarCompare$ GE1 | References$ NumCount | Description$ You can cast only one more spell this turn.
|
||||
SVar:NumCount:Remembered$Amount
|
||||
SVar:StaticRem:Mode$ SpellCast | ValidActivatingPlayer$ You | Static$ True | Secondary$ True | Execute$ TrigRem
|
||||
SVar:TrigRem:DB$ Pump | RememberObjects$ TriggeredCard
|
||||
AI:RemoveDeck:All
|
||||
Oracle:Add seven {R}. You can cast only one more spell this turn.
|
||||
@@ -0,0 +1,5 @@
|
||||
Name:Knight of the Keep
|
||||
ManaCost:2 W
|
||||
Types:Creature Human Knight
|
||||
PT:3/2
|
||||
Oracle:
|
||||
@@ -0,0 +1,8 @@
|
||||
Name:Linden, the Steadfast Queen
|
||||
ManaCost:W W W
|
||||
Types:Legendary Creature Human Noble
|
||||
PT:3/3
|
||||
K:Vigilance
|
||||
T:Mode$ Attacks | ValidCard$ Creature.White+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever a white creature you control attacks, you gain 1 life.
|
||||
SVar:TrigGainLife:DB$GainLife | LifeAmount$ 1 | Defined$ You
|
||||
Oracle:Vigilance\nWhenever a white creature you control attacks, you gain 1 life.
|
||||
9
forge-gui/res/cardsfolder/upcoming/loch_dragon.txt
Normal file
9
forge-gui/res/cardsfolder/upcoming/loch_dragon.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Name:Loch Dragon
|
||||
ManaCost:U/R U/R U/R U/R
|
||||
Types:Creature Dragon
|
||||
PT:3/2
|
||||
K:Flying
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ Whenever CARDNAME enters the battlefield or attacks, you may discard a card. If you do, draw a card.
|
||||
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigDraw | Secondary$ True | TriggerDescription$ Whenever CARDNAME enters the battlefield or attacks, you may discard a card. If you do, draw a card.
|
||||
SVar:TrigDraw:AB$ Draw | Cost$ Discard<1/Card> | NumCards$ 1
|
||||
Oracle:Flying\nWhenever Loch Dragon enters the battlefield or attacks, you may discard a card. If you do, draw a card.
|
||||
7
forge-gui/res/cardsfolder/upcoming/lost_legion.txt
Normal file
7
forge-gui/res/cardsfolder/upcoming/lost_legion.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Name:Lost Legion
|
||||
ManaCost:1 B B
|
||||
Types:Creature Spirit Knight
|
||||
PT:2/3
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigScry | TriggerDescription$ When CARDNAME enters the battlefield, scry 2. (To scry 2, look at the top two cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.)
|
||||
SVar:TrigScry:DB$ Scry | ScryNum$ 2
|
||||
Oracle:When Lost Legion enters the battlefield, scry 2. (Look at the top two cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.)
|
||||
7
forge-gui/res/cardsfolder/upcoming/maraleaf_rider.txt
Normal file
7
forge-gui/res/cardsfolder/upcoming/maraleaf_rider.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Name:Maraleaf Rider
|
||||
ManaCost:1 G
|
||||
Types:Creature Elf Knight
|
||||
PT:3/1
|
||||
A:AB$ MustBlock | Cost$ Sac<1/Food> | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Target creature blocks CARDNAME this turn if able.
|
||||
AI:RemoveDeck:All
|
||||
Oracle:Sacrifice a Food: Target creature blocks Maraleaf Rider this turn if able.
|
||||
@@ -7,7 +7,7 @@ AI:RemoveDeck:Random
|
||||
T:Mode$ Phase | Phase$ Upkeep | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of each upkeep, put an hour counter on CARDNAME.
|
||||
SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ HOUR | CounterNum$ 1
|
||||
T:Mode$ CounterAdded | ValidCard$ Card.Self | TriggerZones$ Battlefield | CounterType$ HOUR | CounterAmount$ EQ12 | Execute$ TrigChangeAll | TriggerDescription$ When the twelfth hour counter is put on CARDNAME, shuffle your hand and graveyard into your library, then draw seven cards. Exile CARDNAME.
|
||||
SVar:TrigChangeAll:DB$ ChangeZoneAll | Origin$ Graveyard,Hand | Destination$ Library | ChangeType$ Card.YouOwn | SubAbility$ DBDraw
|
||||
SVar:TrigChangeAll:DB$ ChangeZoneAll | Origin$ Graveyard,Hand | Destination$ Library | ChangeType$ Card.YouOwn | Shuffle$ True | SubAbility$ DBDraw
|
||||
SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 7 | SubAbility$ DBExile
|
||||
SVar:DBChange:DB$ ChangeZone | Origin$ Stack | Destination$ Exile
|
||||
SVar:DBExile:DB$ ChangeZone | Origin$ Stack | Destination$ Exile
|
||||
Oracle:{T}: Add {U}.\n{2}{U}: Put an hour counter on Midnight Clock.\nAt the beginning of each upkeep, put an hour counter on Midnight Clock.\nWhen the twelfth hour counter is put on Midnight Clock, shuffle your hand and graveyard into your library, then draw seven cards. Exile Midnight Clock.
|
||||
|
||||
6
forge-gui/res/cardsfolder/upcoming/mirrormade.txt
Normal file
6
forge-gui/res/cardsfolder/upcoming/mirrormade.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Name:Mirrormade
|
||||
ManaCost:1 U U
|
||||
Types:Enchantment
|
||||
K:ETBReplacement:Copy:DBCopy:Optional
|
||||
SVar:DBCopy:DB$ Clone | Choices$ Artifact.Other,Enchantment.Other | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any artifact or enchantment on the battlefield.
|
||||
Oracle:You may have Mirrormade enter the battlefield as a copy of any artifact or enchantment on the battlefield.
|
||||
@@ -0,0 +1,7 @@
|
||||
Name:Mistford River Turtle
|
||||
ManaCost:3 U
|
||||
Types:Creature Turtle
|
||||
PT:1/5
|
||||
T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, another target creature can't be blocked this turn.
|
||||
SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.nonHuman+Other+attacking | TgtPrompt$ Select another target attacking non-Human creature | KW$ HIDDEN Unblockable
|
||||
Oracle:Whenever Mistford River Turtle attacks, another target attacking non-Human creature can't be blocked this turn.
|
||||
8
forge-gui/res/cardsfolder/upcoming/mystical_dispute.txt
Normal file
8
forge-gui/res/cardsfolder/upcoming/mystical_dispute.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Name:Mystical Dispute
|
||||
ManaCost:2 U
|
||||
Types:Instant
|
||||
S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ XBlue | Relative$ True | EffectZone$ All | Description$ CARDNAME costs {2} less to cast if it targets a blue spell.
|
||||
SVar:XBlue:Count$Compare CheckTgt GE1.2.0
|
||||
SVar:CheckTgt:Targeted$Valid Card.Blue
|
||||
A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ 3 | References$ XBlue,CheckTgt | SpellDescription$ This spell costs {2} less to cast if it targets a blue spell. Counter target spell unless its controller pays {3}.
|
||||
Oracle:This spell costs {2} less to cast if it targets a blue spell.\nCounter target spell unless its controller pays {3}.
|
||||
9
forge-gui/res/cardsfolder/upcoming/oakhame_adversary.txt
Normal file
9
forge-gui/res/cardsfolder/upcoming/oakhame_adversary.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Name:Oakhame Adversary
|
||||
ManaCost:3 G
|
||||
Types:Creature Elf Warrior
|
||||
PT:2/3
|
||||
S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ 2 | EffectZone$ All | IsPresent$ Permanent.Green+OppCtrl | Description$ CARDNAME costs {2} less to cast if your opponent controls a green permanent.
|
||||
K:Deathtouch
|
||||
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigDraw | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, draw a card.
|
||||
SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1
|
||||
Oracle:This spell costs {2} less to cast if your opponent controls a green permanent.\nDeathtouch\nWhenever Oakhame Adversary deals combat damage to a player, draw a card.
|
||||
9
forge-gui/res/cardsfolder/upcoming/oathsworn_knight.txt
Normal file
9
forge-gui/res/cardsfolder/upcoming/oathsworn_knight.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Name:Oathsworn Knight
|
||||
ManaCost:1 B B
|
||||
Types:Creature Human Knight
|
||||
PT:0/0
|
||||
K:etbCounter:P1P1:4
|
||||
K:CARDNAME attacks each combat if able.
|
||||
R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Card.Self+counters_GE1_P1P1 | ReplaceWith$ DBRemoveCounters | PreventionEffect$ True | Description$ If damage would be dealt to CARDNAME while it has a +1/+1 counter on it, prevent that damage and remove a +1/+1 counter from it.
|
||||
SVar:DBRemoveCounters:DB$ RemoveCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1
|
||||
Oracle:Oathsworn Knight enters the battlefield with four +1/+1 counters on it.\nOathsworn Knight attacks each combat if able.\nIf damage would be dealt to Oathsworn Knight while it has a +1/+1 counter on it, prevent that damage and remove a +1/+1 counter from it.
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user