- Convert "Each" Parameter to "Player" when used with Valid or Defined (A-G)

This commit is contained in:
Sol
2016-02-04 16:29:06 +00:00
parent c1042506c8
commit 2a5ae66753
62 changed files with 78 additions and 83 deletions

View File

@@ -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 // TODO: if damage is dependant on mana paid, maybe have X be human's max life
// Don't kill yourself // 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; return false;
} }
@@ -73,7 +73,7 @@ public class DamageAllAi extends SpellAbilityAi {
} }
// if we can kill human, do it // 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))) { && (opp.getLife() <= ComputerUtilCombat.predictDamageTo(opp, dmg, source, false))) {
return true; return true;
} }
@@ -134,12 +134,12 @@ public class DamageAllAi extends SpellAbilityAi {
computerList.clear(); computerList.clear();
} }
// Don't get yourself killed // 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; return false;
} }
// if we can kill human, do it // 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))) { && (enemy.getLife() <= ComputerUtilCombat.predictDamageTo(enemy, dmg, source, false))) {
return true; return true;
} }
@@ -156,16 +156,14 @@ public class DamageAllAi extends SpellAbilityAi {
* <p> * <p>
* getKillableCreatures. * getKillableCreatures.
* </p> * </p>
* *
* @param af
* a {@link forge.game.ability.AbilityFactory} object.
* @param sa * @param sa
* a {@link forge.game.spellability.SpellAbility} object. * a {@link forge.game.spellability.SpellAbility} object.
* @param player * @param player
* a {@link forge.game.player.Player} object. * a {@link forge.game.player.Player} object.
* @param dmg * @param dmg
* a int. * 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) { private CardCollection getKillableCreatures(final SpellAbility sa, final Player player, final int dmg) {
final Card source = sa.getHostCard(); final Card source = sa.getHostCard();
@@ -223,12 +221,12 @@ public class DamageAllAi extends SpellAbilityAi {
return true; return true;
} }
// Don't get yourself killed // 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; return false;
} }
// if we can kill human, do it // 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))) { && (enemy.getLife() <= ComputerUtilCombat.predictDamageTo(enemy, dmg, source, false))) {
return true; return true;
} }

View File

@@ -77,7 +77,7 @@ public class LifeSetAi extends SpellAbilityAi {
} }
} }
} else { } else {
if (sa.hasParam("Each") && sa.getParam("Defined").equals("Each")) { if (sa.getParam("Defined").equals("Player")) {
if (amount == 0) { if (amount == 0) {
return false; return false;
} else if (myLife > amount) { // will decrease computer's } else if (myLife > amount) { // will decrease computer's

View File

@@ -111,7 +111,7 @@ public class SacrificeAi extends SpellAbilityAi {
final String valid = sa.getParam("SacValid"); final String valid = sa.getParam("SacValid");
if (defined == null) { if (defined == null) {
// Self Sacrifice. // 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: // If Sacrifice hits both players:
// Only cast it if Human has the full amount of valid // Only cast it if Human has the full amount of valid
// Only cast it if AI doesn't have the full amount of Valid // Only cast it if AI doesn't have the full amount of Valid

View File

@@ -684,7 +684,7 @@ public class AbilityUtils {
* a card type * a card type
* @param sa * @param sa
* a SpellAbility * 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) { public static CardCollectionView filterListByType(final CardCollectionView list, String type, final SpellAbility sa) {
if (type == null) { if (type == null) {
@@ -1098,9 +1098,6 @@ public class AbilityUtils {
else if (defined.equals("You")) { else if (defined.equals("You")) {
players.add(sa.getActivatingPlayer()); players.add(sa.getActivatingPlayer());
} }
else if (defined.equals("Each")) {
players.addAll(game.getPlayersInTurnOrder());
}
else if (defined.equals("Opponent")) { else if (defined.equals("Opponent")) {
players.add(sa.getActivatingPlayer().getOpponent()); players.add(sa.getActivatingPlayer().getOpponent());
} }
@@ -1415,7 +1412,7 @@ public class AbilityUtils {
* @param s * @param s
* a {@link java.lang.String} object. * a {@link java.lang.String} object.
* @param ctb * @param ctb
* a {@link forge.SpellAbility} object. * a {@link forge.game.CardTraitBase} object.
* @return a int. * @return a int.
*/ */
public static int xCount(final Card c, final String s, final CardTraitBase ctb) { public static int xCount(final Card c, final String s, final CardTraitBase ctb) {

View File

@@ -3,6 +3,6 @@ ManaCost:1 B
Types:Creature Horror Types:Creature Horror
PT:1/1 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. 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 SVar:Picture:http://www.wizards.com/global/images/magic/general/abyssal_gatekeeper.jpg
Oracle:When Abyssal Gatekeeper dies, each player sacrifices a creature. Oracle:When Abyssal Gatekeeper dies, each player sacrifices a creature.

View File

@@ -3,6 +3,6 @@ ManaCost:1 R
Types:Creature Goblin Shaman Types:Creature Goblin Shaman
PT:1/1 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. 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 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. Oracle:When Akki Blizzard-Herder dies, each player sacrifices a land.

View File

@@ -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. 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: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: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:DBReset:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ Number | Expression$ 0 | References$ JoinForcesAmount
SVar:X:Count$ChosenNumber SVar:X:Count$ChosenNumber
SVar:JoinForcesAmount:Number$0 SVar:JoinForcesAmount:Number$0

View File

@@ -3,6 +3,6 @@ ManaCost:3 B B
Types:Legendary Creature Vampire Shaman Types:Legendary Creature Vampire Shaman
PT:4/3 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. 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 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. Oracle:At the beginning of your upkeep, each player sacrifices a non-Vampire creature.

View File

@@ -4,7 +4,7 @@ Types:Creature Giant Wizard
PT:5/5 PT:5/5
K:Vigilance 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. 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:X:PlayerCountPlayers$HighestLifeTotal
SVar:Picture:http://www.wizards.com/global/images/magic/general/arbiter_of_knollridge.jpg 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. Oracle:Vigilance\nWhen Arbiter of Knollridge enters the battlefield, each player's life total becomes the highest life total among all players.

View File

@@ -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$ 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. 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. 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:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ DOOM | CounterNum$ 1
SVar:X:Count$CardCounters.DOOM SVar:X:Count$CardCounters.DOOM
SVar:RemAIDeck:True SVar:RemAIDeck:True

View File

@@ -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. 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: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: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:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:AshlingNum:Number$0 SVar:AshlingNum:Number$0
SVar:X:Count$RememberedSize SVar:X:Count$RememberedSize

View File

@@ -2,6 +2,6 @@ Name:Ashling the Pilgrim Avatar
ManaCost:no cost ManaCost:no cost
Types:Vanguard Types:Vanguard
HandLifeModifier:-1/+6 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 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. Oracle:Hand -1, life +6\n{2}: Ashling the Pilgrim Avatar deals 1 damage to each creature and each player.

View File

@@ -1,7 +1,7 @@
Name:Barter in Blood Name:Barter in Blood
ManaCost:2 B B ManaCost:2 B B
Types:Sorcery 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:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/barter_in_blood.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/barter_in_blood.jpg
Oracle:Each player sacrifices two creatures. Oracle:Each player sacrifices two creatures.

View File

@@ -2,6 +2,6 @@ Name:Blockbuster
ManaCost:3 R R ManaCost:3 R R
Types:Enchantment Types:Enchantment
PT:6/6 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 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. Oracle:{1}{R}, Sacrifice Blockbuster: Blockbuster deals 3 damage to each tapped creature and each player.

View File

@@ -4,6 +4,6 @@ Types:Creature Harpy
PT:2/1 PT:2/1
K:Flying 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. 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 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. Oracle:Flying\nWhen Blood-Toll Harpy enters the battlefield, each player loses 1 life.

View File

@@ -5,7 +5,7 @@ PT:5/5
K:Flying K:Flying
K:Trample 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. 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 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. 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 SVar:TrigCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 5

View File

@@ -2,6 +2,6 @@ Name:Bloodfire Colossus
ManaCost:6 R R ManaCost:6 R R
Types:Creature Giant Types:Creature Giant
PT:6/6 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 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. Oracle:{R}, Sacrifice Bloodfire Colossus: Bloodfire Colossus deals 6 damage to each creature and each player.

View File

@@ -1,7 +1,7 @@
Name:Borrowing the East Wind Name:Borrowing the East Wind
ManaCost:X G G ManaCost:X G G
Types:Sorcery 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:X:Count$xPaid
SVar:RemAIDeck:True SVar:RemAIDeck:True
SVar:Picture:http://serv3.tcgimages.eu/img/cards/Portal_Three_Kingdoms/borrowing_the_east_wind.jpg SVar:Picture:http://serv3.tcgimages.eu/img/cards/Portal_Three_Kingdoms/borrowing_the_east_wind.jpg

View File

@@ -2,7 +2,7 @@ Name:Breath of Darigaaz
ManaCost:1 R ManaCost:1 R
Types:Sorcery Types:Sorcery
K:Kicker 2 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:WasKicked:Count$Kicked.4.1
SVar:Picture:http://www.wizards.com/global/images/magic/general/breath_of_darigaaz.jpg 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. 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.

View File

@@ -1,7 +1,7 @@
Name:Burning Inquiry Name:Burning Inquiry
ManaCost:R ManaCost:R
Types:Sorcery 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. 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$ Each | Mode$ Random | NumCards$ 3 SVar:DBDiscard3:DB$Discard | Defined$ Player | Mode$ Random | NumCards$ 3
SVar:Picture:http://www.wizards.com/global/images/magic/general/burning_inquiry.jpg 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. Oracle:Each player draws three cards, then discards three cards at random.

View File

@@ -2,7 +2,7 @@ Name:Canopy Surge
ManaCost:1 G ManaCost:1 G
Types:Sorcery Types:Sorcery
K:Kicker 2 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:X:Count$Kicked.4.1
SVar:Picture:http://www.wizards.com/global/images/magic/general/canopy_surge.jpg 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. 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.

View File

@@ -3,6 +3,6 @@ ManaCost:5 B
Types:Creature Hound Types:Creature Hound
PT:4/4 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. 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 SVar:Picture:http://www.wizards.com/global/images/magic/general/caustic_hound.jpg
Oracle:When Caustic Hound dies, each player loses 4 life. Oracle:When Caustic Hound dies, each player loses 4 life.

View File

@@ -1,7 +1,7 @@
Name:Cave-In Name:Cave-In
ManaCost:3 R R ManaCost:3 R R
Types:Sorcery 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: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 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. 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.

View File

@@ -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. 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: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 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. 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$ Each | NumCards$ 3 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. 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:ChandraX:Count$ValidGraveyard Instant.Red+YouOwn,Sorcery.Red+YouOwn
SVar:RemAIDeck:True SVar:RemAIDeck:True

View File

@@ -2,7 +2,7 @@ Name:Chill of Foreboding
ManaCost:2 U ManaCost:2 U
Types:Sorcery Types:Sorcery
K:Flashback 7 U 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:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/chill_of_foreboding.jpg 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.) 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.)

View File

@@ -1,7 +1,7 @@
Name:Claws of Wirewood Name:Claws of Wirewood
ManaCost:3 G ManaCost:3 G
Types:Sorcery 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 K:Cycling:2
SVar:Picture:http://www.wizards.com/global/images/magic/general/claws_of_wirewood.jpg 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.) Oracle:Claws of Wirewood deals 3 damage to each creature with flying and each player.\nCycling {2} ({2}, Discard this card: Draw a card.)

View File

@@ -1,7 +1,7 @@
Name:Clear the Land Name:Clear the Land
ManaCost:2 G ManaCost:2 G
Types:Sorcery 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:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/clear_the_land.jpg 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. 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.

View File

@@ -6,7 +6,7 @@ K:Flash
K:Reach 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. 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 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. 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:TrigSac:AB$ Sacrifice | Cost$ 0
SVar:Picture:http://www.wizards.com/global/images/magic/general/cloudthresher.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/cloudthresher.jpg

View File

@@ -3,7 +3,7 @@ ManaCost:4 R R
Types:Creature Boar Beast Types:Creature Boar Beast
PT:4/4 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. 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:X:TriggerCount$DamageAmount
SVar:RemAIDeck:True SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/coalhauler_swine.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/coalhauler_swine.jpg

View File

@@ -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. 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: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: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:DBReset:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ Number | Expression$ 0 | References$ JoinForcesAmount
SVar:X:Count$ChosenNumber SVar:X:Count$ChosenNumber
SVar:JoinForcesAmount:Number$0 SVar:JoinForcesAmount:Number$0

View File

@@ -1,7 +1,7 @@
Name:Crack the Earth Name:Crack the Earth
ManaCost:R ManaCost:R
Types:Sorcery Arcane 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:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/crack_the_earth.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/crack_the_earth.jpg
Oracle:Each player sacrifices a permanent. Oracle:Each player sacrifices a permanent.

View File

@@ -2,7 +2,7 @@ Name:Crypt Rats
ManaCost:2 B ManaCost:2 B
Types:Creature Rat Types:Creature Rat
PT:1/1 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:X:Count$xPaid
SVar:Picture:http://www.wizards.com/global/images/magic/general/crypt_rats.jpg 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. Oracle:{X}: Crypt Rats deals X damage to each creature and each player. Spend only black mana on X.

View File

@@ -3,6 +3,6 @@ ManaCost:2 B
Types:Creature Human Wizard Types:Creature Human Wizard
PT:2/2 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. 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 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. Oracle:At the beginning of your upkeep, each player discards a card.

View File

@@ -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. 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: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: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:X:Count$CardCounters.WIND
SVar:RemAIDeck:True SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/cyclone.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/cyclone.jpg

View File

@@ -1,6 +1,6 @@
Name:Dakmor Plague Name:Dakmor Plague
ManaCost:3 B B ManaCost:3 B B
Types:Sorcery 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 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. Oracle:Dakmor Plague deals 3 damage to each creature and each player.

View File

@@ -2,9 +2,9 @@ Name:Dakra Mystic
ManaCost:U ManaCost:U
Types:Creature Merfolk Wizard Types:Creature Merfolk Wizard
PT:1/1 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: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:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True
SVar:RemAIDeck:True SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/dakra_mystic.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/dakra_mystic.jpg

View File

@@ -2,7 +2,7 @@ Name:Day's Undoing
ManaCost:2 U ManaCost:2 U
Types:Sorcery 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.) 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:DBEnd:DB$ EndTurn | ConditionPlayerTurn$ True
SVar:RemAIDeck:True SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/days_undoing.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/days_undoing.jpg

View File

@@ -1,10 +1,10 @@
Name:Death Cloud Name:Death Cloud
ManaCost:X B B B ManaCost:X B B B
Types:Sorcery 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 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$ Each | SubAbility$ DBSacCreature | References$ X SVar:DBDiscard:DB$Discard | NumCards$ X | Mode$ TgtChoose | Defined$ Player | SubAbility$ DBSacCreature | References$ X
SVar:DBSacCreature:DB$Sacrifice | Amount$ X | SacValid$ Creature | Defined$ Each | SubAbility$ DBSacLand | 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$ Each | References$ X SVar:DBSacLand:DB$Sacrifice | Amount$ X | SacValid$ Land | Defined$ Player | References$ X
SVar:X:Count$xPaid SVar:X:Count$xPaid
SVar:RemAIDeck:True SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/death_cloud.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/death_cloud.jpg

View File

@@ -3,6 +3,6 @@ ManaCost:5 B
Types:Creature Ogre Warrior Types:Creature Ogre Warrior
PT:3/3 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. 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 SVar:Picture:http://www.wizards.com/global/images/magic/general/deathcurse_ogre.jpg
Oracle:When Deathcurse Ogre dies, each player loses 3 life. Oracle:When Deathcurse Ogre dies, each player loses 3 life.

View File

@@ -2,7 +2,7 @@ Name:Demonic Attorney
ManaCost:1 B B ManaCost:1 B B
Types:Sorcery Types:Sorcery
K:Remove CARDNAME from your deck before playing if you're not playing for ante. 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:RemAIDeck:True
SVar:RemRandomDeck:True SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/demonic_attorney.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/demonic_attorney.jpg

View File

@@ -1,7 +1,7 @@
Name:Destructive Force Name:Destructive Force
ManaCost:5 R R ManaCost:5 R R
Types:Sorcery 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:DBDamage:DB$ DamageAll | NumDmg$ 5 | ValidCards$ Creature
SVar:RemRandomDeck:True SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/destructive_force.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/destructive_force.jpg

View File

@@ -2,6 +2,6 @@ Name:Devastate
ManaCost:3 R R ManaCost:3 R R
Types:Sorcery 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. 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 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. Oracle:Destroy target land. Devastate deals 1 damage to each creature and each player.

View File

@@ -1,7 +1,7 @@
Name:Devastating Dreams Name:Devastating Dreams
ManaCost:R R ManaCost:R R
Types:Sorcery Types:Sorcery
A:SP$ Sacrifice | Cost$ R R Discard<X/Random> | 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<X/Random> | 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:DBDamage:DB$ DamageAll | NumDmg$ ChosenX | ValidCards$ Creature | References$ X
SVar:X:XChoice SVar:X:XChoice
SVar:RemAIDeck:True SVar:RemAIDeck:True

View File

@@ -3,7 +3,7 @@ ManaCost:2 U U
Types:Sorcery 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. 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: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:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/diminishing_returns.jpg 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. 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.

View File

@@ -1,6 +1,6 @@
Name:Dry Spell Name:Dry Spell
ManaCost:1 B ManaCost:1 B
Types:Sorcery 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 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. Oracle:Dry Spell deals 1 damage to each creature and each player.

View File

@@ -4,7 +4,7 @@ Types:Creature Rat
PT:2/1 PT:2/1
A:AB$ Regenerate | Cost$ Discard<1/Card> | SpellDescription$ Regenerate CARDNAME. 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. 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:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/earsplitting_rats.jpg 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. Oracle:When Earsplitting Rats enters the battlefield, each player discards a card.\nDiscard a card: Regenerate Earsplitting Rats.

View File

@@ -1,7 +1,7 @@
Name:Earthquake Name:Earthquake
ManaCost:X R ManaCost:X R
Types:Sorcery 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:X:Count$xPaid
SVar:Picture:http://www.wizards.com/global/images/magic/general/earthquake.jpg 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. Oracle:Earthquake deals X damage to each creature without flying and each player.

View File

@@ -4,6 +4,6 @@ Types:Creature Elemental
PT:4/5 PT:4/5
K:Monstrosity 3:5 R R 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. 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 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. 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.

View File

@@ -1,7 +1,7 @@
Name:Evincar's Justice Name:Evincar's Justice
ManaCost:2 B B ManaCost:2 B B
Types:Sorcery 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 K:Buyback 3
SVar:Picture:http://www.wizards.com/global/images/magic/general/evincars_justice.jpg 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. 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.

View File

@@ -1,7 +1,7 @@
Name:Extract from Darkness Name:Extract from Darkness
ManaCost:3 U B ManaCost:3 U B
Types:Sorcery 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: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:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | Defined$ ChosenCard | GainControl$ True
SVar:RemRandomDeck:True SVar:RemRandomDeck:True

View File

@@ -1,6 +1,6 @@
Name:Famine Name:Famine
ManaCost:3 B B ManaCost:3 B B
Types:Sorcery 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 SVar:Picture:http://www.wizards.com/global/images/magic/general/famine.jpg
Oracle:Famine deals 3 damage to each creature and each player. Oracle:Famine deals 3 damage to each creature and each player.

View File

@@ -2,8 +2,8 @@ Name:Fascination
ManaCost:X U U ManaCost:X U U
Types:Sorcery 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. 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:DBDraw:DB$ Draw | Defined$ Player | 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: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:X:Count$xPaid
SVar:RemAIDeck:True SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/fascination.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/fascination.jpg

View File

@@ -1,7 +1,7 @@
Name:Fault Line Name:Fault Line
ManaCost:X R R ManaCost:X R R
Types:Instant 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:X:Count$xPaid
SVar:RemAIDeck:True SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/fault_line.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/fault_line.jpg

View File

@@ -2,7 +2,7 @@ Name:Festering Evil
ManaCost:3 B B ManaCost:3 B B
Types:Enchantment 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. 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. 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$ Each | NumDmg$ 1 | ValidDescription$ 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 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. 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.

View File

@@ -1,6 +1,6 @@
Name:Fire Tempest Name:Fire Tempest
ManaCost:5 R R ManaCost:5 R R
Types:Sorcery 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 SVar:Picture:http://serv1.tcgimages.eu/img/cards/Portal/fire_tempest.jpg
Oracle:Fire Tempest deals 6 damage to each creature and each player. Oracle:Fire Tempest deals 6 damage to each creature and each player.

View File

@@ -1,6 +1,6 @@
Name:Flame Rift Name:Flame Rift
ManaCost:1 R ManaCost:1 R
Types:Sorcery 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 SVar:Picture:http://www.wizards.com/global/images/magic/general/flame_rift.jpg
Oracle:Flame Rift deals 4 damage to each player. Oracle:Flame Rift deals 4 damage to each player.

View File

@@ -1,7 +1,7 @@
Name:Flamebreak Name:Flamebreak
ManaCost:R R R ManaCost:R R R
Types:Sorcery 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: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 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. Oracle:Flamebreak deals 3 damage to each creature without flying and each player. Creatures dealt damage this way can't be regenerated this turn.

View File

@@ -3,7 +3,7 @@ ManaCost:2 B
Types:Creature Zombie Warrior Types:Creature Zombie Warrior
PT:3/1 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. 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:NeedsToPlay:Creature.YouDontCtrl
SVar:Picture:http://www.wizards.com/global/images/magic/general/fleshbag_marauder.jpg 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. Oracle:When Fleshbag Marauder enters the battlefield, each player sacrifices a creature.

View File

@@ -2,7 +2,7 @@ Name:Gangrenous Zombies
ManaCost:1 B B ManaCost:1 B B
Types:Creature Zombie Types:Creature Zombie
PT:2/2 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:X:Count$Compare Y EQ0.1.2
SVar:Y:Count$Valid Swamp.Snow+YouCtrl SVar:Y:Count$Valid Swamp.Snow+YouCtrl
SVar:RemAIDeck:True SVar:RemAIDeck:True

View File

@@ -1,7 +1,7 @@
Name:Ghoulcaller's Bell Name:Ghoulcaller's Bell
ManaCost:1 ManaCost:1
Types:Artifact 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:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/ghoulcallers_bell.jpg 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. Oracle:{T}: Each player puts the top card of his or her library into his or her graveyard.

View File

@@ -1,7 +1,7 @@
Name:Goblin Game Name:Goblin Game
ManaCost:5 R R ManaCost:5 R R
Types:Sorcery 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:DBLoseLife:DB$ LoseLife | Defined$ Remembered | References$ X | LifeAmount$ X
SVar:X:Count$ChosenNumber SVar:X:Count$ChosenNumber
SVar:DBLoseHalfLife:DB$ LoseLife | Defined$ Remembered | References$ Y | LifeAmount$ Y SVar:DBLoseHalfLife:DB$ LoseLife | Defined$ Remembered | References$ Y | LifeAmount$ Y

View File

@@ -327,7 +327,7 @@ public final class CardScriptParser {
"ImprintedOwner", "EnchantedController", "EnchantedOwner", "ImprintedOwner", "EnchantedController", "EnchantedOwner",
"EnchantedPlayer", "AttackingPlayer", "DefendingPlayer", "EnchantedPlayer", "AttackingPlayer", "DefendingPlayer",
"ChosenPlayer", "ChosenAndYou", "SourceController", "CardOwner", "ChosenPlayer", "ChosenAndYou", "SourceController", "CardOwner",
"ActivePlayer", "You", "Each", "Opponent"); "ActivePlayer", "You", "Opponent");
/** /**
* Defined starting strings for players. * Defined starting strings for players.
*/ */