diff --git a/forge-ai/src/main/java/forge/ai/ability/DamageAllAi.java b/forge-ai/src/main/java/forge/ai/ability/DamageAllAi.java index 84a96f53b4c..fb3d65475b9 100644 --- a/forge-ai/src/main/java/forge/ai/ability/DamageAllAi.java +++ b/forge-ai/src/main/java/forge/ai/ability/DamageAllAi.java @@ -63,7 +63,7 @@ public class DamageAllAi extends SpellAbilityAi { // TODO: if damage is dependant on mana paid, maybe have X be human's max life // Don't kill yourself - if (validP.contains("Each") && (ai.getLife() <= ComputerUtilCombat.predictDamageTo(ai, dmg, source, false))) { + if (validP.equals("Player") && (ai.getLife() <= ComputerUtilCombat.predictDamageTo(ai, dmg, source, false))) { return false; } @@ -73,7 +73,7 @@ public class DamageAllAi extends SpellAbilityAi { } // if we can kill human, do it - if ((validP.contains("Each") || validP.contains("EachOpponent")) + if ((validP.equals("Player") || validP.contains("Opponent")) && (opp.getLife() <= ComputerUtilCombat.predictDamageTo(opp, dmg, source, false))) { return true; } @@ -134,12 +134,12 @@ public class DamageAllAi extends SpellAbilityAi { computerList.clear(); } // Don't get yourself killed - if (validP.contains("Each") && (ai.getLife() <= ComputerUtilCombat.predictDamageTo(ai, dmg, source, false))) { + if (validP.equals("Player") && (ai.getLife() <= ComputerUtilCombat.predictDamageTo(ai, dmg, source, false))) { return false; } // if we can kill human, do it - if ((validP.contains("Each") || validP.contains("EachOpponent") || validP.contains("Targeted")) + if ((validP.equals("Player") || validP.equals("Opponent") || validP.contains("Targeted")) && (enemy.getLife() <= ComputerUtilCombat.predictDamageTo(enemy, dmg, source, false))) { return true; } @@ -156,16 +156,14 @@ public class DamageAllAi extends SpellAbilityAi { *

* getKillableCreatures. *

- * - * @param af - * a {@link forge.game.ability.AbilityFactory} object. + * * @param sa * a {@link forge.game.spellability.SpellAbility} object. * @param player * a {@link forge.game.player.Player} object. * @param dmg * a int. - * @return a {@link forge.CardList} object. + * @return a {@link forge.game.card.CardCollection} object. */ private CardCollection getKillableCreatures(final SpellAbility sa, final Player player, final int dmg) { final Card source = sa.getHostCard(); @@ -223,12 +221,12 @@ public class DamageAllAi extends SpellAbilityAi { return true; } // Don't get yourself killed - if (validP.contains("Each") && (ai.getLife() <= ComputerUtilCombat.predictDamageTo(ai, dmg, source, false))) { + if (validP.equals("Player") && (ai.getLife() <= ComputerUtilCombat.predictDamageTo(ai, dmg, source, false))) { return false; } // if we can kill human, do it - if ((validP.contains("Each") || validP.contains("EachOpponent") || validP.contains("Targeted")) + if ((validP.equals("Player") || validP.contains("Opponent") || validP.contains("Targeted")) && (enemy.getLife() <= ComputerUtilCombat.predictDamageTo(enemy, dmg, source, false))) { return true; } diff --git a/forge-ai/src/main/java/forge/ai/ability/LifeSetAi.java b/forge-ai/src/main/java/forge/ai/ability/LifeSetAi.java index a0d8e6ab7ad..57bf443e411 100644 --- a/forge-ai/src/main/java/forge/ai/ability/LifeSetAi.java +++ b/forge-ai/src/main/java/forge/ai/ability/LifeSetAi.java @@ -77,7 +77,7 @@ public class LifeSetAi extends SpellAbilityAi { } } } else { - if (sa.hasParam("Each") && sa.getParam("Defined").equals("Each")) { + if (sa.getParam("Defined").equals("Player")) { if (amount == 0) { return false; } else if (myLife > amount) { // will decrease computer's diff --git a/forge-ai/src/main/java/forge/ai/ability/SacrificeAi.java b/forge-ai/src/main/java/forge/ai/ability/SacrificeAi.java index 38fc03b374a..f53b57c6300 100644 --- a/forge-ai/src/main/java/forge/ai/ability/SacrificeAi.java +++ b/forge-ai/src/main/java/forge/ai/ability/SacrificeAi.java @@ -111,7 +111,7 @@ public class SacrificeAi extends SpellAbilityAi { final String valid = sa.getParam("SacValid"); if (defined == null) { // Self Sacrifice. - } else if (defined.equals("Each") || (defined.equals("Opponent") && !sa.isTrigger())) { + } else if (defined.equals("Player") || (defined.equals("Opponent") && !sa.isTrigger())) { // If Sacrifice hits both players: // Only cast it if Human has the full amount of valid // Only cast it if AI doesn't have the full amount of Valid diff --git a/forge-game/src/main/java/forge/game/ability/AbilityUtils.java b/forge-game/src/main/java/forge/game/ability/AbilityUtils.java index 17081dd7230..3cf186c3a35 100644 --- a/forge-game/src/main/java/forge/game/ability/AbilityUtils.java +++ b/forge-game/src/main/java/forge/game/ability/AbilityUtils.java @@ -684,7 +684,7 @@ public class AbilityUtils { * a card type * @param sa * a SpellAbility - * @return a {@link forge.CardList} object. + * @return a {@link forge.game.CardCollectionView} object. */ public static CardCollectionView filterListByType(final CardCollectionView list, String type, final SpellAbility sa) { if (type == null) { @@ -1098,9 +1098,6 @@ public class AbilityUtils { else if (defined.equals("You")) { players.add(sa.getActivatingPlayer()); } - else if (defined.equals("Each")) { - players.addAll(game.getPlayersInTurnOrder()); - } else if (defined.equals("Opponent")) { players.add(sa.getActivatingPlayer().getOpponent()); } @@ -1415,7 +1412,7 @@ public class AbilityUtils { * @param s * a {@link java.lang.String} object. * @param ctb - * a {@link forge.SpellAbility} object. + * a {@link forge.game.CardTraitBase} object. * @return a int. */ public static int xCount(final Card c, final String s, final CardTraitBase ctb) { diff --git a/forge-gui/res/cardsfolder/a/abyssal_gatekeeper.txt b/forge-gui/res/cardsfolder/a/abyssal_gatekeeper.txt index 9d81aacefa4..a832b6519d9 100644 --- a/forge-gui/res/cardsfolder/a/abyssal_gatekeeper.txt +++ b/forge-gui/res/cardsfolder/a/abyssal_gatekeeper.txt @@ -3,6 +3,6 @@ ManaCost:1 B Types:Creature Horror PT:1/1 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigSac | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, each player sacrifices a creature. -SVar:TrigSac:AB$ Sacrifice | Cost$ 0 | SacValid$ Creature | Defined$ Each +SVar:TrigSac:AB$ Sacrifice | Cost$ 0 | SacValid$ Creature | Defined$ Player SVar:Picture:http://www.wizards.com/global/images/magic/general/abyssal_gatekeeper.jpg Oracle:When Abyssal Gatekeeper dies, each player sacrifices a creature. diff --git a/forge-gui/res/cardsfolder/a/akki_blizzard_herder.txt b/forge-gui/res/cardsfolder/a/akki_blizzard_herder.txt index 202d893e90f..415bb8ffa60 100644 --- a/forge-gui/res/cardsfolder/a/akki_blizzard_herder.txt +++ b/forge-gui/res/cardsfolder/a/akki_blizzard_herder.txt @@ -3,6 +3,6 @@ ManaCost:1 R Types:Creature Goblin Shaman PT:1/1 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigSac | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, each player sacrifices a land. -SVar:TrigSac:AB$ Sacrifice | Cost$ 0 | SacValid$ Land | Defined$ Each +SVar:TrigSac:AB$ Sacrifice | Cost$ 0 | SacValid$ Land | Defined$ Player SVar:Picture:http://www.wizards.com/global/images/magic/general/akki_blizzard_herder.jpg Oracle:When Akki Blizzard-Herder dies, each player sacrifices a land. diff --git a/forge-gui/res/cardsfolder/a/alliance_of_arms.txt b/forge-gui/res/cardsfolder/a/alliance_of_arms.txt index bc3735111c3..b1a3ff784e7 100644 --- a/forge-gui/res/cardsfolder/a/alliance_of_arms.txt +++ b/forge-gui/res/cardsfolder/a/alliance_of_arms.txt @@ -4,7 +4,7 @@ Types:Sorcery A:SP$ RepeatEach | Cost$ W | RepeatPlayers$ Player | StartingWithActivator$ True | RepeatSubAbility$ DBPay | SubAbility$ DBToken | StackDescription$ SpellDescription | SpellDescription$ Join forces - Starting with you, each player may pay any amount of mana. Each player puts X 1/1 white Soldier creature tokens onto the battlefield, where X is the total amount of mana paid this way. SVar:DBPay:DB$ ChooseNumber | Defined$ Player.IsRemembered | ChooseAnyNumber$ True | ListTitle$ Pay Any Mana | SubAbility$ DBStore SVar:DBStore:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ CountSVar | Expression$ JoinForcesAmount/Plus.X | UnlessCost$ X | UnlessPayer$ Player.IsRemembered | UnlessSwitched$ True | UnlessAI$ OnlyOwn | References$ X,JoinForcesAmount -SVar:DBToken:DB$ Token | TokenAmount$ JoinForcesAmount | TokenName$ Soldier | TokenTypes$ Creature,Soldier | TokenOwner$ Each | TokenColors$ White | TokenPower$ 1 | TokenToughness$ 1 | References$ JoinForcesAmount | StackDescription$ None +SVar:DBToken:DB$ Token | TokenAmount$ JoinForcesAmount | TokenName$ Soldier | TokenTypes$ Creature,Soldier | TokenOwner$ Player | TokenColors$ White | TokenPower$ 1 | TokenToughness$ 1 | References$ JoinForcesAmount | StackDescription$ None SVar:DBReset:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ Number | Expression$ 0 | References$ JoinForcesAmount SVar:X:Count$ChosenNumber SVar:JoinForcesAmount:Number$0 diff --git a/forge-gui/res/cardsfolder/a/anowon_the_ruin_sage.txt b/forge-gui/res/cardsfolder/a/anowon_the_ruin_sage.txt index 043d9deef9a..dab6d96f49f 100644 --- a/forge-gui/res/cardsfolder/a/anowon_the_ruin_sage.txt +++ b/forge-gui/res/cardsfolder/a/anowon_the_ruin_sage.txt @@ -3,6 +3,6 @@ ManaCost:3 B B Types:Legendary Creature Vampire Shaman PT:4/3 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ At the beginning of your upkeep, each player sacrifices a non-Vampire creature. -SVar:TrigSac:AB$Sacrifice | Cost$ 0 | SacValid$ Creature.nonVampire | Defined$ Each +SVar:TrigSac:AB$Sacrifice | Cost$ 0 | SacValid$ Creature.nonVampire | Defined$ Player SVar:Picture:http://www.wizards.com/global/images/magic/general/anowon_the_ruin_sage.jpg Oracle:At the beginning of your upkeep, each player sacrifices a non-Vampire creature. diff --git a/forge-gui/res/cardsfolder/a/arbiter_of_knollridge.txt b/forge-gui/res/cardsfolder/a/arbiter_of_knollridge.txt index 28f80e655d2..286b32f0576 100644 --- a/forge-gui/res/cardsfolder/a/arbiter_of_knollridge.txt +++ b/forge-gui/res/cardsfolder/a/arbiter_of_knollridge.txt @@ -4,7 +4,7 @@ Types:Creature Giant Wizard PT:5/5 K:Vigilance T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | References$ X | Execute$ TrigLife | TriggerDescription$ When CARDNAME enters the battlefield, each player's life total becomes the highest life total among all players. -SVar:TrigLife:AB$SetLife | Cost$ 0 | Defined$ Each | LifeAmount$ X | References$ X +SVar:TrigLife:AB$SetLife | Cost$ 0 | Defined$ Player | LifeAmount$ X | References$ X SVar:X:PlayerCountPlayers$HighestLifeTotal SVar:Picture:http://www.wizards.com/global/images/magic/general/arbiter_of_knollridge.jpg Oracle:Vigilance\nWhen Arbiter of Knollridge enters the battlefield, each player's life total becomes the highest life total among all players. diff --git a/forge-gui/res/cardsfolder/a/armageddon_clock.txt b/forge-gui/res/cardsfolder/a/armageddon_clock.txt index 5e069137f69..9f74e2c7f9d 100644 --- a/forge-gui/res/cardsfolder/a/armageddon_clock.txt +++ b/forge-gui/res/cardsfolder/a/armageddon_clock.txt @@ -4,7 +4,7 @@ Types:Artifact T:Mode$ Phase | Phase$ Draw | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDealDamage | TriggerDescription$ At the beginning of your draw step, CARDNAME deals damage equal to the number of doom counters on it to each player. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a doom counter on CARDNAME. A:AB$ RemoveCounter | Cost$ 4 | CounterType$ DOOM | CounterNum$ 1 | ActivationPhases$ Upkeep | AnyPlayer$ True | SpellDescription$ Remove a doom counter from CARDNAME. Any player may activate this ability but only during any upkeep step. -SVar:TrigDealDamage:AB$DealDamage | Cost$ 0 | Defined$ Each | NumDmg$ X | References$ X +SVar:TrigDealDamage:AB$DealDamage | Cost$ 0 | Defined$ Player | NumDmg$ X | References$ X SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ DOOM | CounterNum$ 1 SVar:X:Count$CardCounters.DOOM SVar:RemAIDeck:True diff --git a/forge-gui/res/cardsfolder/a/ashling_the_pilgrim.txt b/forge-gui/res/cardsfolder/a/ashling_the_pilgrim.txt index d1aa1e9d743..1865a2466ee 100644 --- a/forge-gui/res/cardsfolder/a/ashling_the_pilgrim.txt +++ b/forge-gui/res/cardsfolder/a/ashling_the_pilgrim.txt @@ -5,7 +5,7 @@ PT:1/1 A:AB$ PutCounter | Cost$ 1 R | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ StoreNum | StackDescription$ SpellDescription | SpellDescription$ Put a +1/+1 counter on CARDNAME. If this is the third time this ability has resolved this turn, remove all +1/+1 counters from CARDNAME, and it deals that much damage to each creature and each player. SVar:StoreNum:DB$ StoreSVar | SVar$ AshlingNum | Type$ CountSVar | Expression$ AshlingNum/Plus.1 | SubAbility$ DBRemoveCounter SVar:DBRemoveCounter:DB$ RemoveCounter | CounterType$ P1P1 | CounterNum$ All | RememberRemoved$ True | SubAbility$ DBDmg | ConditionCheckSVar$ AshlingNum | ConditionSVarCompare$ EQ3 | StackDescription$ None -SVar:DBDmg:DB$ DamageAll | NumDmg$ X | References$ X | ValidCards$ Creature | ValidPlayers$ Each | ValidDescription$ each creature and each player. | SubAbility$ DBCleanup | ConditionCheckSVar$ AshlingNum | ConditionSVarCompare$ EQ3 | StackDescription$ None +SVar:DBDmg:DB$ DamageAll | NumDmg$ X | References$ X | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | SubAbility$ DBCleanup | ConditionCheckSVar$ AshlingNum | ConditionSVarCompare$ EQ3 | StackDescription$ None SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:AshlingNum:Number$0 SVar:X:Count$RememberedSize diff --git a/forge-gui/res/cardsfolder/a/ashling_the_pilgrim_avatar.txt b/forge-gui/res/cardsfolder/a/ashling_the_pilgrim_avatar.txt index dda7751ca55..46defdc8873 100644 --- a/forge-gui/res/cardsfolder/a/ashling_the_pilgrim_avatar.txt +++ b/forge-gui/res/cardsfolder/a/ashling_the_pilgrim_avatar.txt @@ -2,6 +2,6 @@ Name:Ashling the Pilgrim Avatar ManaCost:no cost Types:Vanguard HandLifeModifier:-1/+6 -A:AB$ DamageAll | ActivationZone$ Command | Cost$ 2 | NumDmg$ 1 | ValidCards$ Creature | ValidPlayers$ Each | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 1 damage to each creature and each player. +A:AB$ DamageAll | ActivationZone$ Command | Cost$ 2 | NumDmg$ 1 | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 1 damage to each creature and each player. SVar:Picture:http://downloads.cardforge.link/images/cards/VAN/Ashling the Pilgrim Avatar.full.jpg Oracle:Hand -1, life +6\n{2}: Ashling the Pilgrim Avatar deals 1 damage to each creature and each player. diff --git a/forge-gui/res/cardsfolder/b/barter_in_blood.txt b/forge-gui/res/cardsfolder/b/barter_in_blood.txt index 96615c1151a..320f321c5f5 100644 --- a/forge-gui/res/cardsfolder/b/barter_in_blood.txt +++ b/forge-gui/res/cardsfolder/b/barter_in_blood.txt @@ -1,7 +1,7 @@ Name:Barter in Blood ManaCost:2 B B Types:Sorcery -A:SP$ Sacrifice | Cost$ 2 B B | Amount$ 2 | SacValid$ Creature | Defined$ Each | SpellDescription$ Each player sacrifices two creatures. +A:SP$ Sacrifice | Cost$ 2 B B | Amount$ 2 | SacValid$ Creature | Defined$ Player | SpellDescription$ Each player sacrifices two creatures. SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/barter_in_blood.jpg Oracle:Each player sacrifices two creatures. diff --git a/forge-gui/res/cardsfolder/b/blockbuster.txt b/forge-gui/res/cardsfolder/b/blockbuster.txt index 239d30683c7..b2e40ef5ebe 100644 --- a/forge-gui/res/cardsfolder/b/blockbuster.txt +++ b/forge-gui/res/cardsfolder/b/blockbuster.txt @@ -2,6 +2,6 @@ Name:Blockbuster ManaCost:3 R R Types:Enchantment PT:6/6 -A:AB$ DamageAll | Cost$ 1 R Sac<1/CARDNAME> | ValidCards$ Creature.tapped | ValidPlayers$ Each | NumDmg$ 3 | ValidDescription$ each tapped creature and each player. | SpellDescription$ CARDNAME deals 3 damage to each tapped creature and each player. +A:AB$ DamageAll | Cost$ 1 R Sac<1/CARDNAME> | ValidCards$ Creature.tapped | ValidPlayers$ Player | NumDmg$ 3 | ValidDescription$ each tapped creature and each player. | SpellDescription$ CARDNAME deals 3 damage to each tapped creature and each player. SVar:Picture:http://www.wizards.com/global/images/magic/general/blockbuster.jpg Oracle:{1}{R}, Sacrifice Blockbuster: Blockbuster deals 3 damage to each tapped creature and each player. diff --git a/forge-gui/res/cardsfolder/b/blood_toll_harpy.txt b/forge-gui/res/cardsfolder/b/blood_toll_harpy.txt index 6d37124912f..c6c526233d9 100644 --- a/forge-gui/res/cardsfolder/b/blood_toll_harpy.txt +++ b/forge-gui/res/cardsfolder/b/blood_toll_harpy.txt @@ -4,6 +4,6 @@ Types:Creature Harpy PT:2/1 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigLoseLife | TriggerDescription$ When CARDNAME enters the battlefield, each player loses 1 life. -SVar:TrigLoseLife:AB$ LoseLife | Cost$ 0 | Defined$ Each | LifeAmount$ 1 +SVar:TrigLoseLife:AB$ LoseLife | Cost$ 0 | Defined$ Player | LifeAmount$ 1 SVar:Picture:http://www.wizards.com/global/images/magic/general/blood_toll_harpy.jpg Oracle:Flying\nWhen Blood-Toll Harpy enters the battlefield, each player loses 1 life. diff --git a/forge-gui/res/cardsfolder/b/blood_tyrant.txt b/forge-gui/res/cardsfolder/b/blood_tyrant.txt index 46c7a2e11b8..875c26fbe84 100644 --- a/forge-gui/res/cardsfolder/b/blood_tyrant.txt +++ b/forge-gui/res/cardsfolder/b/blood_tyrant.txt @@ -5,7 +5,7 @@ PT:5/5 K:Flying K:Trample T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ At the beginning of your upkeep, each player loses 1 life. Put a +1/+1 counter on CARDNAME for each 1 life lost this way. -SVar:TrigLoseLife:AB$LoseLife | Cost$ 0 | Defined$ Each | LifeAmount$ 1 | SubAbility$ DBPutCounter +SVar:TrigLoseLife:AB$LoseLife | Cost$ 0 | Defined$ Player | LifeAmount$ 1 | SubAbility$ DBPutCounter SVar:DBPutCounter:DB$PutCounter | Cost$ 0 | CounterType$ P1P1 | CounterNum$ 2 T:Mode$ LosesGame | Execute$ TrigCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever a player loses the game, put five +1/+1 counters on CARDNAME. SVar:TrigCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 5 diff --git a/forge-gui/res/cardsfolder/b/bloodfire_colossus.txt b/forge-gui/res/cardsfolder/b/bloodfire_colossus.txt index e6310a3ca66..4e7f4b87286 100644 --- a/forge-gui/res/cardsfolder/b/bloodfire_colossus.txt +++ b/forge-gui/res/cardsfolder/b/bloodfire_colossus.txt @@ -2,6 +2,6 @@ Name:Bloodfire Colossus ManaCost:6 R R Types:Creature Giant PT:6/6 -A:AB$ DamageAll | Cost$ R Sac<1/CARDNAME> | ValidCards$ Creature | ValidPlayers$ Each | NumDmg$ 6 | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 6 damage to each creature and each player. +A:AB$ DamageAll | Cost$ R Sac<1/CARDNAME> | ValidCards$ Creature | ValidPlayers$ Player | NumDmg$ 6 | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 6 damage to each creature and each player. SVar:Picture:http://www.wizards.com/global/images/magic/general/bloodfire_colossus.jpg Oracle:{R}, Sacrifice Bloodfire Colossus: Bloodfire Colossus deals 6 damage to each creature and each player. diff --git a/forge-gui/res/cardsfolder/b/borrowing_the_east_wind.txt b/forge-gui/res/cardsfolder/b/borrowing_the_east_wind.txt index 3b970cf2659..ab4a613082a 100644 --- a/forge-gui/res/cardsfolder/b/borrowing_the_east_wind.txt +++ b/forge-gui/res/cardsfolder/b/borrowing_the_east_wind.txt @@ -1,7 +1,7 @@ Name:Borrowing the East Wind ManaCost:X G G Types:Sorcery -A:SP$ DamageAll | Cost$ X G G | ValidCards$ Creature.withHorsemanship | ValidPlayers$ Each | NumDmg$ X | ValidDescription$ each creature with horsemanship and each player. | References$ X | SpellDescription$ CARDNAME deals X damage to each creature with horsemanship and each player. +A:SP$ DamageAll | Cost$ X G G | ValidCards$ Creature.withHorsemanship | ValidPlayers$ Player | NumDmg$ X | ValidDescription$ each creature with horsemanship and each player. | References$ X | SpellDescription$ CARDNAME deals X damage to each creature with horsemanship and each player. SVar:X:Count$xPaid SVar:RemAIDeck:True SVar:Picture:http://serv3.tcgimages.eu/img/cards/Portal_Three_Kingdoms/borrowing_the_east_wind.jpg diff --git a/forge-gui/res/cardsfolder/b/breath_of_darigaaz.txt b/forge-gui/res/cardsfolder/b/breath_of_darigaaz.txt index 40968e7c990..c9d38de3f59 100644 --- a/forge-gui/res/cardsfolder/b/breath_of_darigaaz.txt +++ b/forge-gui/res/cardsfolder/b/breath_of_darigaaz.txt @@ -2,7 +2,7 @@ Name:Breath of Darigaaz ManaCost:1 R Types:Sorcery K:Kicker 2 -A:SP$ DamageAll | Cost$ 1 R | ValidCards$ Creature.withoutFlying | ValidPlayers$ Each | NumDmg$ WasKicked | References$ WasKicked | SpellDescription$ CARDNAME deals 1 damage to each creature without flying and each player. If CARDNAME was kicked, it deals 4 damage to each creature without flying and each player instead. +A:SP$ DamageAll | Cost$ 1 R | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | NumDmg$ WasKicked | References$ WasKicked | SpellDescription$ CARDNAME deals 1 damage to each creature without flying and each player. If CARDNAME was kicked, it deals 4 damage to each creature without flying and each player instead. SVar:WasKicked:Count$Kicked.4.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/breath_of_darigaaz.jpg Oracle:Kicker {2} (You may pay an additional {2} as you cast this spell.)\nBreath of Darigaaz deals 1 damage to each creature without flying and each player. If Breath of Darigaaz was kicked, it deals 4 damage to each creature without flying and each player instead. diff --git a/forge-gui/res/cardsfolder/b/burning_inquiry.txt b/forge-gui/res/cardsfolder/b/burning_inquiry.txt index 08d98f54ed5..3d3b9bcb631 100644 --- a/forge-gui/res/cardsfolder/b/burning_inquiry.txt +++ b/forge-gui/res/cardsfolder/b/burning_inquiry.txt @@ -1,7 +1,7 @@ Name:Burning Inquiry ManaCost:R Types:Sorcery -A:SP$ Draw | Cost$ R | Defined$ Each | NumCards$ 3 | SubAbility$ DBDiscard3 | SpellDescription$ Each player draws three cards, then discards three cards at random. -SVar:DBDiscard3:DB$Discard | Defined$ Each | Mode$ Random | NumCards$ 3 +A:SP$ Draw | Cost$ R | Defined$ Player | NumCards$ 3 | SubAbility$ DBDiscard3 | SpellDescription$ Each player draws three cards, then discards three cards at random. +SVar:DBDiscard3:DB$Discard | Defined$ Player | Mode$ Random | NumCards$ 3 SVar:Picture:http://www.wizards.com/global/images/magic/general/burning_inquiry.jpg Oracle:Each player draws three cards, then discards three cards at random. diff --git a/forge-gui/res/cardsfolder/c/canopy_surge.txt b/forge-gui/res/cardsfolder/c/canopy_surge.txt index 1085e79e999..885a52cc896 100644 --- a/forge-gui/res/cardsfolder/c/canopy_surge.txt +++ b/forge-gui/res/cardsfolder/c/canopy_surge.txt @@ -2,7 +2,7 @@ Name:Canopy Surge ManaCost:1 G Types:Sorcery K:Kicker 2 -A:SP$ DamageAll | Cost$ 1 G | ValidCards$ Creature.withFlying | ValidPlayers$ Each | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals 1 damage to each creature with flying and each player. If CARDNAME was kicked, it deals 4 damage to each creature with flying and each player instead. +A:SP$ DamageAll | Cost$ 1 G | ValidCards$ Creature.withFlying | ValidPlayers$ Player | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals 1 damage to each creature with flying and each player. If CARDNAME was kicked, it deals 4 damage to each creature with flying and each player instead. SVar:X:Count$Kicked.4.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/canopy_surge.jpg Oracle:Kicker {2} (You may pay an additional {2} as you cast this spell.)\nCanopy Surge deals 1 damage to each creature with flying and each player. If Canopy Surge was kicked, it deals 4 damage to each creature with flying and each player instead. diff --git a/forge-gui/res/cardsfolder/c/caustic_hound.txt b/forge-gui/res/cardsfolder/c/caustic_hound.txt index 5b412a7a73b..7a3eec2d5c0 100644 --- a/forge-gui/res/cardsfolder/c/caustic_hound.txt +++ b/forge-gui/res/cardsfolder/c/caustic_hound.txt @@ -3,6 +3,6 @@ ManaCost:5 B Types:Creature Hound PT:4/4 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigLoseLife | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, each player loses 4 life. -SVar:TrigLoseLife:AB$LoseLife | Cost$ 0 | LifeAmount$ 4 | Defined$ Each +SVar:TrigLoseLife:AB$LoseLife | Cost$ 0 | LifeAmount$ 4 | Defined$ Player SVar:Picture:http://www.wizards.com/global/images/magic/general/caustic_hound.jpg Oracle:When Caustic Hound dies, each player loses 4 life. diff --git a/forge-gui/res/cardsfolder/c/cave_in.txt b/forge-gui/res/cardsfolder/c/cave_in.txt index 976c4651604..5465fc8fffe 100644 --- a/forge-gui/res/cardsfolder/c/cave_in.txt +++ b/forge-gui/res/cardsfolder/c/cave_in.txt @@ -1,7 +1,7 @@ Name:Cave-In ManaCost:3 R R Types:Sorcery -A:SP$ DamageAll | Cost$ 3 R R | NumDmg$ 2 | ValidCards$ Creature | ValidPlayers$ Each | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 2 damage to each creature and each player. +A:SP$ DamageAll | Cost$ 3 R R | NumDmg$ 2 | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 2 damage to each creature and each player. SVar:AltCost:Cost$ ExileFromHand<1/Card.Red> | Description$ You may exile a red card from your hand rather than pay Cave-In's mana cost. SVar:Picture:http://www.wizards.com/global/images/magic/general/cave_in.jpg Oracle:You may exile a red card from your hand rather than pay Cave-In's mana cost.\nCave-In deals 2 damage to each creature and each player. diff --git a/forge-gui/res/cardsfolder/c/chandra_ablaze.txt b/forge-gui/res/cardsfolder/c/chandra_ablaze.txt index d72cb6fb838..95967c29eeb 100644 --- a/forge-gui/res/cardsfolder/c/chandra_ablaze.txt +++ b/forge-gui/res/cardsfolder/c/chandra_ablaze.txt @@ -5,8 +5,8 @@ Loyalty:5 A:AB$ Discard | Cost$ AddCounter<1/LOYALTY> | Mode$ TgtChoose | NumCards$ 1 | Defined$ You | Planeswalker$ True | RememberDiscarded$ True | SubAbility$ DBChandraDealDamage | SpellDescription$ Discard a card. If a red card is discarded this way, CARDNAME deals 4 damage to target creature or player. SVar:DBChandraDealDamage:DB$ DealDamage | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 4 | ConditionDefined$ Remembered | ConditionPresent$ Card.Red | ConditionCompare$ EQ1 | SubAbility$ DBChandraCleanup SVar:DBChandraCleanup:DB$ Cleanup | ClearRemembered$ True -A:AB$ Discard | Cost$ SubCounter<2/LOYALTY> | Mode$ Hand | Defined$ Each | Planeswalker$ True | SubAbility$ DBChandraDraw | SpellDescription$ Each player discards his or her hand, then draws three cards. -SVar:DBChandraDraw:DB$ Draw | Defined$ Each | NumCards$ 3 +A:AB$ Discard | Cost$ SubCounter<2/LOYALTY> | Mode$ Hand | Defined$ Player | Planeswalker$ True | SubAbility$ DBChandraDraw | SpellDescription$ Each player discards his or her hand, then draws three cards. +SVar:DBChandraDraw:DB$ Draw | Defined$ Player | NumCards$ 3 A:AB$ Play | Cost$ SubCounter<7/LOYALTY> | Valid$ Instant.Red+YouCtrl,Sorcery.Red+YouCtrl | ValidZone$ Graveyard | WithoutManaCost$ True | Planeswalker$ True | Ultimate$ True | Amount$ ChandraX | Controller$ You | Optional$ True | References$ ChandraX | SpellDescription$ Cast any number of red instant and/or sorcery cards from your graveyard without paying their mana costs. SVar:ChandraX:Count$ValidGraveyard Instant.Red+YouOwn,Sorcery.Red+YouOwn SVar:RemAIDeck:True diff --git a/forge-gui/res/cardsfolder/c/chill_of_foreboding.txt b/forge-gui/res/cardsfolder/c/chill_of_foreboding.txt index 0a61c39ac7f..51cfd6a9906 100644 --- a/forge-gui/res/cardsfolder/c/chill_of_foreboding.txt +++ b/forge-gui/res/cardsfolder/c/chill_of_foreboding.txt @@ -2,7 +2,7 @@ Name:Chill of Foreboding ManaCost:2 U Types:Sorcery K:Flashback 7 U -A:SP$ Mill | Cost$ 2 U | NumCards$ 5 | Defined$ Each | SpellDescription$ Each player puts the top five cards of his or her library into his or her graveyard. +A:SP$ Mill | Cost$ 2 U | NumCards$ 5 | Defined$ Player | SpellDescription$ Each player puts the top five cards of his or her library into his or her graveyard. SVar:RemRandomDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/chill_of_foreboding.jpg Oracle:Each player puts the top five cards of his or her library into his or her graveyard.\nFlashback {7}{U} (You may cast this card from your graveyard for its flashback cost. Then exile it.) diff --git a/forge-gui/res/cardsfolder/c/claws_of_wirewood.txt b/forge-gui/res/cardsfolder/c/claws_of_wirewood.txt index ee0281626d1..185c57c93bf 100644 --- a/forge-gui/res/cardsfolder/c/claws_of_wirewood.txt +++ b/forge-gui/res/cardsfolder/c/claws_of_wirewood.txt @@ -1,7 +1,7 @@ Name:Claws of Wirewood ManaCost:3 G Types:Sorcery -A:SP$ DamageAll | Cost$ 3 G | NumDmg$ 3 | ValidCards$ Creature.withFlying | ValidPlayers$ Each | ValidDescription$ each creature with flying and each player. | SpellDescription$ CARDNAME deals 3 damage to each creature with flying and each player. +A:SP$ DamageAll | Cost$ 3 G | NumDmg$ 3 | ValidCards$ Creature.withFlying | ValidPlayers$ Player | ValidDescription$ each creature with flying and each player. | SpellDescription$ CARDNAME deals 3 damage to each creature with flying and each player. K:Cycling:2 SVar:Picture:http://www.wizards.com/global/images/magic/general/claws_of_wirewood.jpg Oracle:Claws of Wirewood deals 3 damage to each creature with flying and each player.\nCycling {2} ({2}, Discard this card: Draw a card.) diff --git a/forge-gui/res/cardsfolder/c/clear_the_land.txt b/forge-gui/res/cardsfolder/c/clear_the_land.txt index d38a4a0340b..050d2a701a8 100644 --- a/forge-gui/res/cardsfolder/c/clear_the_land.txt +++ b/forge-gui/res/cardsfolder/c/clear_the_land.txt @@ -1,7 +1,7 @@ Name:Clear the Land ManaCost:2 G Types:Sorcery -A:SP$ Dig | Cost$ 2 G | DigNum$ 5 | Defined$ Each | Reveal$ True | ChangeNum$ All | ChangeValid$ Land | DestinationZone$ Battlefield | Tapped$ True | DestinationZone2$ Exile | SpellDescription$ Each player reveals the top five cards of his or her library, puts all land cards revealed this way onto the battlefield tapped, and exiles the rest. +A:SP$ Dig | Cost$ 2 G | DigNum$ 5 | Defined$ Player | Reveal$ True | ChangeNum$ All | ChangeValid$ Land | DestinationZone$ Battlefield | Tapped$ True | DestinationZone2$ Exile | SpellDescription$ Each player reveals the top five cards of his or her library, puts all land cards revealed this way onto the battlefield tapped, and exiles the rest. SVar:RemRandomDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/clear_the_land.jpg Oracle:Each player reveals the top five cards of his or her library, puts all land cards revealed this way onto the battlefield tapped, and exiles the rest. diff --git a/forge-gui/res/cardsfolder/c/cloudthresher.txt b/forge-gui/res/cardsfolder/c/cloudthresher.txt index 2fc5231249d..98c825e46e3 100644 --- a/forge-gui/res/cardsfolder/c/cloudthresher.txt +++ b/forge-gui/res/cardsfolder/c/cloudthresher.txt @@ -6,7 +6,7 @@ K:Flash K:Reach T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDamageAllFlyersAndPlayers | TriggerDescription$ When CARDNAME enters the battlefield, it deals 2 damage to each creature with flying and each player. K:Evoke:2 G G -SVar:TrigDamageAllFlyersAndPlayers:DB$ DamageAll | Cost$ 0 | ValidCards$ Creature.withFlying | ValidPlayers$ Each | NumDmg$ 2 | ValidDescription$ each creature with flying and each player. +SVar:TrigDamageAllFlyersAndPlayers:DB$ DamageAll | Cost$ 0 | ValidCards$ Creature.withFlying | ValidPlayers$ Player | NumDmg$ 2 | ValidDescription$ each creature with flying and each player. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self+evoked | Execute$ TrigSac | Secondary$ True | TriggerDescription$ When CARDNAME enters the battlefield, if you cast it by it's evoke cost, sacrifice it. SVar:TrigSac:AB$ Sacrifice | Cost$ 0 SVar:Picture:http://www.wizards.com/global/images/magic/general/cloudthresher.jpg diff --git a/forge-gui/res/cardsfolder/c/coalhauler_swine.txt b/forge-gui/res/cardsfolder/c/coalhauler_swine.txt index fb8cdc0e07e..862423b72bc 100644 --- a/forge-gui/res/cardsfolder/c/coalhauler_swine.txt +++ b/forge-gui/res/cardsfolder/c/coalhauler_swine.txt @@ -3,7 +3,7 @@ ManaCost:4 R R Types:Creature Boar Beast PT:4/4 T:Mode$ DamageDone | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to each player. -SVar:TrigDamage:AB$ DealDamage | Cost$ 0 | NumDmg$ X | Defined$ Each | References$ X +SVar:TrigDamage:AB$ DealDamage | Cost$ 0 | NumDmg$ X | Defined$ Player | References$ X SVar:X:TriggerCount$DamageAmount SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/coalhauler_swine.jpg diff --git a/forge-gui/res/cardsfolder/c/collective_voyage.txt b/forge-gui/res/cardsfolder/c/collective_voyage.txt index 71878c81441..b88c4162327 100644 --- a/forge-gui/res/cardsfolder/c/collective_voyage.txt +++ b/forge-gui/res/cardsfolder/c/collective_voyage.txt @@ -4,7 +4,7 @@ Types:Sorcery A:SP$ RepeatEach | Cost$ G | RepeatPlayers$ Player | StartingWithActivator$ True | RepeatSubAbility$ DBPay | SubAbility$ DBSearch | StackDescription$ SpellDescription | SpellDescription$ Join forces - Starting with you, each player may pay any amount of mana. Each player searches his or her library for up to X basic land cards, where X is the total amount of mana paid this way, puts them onto the battlefield tapped, then shuffles his or her library. SVar:DBPay:DB$ ChooseNumber | Defined$ Player.IsRemembered | ChooseAnyNumber$ True | ListTitle$ Pay Any Mana | SubAbility$ DBStore SVar:DBStore:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ CountSVar | Expression$ JoinForcesAmount/Plus.X | UnlessCost$ X | UnlessPayer$ Player.IsRemembered | UnlessSwitched$ True | UnlessAI$ OnlyOwn | References$ X,JoinForcesAmount -SVar:DBSearch:DB$ ChangeZone | DefinedPlayer$ Each | ChangeType$ Land.Basic | ChangeNum$ JoinForcesAmount | Origin$ Library | Destination$ Battlefield | Tapped$ True | SubAbility$ DBReset | References$ JoinForcesAmount | StackDescription$ None +SVar:DBSearch:DB$ ChangeZone | DefinedPlayer$ Player | ChangeType$ Land.Basic | ChangeNum$ JoinForcesAmount | Origin$ Library | Destination$ Battlefield | Tapped$ True | SubAbility$ DBReset | References$ JoinForcesAmount | StackDescription$ None SVar:DBReset:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ Number | Expression$ 0 | References$ JoinForcesAmount SVar:X:Count$ChosenNumber SVar:JoinForcesAmount:Number$0 diff --git a/forge-gui/res/cardsfolder/c/crack_the_earth.txt b/forge-gui/res/cardsfolder/c/crack_the_earth.txt index 2c3b1da95fa..7a72ff285a6 100644 --- a/forge-gui/res/cardsfolder/c/crack_the_earth.txt +++ b/forge-gui/res/cardsfolder/c/crack_the_earth.txt @@ -1,7 +1,7 @@ Name:Crack the Earth ManaCost:R Types:Sorcery Arcane -A:SP$ Sacrifice | Cost$ R | SacValid$ Permanent | Defined$ Each | SpellDescription$ Each player sacrifices a permanent. +A:SP$ Sacrifice | Cost$ R | SacValid$ Permanent | Defined$ Player | SpellDescription$ Each player sacrifices a permanent. SVar:RemRandomDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/crack_the_earth.jpg Oracle:Each player sacrifices a permanent. diff --git a/forge-gui/res/cardsfolder/c/crypt_rats.txt b/forge-gui/res/cardsfolder/c/crypt_rats.txt index d675309e308..89b89adb90a 100644 --- a/forge-gui/res/cardsfolder/c/crypt_rats.txt +++ b/forge-gui/res/cardsfolder/c/crypt_rats.txt @@ -2,7 +2,7 @@ Name:Crypt Rats ManaCost:2 B Types:Creature Rat PT:1/1 -A:AB$ DamageAll | Cost$ X | XColor$ B | NumDmg$ X | ValidCards$ Creature | ValidPlayers$ Each | References$ X | ValidDescription$ each creature and each player. | SpellDescription$ Crypt Rats deals X damage to each creature and each player. Spend only black mana on X. +A:AB$ DamageAll | Cost$ X | XColor$ B | NumDmg$ X | ValidCards$ Creature | ValidPlayers$ Player | References$ X | ValidDescription$ each creature and each player. | SpellDescription$ Crypt Rats deals X damage to each creature and each player. Spend only black mana on X. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/crypt_rats.jpg Oracle:{X}: Crypt Rats deals X damage to each creature and each player. Spend only black mana on X. diff --git a/forge-gui/res/cardsfolder/c/cunning_lethemancer.txt b/forge-gui/res/cardsfolder/c/cunning_lethemancer.txt index 1cc4157f142..078f238bde8 100644 --- a/forge-gui/res/cardsfolder/c/cunning_lethemancer.txt +++ b/forge-gui/res/cardsfolder/c/cunning_lethemancer.txt @@ -3,6 +3,6 @@ ManaCost:2 B Types:Creature Human Wizard PT:2/2 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDiscard | TriggerDescription$ At the beginning of your upkeep, each player discards a card. -SVar:TrigDiscard:AB$Discard | Cost$ 0 | Defined$ Each | NumCards$ 1 | Mode$ TgtChoose +SVar:TrigDiscard:AB$Discard | Cost$ 0 | Defined$ Player | NumCards$ 1 | Mode$ TgtChoose SVar:Picture:http://www.wizards.com/global/images/magic/general/cunning_lethemancer.jpg Oracle:At the beginning of your upkeep, each player discards a card. diff --git a/forge-gui/res/cardsfolder/c/cyclone.txt b/forge-gui/res/cardsfolder/c/cyclone.txt index 9052f21c221..3b0435f23c3 100644 --- a/forge-gui/res/cardsfolder/c/cyclone.txt +++ b/forge-gui/res/cardsfolder/c/cyclone.txt @@ -4,7 +4,7 @@ Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a wind counter on CARDNAME, then sacrifice CARDNAME unless you pay {G} for each wind counter on it. If you pay, CARDNAME deals damage equal to the number of wind counters on it to each creature and each player. SVar:TrigPutCounter:AB$ PutCounter | Cost$ 0 | Defined$ Self | CounterType$ WIND | CounterNum$ 1 | SubAbility$ SacSelf SVar:SacSelf:DB$ Sacrifice | Defined$ Card.Self | UnlessCost$ X | UnlessXColor$ G | UnlessPayer$ You | UnlessResolveSubs$ WhenPaid | SubAbility$ DBDamageAll | References$ X -SVar:DBDamageAll:DB$ DamageAll | NumDmg$ X | ValidCards$ Creature | ValidPlayers$ Each | References$ X +SVar:DBDamageAll:DB$ DamageAll | NumDmg$ X | ValidCards$ Creature | ValidPlayers$ Player | References$ X SVar:X:Count$CardCounters.WIND SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/cyclone.jpg diff --git a/forge-gui/res/cardsfolder/d/dakmor_plague.txt b/forge-gui/res/cardsfolder/d/dakmor_plague.txt index 18f009ccbed..6f36b9484b6 100644 --- a/forge-gui/res/cardsfolder/d/dakmor_plague.txt +++ b/forge-gui/res/cardsfolder/d/dakmor_plague.txt @@ -1,6 +1,6 @@ Name:Dakmor Plague ManaCost:3 B B Types:Sorcery -A:SP$ DamageAll | Cost$ 3 B B | NumDmg$ 3 | ValidCards$ Creature | ValidPlayers$ Each | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 3 damage to each creature and each player. +A:SP$ DamageAll | Cost$ 3 B B | NumDmg$ 3 | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 3 damage to each creature and each player. SVar:Picture:http://serv3.tcgimages.eu/img/cards/Portal_Second_Age/dakmor_plague.jpg Oracle:Dakmor Plague deals 3 damage to each creature and each player. diff --git a/forge-gui/res/cardsfolder/d/dakra_mystic.txt b/forge-gui/res/cardsfolder/d/dakra_mystic.txt index 69d22aa8c81..450be0ba516 100644 --- a/forge-gui/res/cardsfolder/d/dakra_mystic.txt +++ b/forge-gui/res/cardsfolder/d/dakra_mystic.txt @@ -2,9 +2,9 @@ Name:Dakra Mystic ManaCost:U Types:Creature Merfolk Wizard PT:1/1 -A:AB$ Dig | Cost$ U T | DigNum$ 1 | Defined$ Each | Reveal$ True | NoMove$ True | RememberRevealed$ True | SubAbility$ DBMill | SpellDescription$ Each player reveals the top card of his or her library. You may put the revealed cards into their owners' graveyards. If you don't, each player draws a card. +A:AB$ Dig | Cost$ U T | DigNum$ 1 | Defined$ Player | Reveal$ True | NoMove$ True | RememberRevealed$ True | SubAbility$ DBMill | SpellDescription$ Each player reveals the top card of his or her library. You may put the revealed cards into their owners' graveyards. If you don't, each player draws a card. SVar:DBMill:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Graveyard | Optional$ True | Imprint$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ Each | NumCards$ 1 | ConditionDefined$ Imprinted | ConditionPresent$ Card | ConditionCompare$ EQ0 | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | Defined$ Player | NumCards$ 1 | ConditionDefined$ Imprinted | ConditionPresent$ Card | ConditionCompare$ EQ0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/dakra_mystic.jpg diff --git a/forge-gui/res/cardsfolder/d/days_undoing.txt b/forge-gui/res/cardsfolder/d/days_undoing.txt index b970a46a229..bc3a65e31d7 100644 --- a/forge-gui/res/cardsfolder/d/days_undoing.txt +++ b/forge-gui/res/cardsfolder/d/days_undoing.txt @@ -2,7 +2,7 @@ Name:Day's Undoing ManaCost:2 U Types:Sorcery A:SP$ ChangeZoneAll | Cost$ 2 U | ChangeType$ Card | Origin$ Hand,Graveyard | Destination$ Library | Shuffle$ True | Random$ True | SubAbility$ DBDraw | UseAllOriginZones$ True | SpellDescription$ Each player shuffles his or her graveyard and hand into his or her library, then draws seven cards. If it's your turn, end the turn. (Exile all spells and abilities on the stack, including this card. Discard down to your maximum hand size. Damage wears off, and "this turn" and "until end of turn" effects end.) -SVar:DBDraw:DB$ Draw | NumCards$ 7 | Defined$ Each | SubAbility$ DBEnd +SVar:DBDraw:DB$ Draw | NumCards$ 7 | Defined$ Player | SubAbility$ DBEnd SVar:DBEnd:DB$ EndTurn | ConditionPlayerTurn$ True SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/days_undoing.jpg diff --git a/forge-gui/res/cardsfolder/d/death_cloud.txt b/forge-gui/res/cardsfolder/d/death_cloud.txt index 57e43a84c0b..c7f78139fc2 100644 --- a/forge-gui/res/cardsfolder/d/death_cloud.txt +++ b/forge-gui/res/cardsfolder/d/death_cloud.txt @@ -1,10 +1,10 @@ Name:Death Cloud ManaCost:X B B B Types:Sorcery -A:SP$ LoseLife | Cost$ X B B B | Defined$ Each | LifeAmount$ X | References$ X | SpellDescription$ Each player loses X life, discards X cards, sacrifices X creatures, then sacrifices X lands. | SubAbility$ DBDiscard -SVar:DBDiscard:DB$Discard | NumCards$ X | Mode$ TgtChoose | Defined$ Each | SubAbility$ DBSacCreature | References$ X -SVar:DBSacCreature:DB$Sacrifice | Amount$ X | SacValid$ Creature | Defined$ Each | SubAbility$ DBSacLand | References$ X -SVar:DBSacLand:DB$Sacrifice | Amount$ X | SacValid$ Land | Defined$ Each | References$ X +A:SP$ LoseLife | Cost$ X B B B | Defined$ Player | LifeAmount$ X | References$ X | SpellDescription$ Each player loses X life, discards X cards, sacrifices X creatures, then sacrifices X lands. | SubAbility$ DBDiscard +SVar:DBDiscard:DB$Discard | NumCards$ X | Mode$ TgtChoose | Defined$ Player | SubAbility$ DBSacCreature | References$ X +SVar:DBSacCreature:DB$Sacrifice | Amount$ X | SacValid$ Creature | Defined$ Player | SubAbility$ DBSacLand | References$ X +SVar:DBSacLand:DB$Sacrifice | Amount$ X | SacValid$ Land | Defined$ Player | References$ X SVar:X:Count$xPaid SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/death_cloud.jpg diff --git a/forge-gui/res/cardsfolder/d/deathcurse_ogre.txt b/forge-gui/res/cardsfolder/d/deathcurse_ogre.txt index 220c1839203..7f67502f85c 100644 --- a/forge-gui/res/cardsfolder/d/deathcurse_ogre.txt +++ b/forge-gui/res/cardsfolder/d/deathcurse_ogre.txt @@ -3,6 +3,6 @@ ManaCost:5 B Types:Creature Ogre Warrior PT:3/3 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigLoseLife | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, each player loses 3 life. -SVar:TrigLoseLife:AB$LoseLife | Cost$ 0 | LifeAmount$ 3 | Defined$ Each +SVar:TrigLoseLife:AB$LoseLife | Cost$ 0 | LifeAmount$ 3 | Defined$ Player SVar:Picture:http://www.wizards.com/global/images/magic/general/deathcurse_ogre.jpg Oracle:When Deathcurse Ogre dies, each player loses 3 life. diff --git a/forge-gui/res/cardsfolder/d/demonic_attorney.txt b/forge-gui/res/cardsfolder/d/demonic_attorney.txt index 5359758873d..c9fc7b59201 100644 --- a/forge-gui/res/cardsfolder/d/demonic_attorney.txt +++ b/forge-gui/res/cardsfolder/d/demonic_attorney.txt @@ -2,7 +2,7 @@ Name:Demonic Attorney ManaCost:1 B B Types:Sorcery K:Remove CARDNAME from your deck before playing if you're not playing for ante. -A:SP$ Mill | Cost$ 1 B B | Defined$ Each | NumCards$ 1 | Destination$ Ante | SpellDescription$ Each player antes the top card of his or her library. +A:SP$ Mill | Cost$ 1 B B | Defined$ Player | NumCards$ 1 | Destination$ Ante | SpellDescription$ Each player antes the top card of his or her library. SVar:RemAIDeck:True SVar:RemRandomDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/demonic_attorney.jpg diff --git a/forge-gui/res/cardsfolder/d/destructive_force.txt b/forge-gui/res/cardsfolder/d/destructive_force.txt index eb9ab9a5ed0..10cd0f2af3f 100644 --- a/forge-gui/res/cardsfolder/d/destructive_force.txt +++ b/forge-gui/res/cardsfolder/d/destructive_force.txt @@ -1,7 +1,7 @@ Name:Destructive Force ManaCost:5 R R Types:Sorcery -A:SP$ Sacrifice | Cost$ 5 R R | Defined$ Each | SacValid$ Land | Amount$ 5 | SpellDescription$ Each player sacrifices five lands. CARDNAME deals 5 damage to each creature. | SubAbility$ DBDamage +A:SP$ Sacrifice | Cost$ 5 R R | Defined$ Player | SacValid$ Land | Amount$ 5 | SpellDescription$ Each player sacrifices five lands. CARDNAME deals 5 damage to each creature. | SubAbility$ DBDamage SVar:DBDamage:DB$ DamageAll | NumDmg$ 5 | ValidCards$ Creature SVar:RemRandomDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/destructive_force.jpg diff --git a/forge-gui/res/cardsfolder/d/devastate.txt b/forge-gui/res/cardsfolder/d/devastate.txt index 91218f89114..45d1523899a 100644 --- a/forge-gui/res/cardsfolder/d/devastate.txt +++ b/forge-gui/res/cardsfolder/d/devastate.txt @@ -2,6 +2,6 @@ Name:Devastate ManaCost:3 R R Types:Sorcery A:SP$ Destroy | Cost$ 3 R R | ValidTgts$ Land | TgtPrompt$ Select target land. | SubAbility$ DBDamageAll | SpellDescription$ Destroy target land. CARDNAME deals 1 damage to each creature and each player. -SVar:DBDamageAll:DB$DamageAll | NumDmg$ 1 | ValidCards$ Creature | ValidPlayers$ Each | ValidDescription$ each creature and each player. +SVar:DBDamageAll:DB$DamageAll | NumDmg$ 1 | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. SVar:Picture:http://www.wizards.com/global/images/magic/general/devastate.jpg Oracle:Destroy target land. Devastate deals 1 damage to each creature and each player. diff --git a/forge-gui/res/cardsfolder/d/devastating_dreams.txt b/forge-gui/res/cardsfolder/d/devastating_dreams.txt index 88f032bb3f4..b35b2b311d6 100644 --- a/forge-gui/res/cardsfolder/d/devastating_dreams.txt +++ b/forge-gui/res/cardsfolder/d/devastating_dreams.txt @@ -1,7 +1,7 @@ Name:Devastating Dreams ManaCost:R R Types:Sorcery -A:SP$ Sacrifice | Cost$ R R Discard | Defined$ Each | SacValid$ Land | Amount$ ChosenX | SubAbility$ DBDamage | References$ X | SpellDescription$ Each player sacrifices X lands. CARDNAME deals X damage to each creature. +A:SP$ Sacrifice | Cost$ R R Discard | Defined$ Player | SacValid$ Land | Amount$ ChosenX | SubAbility$ DBDamage | References$ X | SpellDescription$ Each player sacrifices X lands. CARDNAME deals X damage to each creature. SVar:DBDamage:DB$ DamageAll | NumDmg$ ChosenX | ValidCards$ Creature | References$ X SVar:X:XChoice SVar:RemAIDeck:True diff --git a/forge-gui/res/cardsfolder/d/diminishing_returns.txt b/forge-gui/res/cardsfolder/d/diminishing_returns.txt index 07eec93112c..da60961d14d 100644 --- a/forge-gui/res/cardsfolder/d/diminishing_returns.txt +++ b/forge-gui/res/cardsfolder/d/diminishing_returns.txt @@ -3,7 +3,7 @@ ManaCost:2 U U Types:Sorcery A:SP$ ChangeZoneAll | Cost$ 2 U U | ChangeType$ Card | Origin$ Graveyard,Hand | Destination$ Library | Shuffle$ True | Random$ True | SubAbility$ DBExile | UseAllOriginZones$ True | SpellDescription$ Each player shuffles his or her hand and graveyard into his or her library. SVar:DBExile:DB$ Mill | Defined$ You | NumCards$ 10 | Destination$ Exile | SubAbility$ DBDraw | SpellDescription$ You exile the top ten cards of your library. -SVar:DBDraw:DB$ Draw | Defined$ Each | NumCards$ 7 | SpellDescription$ Then each player draws up to seven cards. +SVar:DBDraw:DB$ Draw | Defined$ Player | NumCards$ 7 | SpellDescription$ Then each player draws up to seven cards. SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/diminishing_returns.jpg Oracle:Each player shuffles his or her hand and graveyard into his or her library. You exile the top ten cards of your library. Then each player draws up to seven cards. diff --git a/forge-gui/res/cardsfolder/d/dry_spell.txt b/forge-gui/res/cardsfolder/d/dry_spell.txt index 63afff3d1ae..9fe87077309 100644 --- a/forge-gui/res/cardsfolder/d/dry_spell.txt +++ b/forge-gui/res/cardsfolder/d/dry_spell.txt @@ -1,6 +1,6 @@ Name:Dry Spell ManaCost:1 B Types:Sorcery -A:SP$ DamageAll | Cost$ 1 B | NumDmg$ 1 | ValidCards$ Creature | ValidPlayers$ Each | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 1 damage to each creature and each player. +A:SP$ DamageAll | Cost$ 1 B | NumDmg$ 1 | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 1 damage to each creature and each player. SVar:Picture:http://www.wizards.com/global/images/magic/general/dry_spell.jpg Oracle:Dry Spell deals 1 damage to each creature and each player. diff --git a/forge-gui/res/cardsfolder/e/earsplitting_rats.txt b/forge-gui/res/cardsfolder/e/earsplitting_rats.txt index d614e1a5ec4..67ae3d0beb2 100644 --- a/forge-gui/res/cardsfolder/e/earsplitting_rats.txt +++ b/forge-gui/res/cardsfolder/e/earsplitting_rats.txt @@ -4,7 +4,7 @@ Types:Creature Rat PT:2/1 A:AB$ Regenerate | Cost$ Discard<1/Card> | SpellDescription$ Regenerate CARDNAME. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDiscard | TriggerDescription$ When CARDNAME enters the battlefield, each player discards a card. -SVar:TrigDiscard:AB$Discard | Cost$ 0 | Defined$ Each | NumCards$ 1 | Mode$ TgtChoose +SVar:TrigDiscard:AB$Discard | Cost$ 0 | Defined$ Player | NumCards$ 1 | Mode$ TgtChoose SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/earsplitting_rats.jpg Oracle:When Earsplitting Rats enters the battlefield, each player discards a card.\nDiscard a card: Regenerate Earsplitting Rats. diff --git a/forge-gui/res/cardsfolder/e/earthquake.txt b/forge-gui/res/cardsfolder/e/earthquake.txt index 2b948ab8489..1dd79a4870a 100644 --- a/forge-gui/res/cardsfolder/e/earthquake.txt +++ b/forge-gui/res/cardsfolder/e/earthquake.txt @@ -1,7 +1,7 @@ Name:Earthquake ManaCost:X R Types:Sorcery -A:SP$ DamageAll | Cost$ X R | ValidCards$ Creature.withoutFlying | ValidPlayers$ Each | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each creature without flying and each player. +A:SP$ DamageAll | Cost$ X R | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each creature without flying and each player. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/earthquake.jpg Oracle:Earthquake deals X damage to each creature without flying and each player. diff --git a/forge-gui/res/cardsfolder/e/ember_swallower.txt b/forge-gui/res/cardsfolder/e/ember_swallower.txt index 22a75e85946..8327dfb1467 100644 --- a/forge-gui/res/cardsfolder/e/ember_swallower.txt +++ b/forge-gui/res/cardsfolder/e/ember_swallower.txt @@ -4,6 +4,6 @@ Types:Creature Elemental PT:4/5 K:Monstrosity 3:5 R R T:Mode$ BecomeMonstrous | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ When CARDNAME becomes monstrous, each player sacrifices three lands. -SVar:TrigSac:AB$ Sacrifice | Cost$ 0 | Defined$ Each | SacValid$ Land | Amount$ 3 +SVar:TrigSac:AB$ Sacrifice | Cost$ 0 | Defined$ Player | SacValid$ Land | Amount$ 3 SVar:Picture:http://www.wizards.com/global/images/magic/general/ember_swallower.jpg Oracle:{5}{R}{R}: Monstrosity 3. (If this creature isn't monstrous, put three +1/+1 counters on it and it becomes monstrous.)\nWhen Ember Swallower becomes monstrous, each player sacrifices three lands. diff --git a/forge-gui/res/cardsfolder/e/evincars_justice.txt b/forge-gui/res/cardsfolder/e/evincars_justice.txt index 7c4d7d128b3..695146427fc 100644 --- a/forge-gui/res/cardsfolder/e/evincars_justice.txt +++ b/forge-gui/res/cardsfolder/e/evincars_justice.txt @@ -1,7 +1,7 @@ Name:Evincar's Justice ManaCost:2 B B Types:Sorcery -A:SP$ DamageAll | Cost$ 2 B B | NumDmg$ 2 | ValidCards$ Creature | ValidPlayers$ Each | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 2 damage to each creature and each player. +A:SP$ DamageAll | Cost$ 2 B B | NumDmg$ 2 | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 2 damage to each creature and each player. K:Buyback 3 SVar:Picture:http://www.wizards.com/global/images/magic/general/evincars_justice.jpg Oracle:Buyback {3} (You may pay an additional {3} as you cast this spell. If you do, put this card into your hand as it resolves.)\nEvincar's Justice deals 2 damage to each creature and each player. diff --git a/forge-gui/res/cardsfolder/e/extract_from_darkness.txt b/forge-gui/res/cardsfolder/e/extract_from_darkness.txt index 710131cea56..5556eca2955 100644 --- a/forge-gui/res/cardsfolder/e/extract_from_darkness.txt +++ b/forge-gui/res/cardsfolder/e/extract_from_darkness.txt @@ -1,7 +1,7 @@ Name:Extract from Darkness ManaCost:3 U B Types:Sorcery -A:SP$ Mill | Cost$ 3 U B | NumCards$ 2 | Defined$ Each | SubAbility$ DBChoose | SpellDescription$ Each player puts the top two cards of his or her library into his or her graveyard. Then put a creature card from a graveyard onto the battlefield under your control. +A:SP$ Mill | Cost$ 3 U B | NumCards$ 2 | Defined$ Player | SubAbility$ DBChoose | SpellDescription$ Each player puts the top two cards of his or her library into his or her graveyard. Then put a creature card from a graveyard onto the battlefield under your control. SVar:DBChoose:DB$ ChooseCard | Defined$ You | Choices$ Creature | ChoiceZone$ Graveyard | Mandatory$ True | SubAbility$ DBReturn SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | Defined$ ChosenCard | GainControl$ True SVar:RemRandomDeck:True diff --git a/forge-gui/res/cardsfolder/f/famine.txt b/forge-gui/res/cardsfolder/f/famine.txt index 9f12209b079..3ac74658fb3 100644 --- a/forge-gui/res/cardsfolder/f/famine.txt +++ b/forge-gui/res/cardsfolder/f/famine.txt @@ -1,6 +1,6 @@ Name:Famine ManaCost:3 B B Types:Sorcery -A:SP$ DamageAll | Cost$ 3 B B | NumDmg$ 3 | ValidCards$ Creature | ValidPlayers$ Each | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 3 damage to each creature and each player. +A:SP$ DamageAll | Cost$ 3 B B | NumDmg$ 3 | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 3 damage to each creature and each player. SVar:Picture:http://www.wizards.com/global/images/magic/general/famine.jpg Oracle:Famine deals 3 damage to each creature and each player. diff --git a/forge-gui/res/cardsfolder/f/fascination.txt b/forge-gui/res/cardsfolder/f/fascination.txt index 92b1b3998f4..f0cd0ddd33e 100644 --- a/forge-gui/res/cardsfolder/f/fascination.txt +++ b/forge-gui/res/cardsfolder/f/fascination.txt @@ -2,8 +2,8 @@ Name:Fascination ManaCost:X U U Types:Sorcery A:SP$ Charm | Cost$ X U U | Choices$ DBDraw,DBMill | SpellDescription$ Choose one - Each player draws X cards; Each player puts the top X cards of his or her library into his or her graveyard. -SVar:DBDraw:DB$ Draw | Defined$ Each | NumCards$ X | References$ X | SpellDescription$ Each player draws X cards. -SVar:DBMill:DB$ Mill | Defined$ Each | NumCards$ X | References$ X | SpellDescription$ Each player puts the top X cards of his or her library into his or her graveyard. +SVar:DBDraw:DB$ Draw | Defined$ Player | NumCards$ X | References$ X | SpellDescription$ Each player draws X cards. +SVar:DBMill:DB$ Mill | Defined$ Player | NumCards$ X | References$ X | SpellDescription$ Each player puts the top X cards of his or her library into his or her graveyard. SVar:X:Count$xPaid SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/fascination.jpg diff --git a/forge-gui/res/cardsfolder/f/fault_line.txt b/forge-gui/res/cardsfolder/f/fault_line.txt index 1291f90679d..cc7620733da 100644 --- a/forge-gui/res/cardsfolder/f/fault_line.txt +++ b/forge-gui/res/cardsfolder/f/fault_line.txt @@ -1,7 +1,7 @@ Name:Fault Line ManaCost:X R R Types:Instant -A:SP$ DamageAll | Cost$ X R R | ValidCards$ Creature.withoutFlying | ValidPlayers$ Each | NumDmg$ X | ValidDescription$ each creature without flying and each player. | References$ X | SpellDescription$ CARDNAME deals X damage to each creature without flying and each player. +A:SP$ DamageAll | Cost$ X R R | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | NumDmg$ X | ValidDescription$ each creature without flying and each player. | References$ X | SpellDescription$ CARDNAME deals X damage to each creature without flying and each player. SVar:X:Count$xPaid SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/fault_line.jpg diff --git a/forge-gui/res/cardsfolder/f/festering_evil.txt b/forge-gui/res/cardsfolder/f/festering_evil.txt index 43a00808784..70254950790 100644 --- a/forge-gui/res/cardsfolder/f/festering_evil.txt +++ b/forge-gui/res/cardsfolder/f/festering_evil.txt @@ -2,7 +2,7 @@ Name:Festering Evil ManaCost:3 B B Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDamageAll | TriggerDescription$ At the beginning of your upkeep, CARDNAME deals 1 damage to each creature and each player. -A:AB$ DamageAll | Cost$ B B Sac<1/CARDNAME> | ValidCards$ Creature | ValidPlayers$ Each | NumDmg$ 3 | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 3 damage to each creature and each player. -SVar:TrigDamageAll:AB$DamageAll | Cost$ 0 | ValidCards$ Creature | ValidPlayers$ Each | NumDmg$ 1 | ValidDescription$ each creature and each player. +A:AB$ DamageAll | Cost$ B B Sac<1/CARDNAME> | ValidCards$ Creature | ValidPlayers$ Player | NumDmg$ 3 | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 3 damage to each creature and each player. +SVar:TrigDamageAll:AB$DamageAll | Cost$ 0 | ValidCards$ Creature | ValidPlayers$ Player | NumDmg$ 1 | ValidDescription$ each creature and each player. SVar:Picture:http://www.wizards.com/global/images/magic/general/festering_evil.jpg Oracle:At the beginning of your upkeep, Festering Evil deals 1 damage to each creature and each player.\n{B}{B}, Sacrifice Festering Evil: Festering Evil deals 3 damage to each creature and each player. diff --git a/forge-gui/res/cardsfolder/f/fire_tempest.txt b/forge-gui/res/cardsfolder/f/fire_tempest.txt index c6e3c64733c..821f7562a14 100644 --- a/forge-gui/res/cardsfolder/f/fire_tempest.txt +++ b/forge-gui/res/cardsfolder/f/fire_tempest.txt @@ -1,6 +1,6 @@ Name:Fire Tempest ManaCost:5 R R Types:Sorcery -A:SP$ DamageAll | Cost$ 5 R R | NumDmg$ 6 | ValidCards$ Creature | ValidPlayers$ Each | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 6 damage to each creature and each player. +A:SP$ DamageAll | Cost$ 5 R R | NumDmg$ 6 | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 6 damage to each creature and each player. SVar:Picture:http://serv1.tcgimages.eu/img/cards/Portal/fire_tempest.jpg Oracle:Fire Tempest deals 6 damage to each creature and each player. diff --git a/forge-gui/res/cardsfolder/f/flame_rift.txt b/forge-gui/res/cardsfolder/f/flame_rift.txt index c86b9c062e1..873f3b68cb8 100644 --- a/forge-gui/res/cardsfolder/f/flame_rift.txt +++ b/forge-gui/res/cardsfolder/f/flame_rift.txt @@ -1,6 +1,6 @@ Name:Flame Rift ManaCost:1 R Types:Sorcery -A:SP$ DamageAll | Cost$ 1 R | NumDmg$ 4 | ValidPlayers$ Each | ValidDescription$ each player. | SpellDescription$ CARDNAME deals 4 damage to each player. +A:SP$ DamageAll | Cost$ 1 R | NumDmg$ 4 | ValidPlayers$ Player | ValidDescription$ each player. | SpellDescription$ CARDNAME deals 4 damage to each player. SVar:Picture:http://www.wizards.com/global/images/magic/general/flame_rift.jpg Oracle:Flame Rift deals 4 damage to each player. diff --git a/forge-gui/res/cardsfolder/f/flamebreak.txt b/forge-gui/res/cardsfolder/f/flamebreak.txt index 9939ffdabef..14e6295aa3b 100644 --- a/forge-gui/res/cardsfolder/f/flamebreak.txt +++ b/forge-gui/res/cardsfolder/f/flamebreak.txt @@ -1,7 +1,7 @@ Name:Flamebreak ManaCost:R R R Types:Sorcery -A:SP$ DamageAll | Cost$ R R R | ValidCards$ Creature.withoutFlying | ValidPlayers$ Each | NumDmg$ 3 | RememberDamagedCreature$ True | SubAbility$ DBNoRegen | SpellDescription$ CARDNAME deals 3 damage to each creature without flying and each player. Creatures dealt damage this way can't be regenerated this turn. | StackDescription$ SpellDescription +A:SP$ DamageAll | Cost$ R R R | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | NumDmg$ 3 | RememberDamagedCreature$ True | SubAbility$ DBNoRegen | SpellDescription$ CARDNAME deals 3 damage to each creature without flying and each player. Creatures dealt damage this way can't be regenerated this turn. | StackDescription$ SpellDescription SVar:DBNoRegen:DB$Pump | KW$ HIDDEN CARDNAME can't be regenerated. | Defined$ Remembered | StackDescription$ None SVar:Picture:http://www.wizards.com/global/images/magic/general/flamebreak.jpg Oracle:Flamebreak deals 3 damage to each creature without flying and each player. Creatures dealt damage this way can't be regenerated this turn. diff --git a/forge-gui/res/cardsfolder/f/fleshbag_marauder.txt b/forge-gui/res/cardsfolder/f/fleshbag_marauder.txt index f110911ce94..5ed57bbaddf 100644 --- a/forge-gui/res/cardsfolder/f/fleshbag_marauder.txt +++ b/forge-gui/res/cardsfolder/f/fleshbag_marauder.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Creature Zombie Warrior PT:3/1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSac | TriggerDescription$ When CARDNAME enters the battlefield, each player sacrifices a creature. -SVar:TrigSac:AB$ Sacrifice | Cost$ 0 | Defined$ Each | SacValid$ Creature +SVar:TrigSac:AB$ Sacrifice | Cost$ 0 | Defined$ Player | SacValid$ Creature SVar:NeedsToPlay:Creature.YouDontCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/fleshbag_marauder.jpg Oracle:When Fleshbag Marauder enters the battlefield, each player sacrifices a creature. diff --git a/forge-gui/res/cardsfolder/g/gangrenous_zombies.txt b/forge-gui/res/cardsfolder/g/gangrenous_zombies.txt index 7b7fe0cde20..5b0f01a3aa8 100644 --- a/forge-gui/res/cardsfolder/g/gangrenous_zombies.txt +++ b/forge-gui/res/cardsfolder/g/gangrenous_zombies.txt @@ -2,7 +2,7 @@ Name:Gangrenous Zombies ManaCost:1 B B Types:Creature Zombie PT:2/2 -A:AB$ DamageAll | Cost$ T Sac<1/CARDNAME> | ValidCards$ Creature | ValidPlayers$ Each | NumDmg$ X | References$ X,Y | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 1 damage to each creature and each player. If you control a snow Swamp, CARDNAME deals 2 damage to each creature and each player instead. +A:AB$ DamageAll | Cost$ T Sac<1/CARDNAME> | ValidCards$ Creature | ValidPlayers$ Player | NumDmg$ X | References$ X,Y | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 1 damage to each creature and each player. If you control a snow Swamp, CARDNAME deals 2 damage to each creature and each player instead. SVar:X:Count$Compare Y EQ0.1.2 SVar:Y:Count$Valid Swamp.Snow+YouCtrl SVar:RemAIDeck:True diff --git a/forge-gui/res/cardsfolder/g/ghoulcallers_bell.txt b/forge-gui/res/cardsfolder/g/ghoulcallers_bell.txt index 874ebde6fd0..d4da9df7b6a 100644 --- a/forge-gui/res/cardsfolder/g/ghoulcallers_bell.txt +++ b/forge-gui/res/cardsfolder/g/ghoulcallers_bell.txt @@ -1,7 +1,7 @@ Name:Ghoulcaller's Bell ManaCost:1 Types:Artifact -A:AB$ Mill | Cost$ T | NumCards$ 1 | Defined$ Each | SpellDescription$ Each player puts the top card of his or her library into his or her graveyard. +A:AB$ Mill | Cost$ T | NumCards$ 1 | Defined$ Player | SpellDescription$ Each player puts the top card of his or her library into his or her graveyard. SVar:RemRandomDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/ghoulcallers_bell.jpg Oracle:{T}: Each player puts the top card of his or her library into his or her graveyard. diff --git a/forge-gui/res/cardsfolder/g/goblin_game.txt b/forge-gui/res/cardsfolder/g/goblin_game.txt index b5299f83049..d69c40f9105 100644 --- a/forge-gui/res/cardsfolder/g/goblin_game.txt +++ b/forge-gui/res/cardsfolder/g/goblin_game.txt @@ -1,7 +1,7 @@ Name:Goblin Game ManaCost:5 R R Types:Sorcery -A:SP$ ChooseNumber | Defined$ Each | Cost$ 5 R R | Min$ 1 | SecretlyChoose$ True | ChooseNumberSubAbility$ DBLoseLife | Lowest$ DBLoseHalfLife | AILogic$ LowestLoseLife | SpellDescription$ Each player hides at least one item, then all players reveal them simultaneously. Each player loses life equal to the number of items he or she revealed. The player who revealed the fewest items then loses half his or her life, rounded up. If two or more players are tied for fewest, each loses half his or her life, rounded up. +A:SP$ ChooseNumber | Defined$ Player | Cost$ 5 R R | Min$ 1 | SecretlyChoose$ True | ChooseNumberSubAbility$ DBLoseLife | Lowest$ DBLoseHalfLife | AILogic$ LowestLoseLife | SpellDescription$ Each player hides at least one item, then all players reveal them simultaneously. Each player loses life equal to the number of items he or she revealed. The player who revealed the fewest items then loses half his or her life, rounded up. If two or more players are tied for fewest, each loses half his or her life, rounded up. SVar:DBLoseLife:DB$ LoseLife | Defined$ Remembered | References$ X | LifeAmount$ X SVar:X:Count$ChosenNumber SVar:DBLoseHalfLife:DB$ LoseLife | Defined$ Remembered | References$ Y | LifeAmount$ Y diff --git a/forge-gui/src/main/java/forge/card/CardScriptParser.java b/forge-gui/src/main/java/forge/card/CardScriptParser.java index fbdc8655aba..67917a28104 100644 --- a/forge-gui/src/main/java/forge/card/CardScriptParser.java +++ b/forge-gui/src/main/java/forge/card/CardScriptParser.java @@ -327,7 +327,7 @@ public final class CardScriptParser { "ImprintedOwner", "EnchantedController", "EnchantedOwner", "EnchantedPlayer", "AttackingPlayer", "DefendingPlayer", "ChosenPlayer", "ChosenAndYou", "SourceController", "CardOwner", - "ActivePlayer", "You", "Each", "Opponent"); + "ActivePlayer", "You", "Opponent"); /** * Defined starting strings for players. */