Merge branch 'staticDamageToReplace' into 'master'

Replacement Effect instead of StaticDamage

See merge request core-developers/forge!332
This commit is contained in:
swordshine
2018-04-12 00:43:22 +00:00
71 changed files with 158 additions and 144 deletions

View File

@@ -54,5 +54,8 @@ public class CleanUpEffect extends SpellAbilityEffect {
if (sa.hasParam("ClearChosenType")) {
source.setChosenType("");
}
if (sa.hasParam("ClearChosenColor")) {
source.setChosenColors(null);
}
}
}

View File

@@ -775,8 +775,6 @@ public class CombatUtil {
final CardCollection attackersWithLure = new CardCollection();
for (final Card attacker : attackers) {
if (attacker.hasStartOfKeyword("All creatures able to block CARDNAME do so.")
|| (attacker.hasStartOfKeyword("All Walls able to block CARDNAME do so.") && blocker.getType().hasSubtype("Wall"))
|| (attacker.hasStartOfKeyword("All creatures with flying able to block CARDNAME do so.") && blocker.hasKeyword("Flying"))
|| (attacker.hasStartOfKeyword("CARDNAME must be blocked if able.")
&& combat.getBlockers(attacker).isEmpty())) {
attackersWithLure.add(attacker);
@@ -792,6 +790,14 @@ public class CombatUtil {
break;
}
}
// MustBeBlockedByAll:<valid>
if (keyword.startsWith("MustBeBlockedByAll")) {
final String valid = keyword.split(":")[1];
if (blocker.isValid(valid, null, null, null)) {
attackersWithLure.add(attacker);
break;
}
}
}
}
}
@@ -905,13 +911,19 @@ public class CombatUtil {
break;
}
}
// MustBeBlockedByAll:<valid>
if (keyword.startsWith("MustBeBlockedByAll")) {
final String valid = keyword.split(":")[1];
if (blocker.isValid(valid, null, null, null)) {
mustBeBlockedBy = true;
break;
}
}
}
// if the attacker has no lure effect, but the blocker can block another
// attacker with lure, the blocker can't block the former
if (!attacker.hasKeyword("All creatures able to block CARDNAME do so.")
&& !(attacker.hasStartOfKeyword("All Walls able to block CARDNAME do so.") && blocker.getType().hasSubtype("Wall"))
&& !(attacker.hasStartOfKeyword("All creatures with flying able to block CARDNAME do so.") && blocker.hasKeyword("Flying"))
&& !(attacker.hasKeyword("CARDNAME must be blocked if able.") && combat.getBlockers(attacker).isEmpty())
&& !(blocker.getMustBlockCards() != null && blocker.getMustBlockCards().contains(attacker))
&& !mustBeBlockedBy

View File

@@ -53,6 +53,10 @@ public class ReplaceDamage extends ReplacementEffect {
if (!(runParams.containsKey("Prevention") == (hasParam("PreventionEffect") || hasParam("Prevent")))) {
return false;
}
if (((Integer) runParams.get("DamageAmount")) == 0) {
// If no actual damage is dealt, there is nothing to replace
return false;
}
if (hasParam("ValidSource")) {
String validSource = getParam("ValidSource");
validSource = AbilityUtils.applyAbilityTextChangeEffects(validSource, this);
@@ -83,9 +87,13 @@ public class ReplaceDamage extends ReplacementEffect {
}
}
}
if (((Integer) runParams.get("DamageAmount")) == 0) {
// If no actual damage is dealt, there is nothing to replace
return false;
if (hasParam("RelativeToSource")) {
Card source = (Card) runParams.get("DamageSource");
String validRelative = getParam("RelativeToSource");
validRelative = AbilityUtils.applyAbilityTextChangeEffects(validRelative, this);
if (!matchesValid(runParams.get("DamageTarget"), validRelative.split(","), source)) {
return false;
}
}
if (hasParam("DamageAmount")) {
String full = getParam("DamageAmount");

View File

@@ -1,8 +1,8 @@
Name:Al-abara's Carpet
ManaCost:5
Types:Artifact
A:AB$ Effect | Cost$ 5 T | Name$ Al-abara's Carpet Effect | StaticAbilities$ STPrevent | SpellDescription$ Prevent all damage that would be dealt to you this turn by attacking creatures without flying.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Target$ You | Source$ Creature.attacking+withoutFlying | Description$ Prevent all damage that would be dealt to you this turn by attacking creatures without flying.
A:AB$ Effect | Cost$ 5 T | Name$ Al-abara's Carpet Effect | ReplacementEffects$ RPrevent | SpellDescription$ Prevent all damage that would be dealt to you this turn by attacking creatures without flying.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ Player | ValidSource$ Creature.attacking+withoutFlying | Description$ Prevent all damage that would be dealt to you this turn by attacking creatures without flying.
SVar:RemAIDeck:True
SVar:NonStackingEffect:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/al_abaras_carpet.jpg

View File

@@ -2,8 +2,8 @@ Name:Arachnogenesis
ManaCost:2 G
Types:Instant
A:SP$ Token | Cost$ 2 G | TokenAmount$ X | TokenName$ Spider | TokenTypes$ Creature,Spider | TokenOwner$ You | TokenColors$ Green | TokenPower$ 1 | TokenToughness$ 2 | TokenKeywords$ Reach | SubAbility$ DBCurseNonSpiders | References$ X | SpellDescription$ Create X 1/2 green Spider creature tokens with reach, where X is the number of creatures attacking you. Prevent all combat damage that would be dealt this turn by non-Spider creatures. | TokenImage$ g_1_2_spider_isd
SVar:DBCurseNonSpiders:DB$ Effect | Name$ Arachnogenesis Effect | StaticAbilities$ Curse
SVar:Curse:Mode$ PreventDamage | EffectZone$ Command | Source$ Creature.nonSpider | CombatDamage$ True | Description$ Prevent all combat damage that would be dealt this turn by non-Spider creatures.
SVar:DBCurseNonSpiders:DB$ Effect | Name$ Arachnogenesis Effect | ReplacementEffects$ Curse
SVar:Curse:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidSource$ Creature.nonSpider | Description$ Prevent all combat damage that would be dealt this turn by non-Spider creatures.
SVar:X:Count$Valid Creature.attackingYou
SVar:Picture:http://www.wizards.com/global/images/magic/general/arachnogenesis.jpg
Oracle:Create X 1/2 green Spider creature tokens with reach, where X is the number of creatures attacking you. Prevent all combat damage that would be dealt this turn by non-Spider creatures.

View File

@@ -5,13 +5,11 @@ PT:5/4
K:Flying
K:Vigilance
A:AB$ ChooseColor | Cost$ 1 W | Defined$ You | SubAbility$ DBEffect | SpellDescription$ Prevent all damage that would be dealt to another target creature this turn by sources of the color of your choice.
SVar:DBEffect:DB$ Effect | ValidTgts$ Creature.Other | TgtPrompt$ Select another target creature | Name$ Avacyn, Guardian Angel Effect 1 | StaticAbilities$ STPrevent | RememberObjects$ Targeted | Triggers$ OutOfSight | SVars$ ExileSelf
SVar:OutOfSight:Mode$ ChangesZone | TriggerZones$ Command | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.IsRemembered | Execute$ ExileSelf | Static$ True
SVar:ExileSelf:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Source$ Card.ChosenColor | Target$ Card.IsRemembered | Description$ Prevent all damage that would be dealt to another target creature this turn by sources of the color of your choice.
SVar:DBEffect:DB$ Effect | ValidTgts$ Creature.Other | TgtPrompt$ Select another target creature | Name$ Avacyn, Guardian Angel Effect 1 | ReplacementEffects$ RPreventCreature | RememberObjects$ Targeted | ForgetOnMoved$ Battlefield
SVar:RPreventCreature:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ Card.IsRemembered | ValidSource$ Card.ChosenColor | Description$ Prevent all damage that would be dealt to another target creature this turn by sources of the color of your choice.
A:AB$ ChooseColor | Cost$ 5 W W | Defined$ You | SubAbility$ DBEffect2 | SpellDescription$ Prevent all damage that would be dealt to target player this turn by sources of the color of your choice.
SVar:DBEffect2:DB$ Effect | ValidTgts$ Player | Name$ Avacyn, Guardian Angel Effect 2 | StaticAbilities$ STPrevent2 | AILogic$ Fog | RememberObjects$ Targeted
SVar:STPrevent2:Mode$ PreventDamage | EffectZone$ Command | Source$ Card.ChosenColor | Target$ Player.IsRemembered | Description$ Prevent all damage that would be dealt to target player this turn by sources of the color of your choice.
SVar:DBEffect2:DB$ Effect | ValidTgts$ Player | Name$ Avacyn, Guardian Angel Effect 2 | ReplacementEffects$ RPreventPlayer | AILogic$ Fog | RememberObjects$ Targeted
SVar:RPreventPlayer:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ Player.IsRemembered | ValidSource$ Card.ChosenColor | Description$ Prevent all damage that would be dealt to target player this turn by sources of the color of your choice.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/avacyn_guardian_angel.jpg
Oracle:Flying, vigilance\n{1}{W}: Prevent all damage that would be dealt to another target creature this turn by sources of the color of your choice.\n{5}{W}{W}: Prevent all damage that would be dealt to target player this turn by sources of the color of your choice.

View File

@@ -1,8 +1,8 @@
Name:Blinding Fog
ManaCost:2 G
Types:Instant
A:SP$ Effect | Cost$ 2 G | Name$ Blinding Fog Effect | StaticAbilities$ STPrevent | SubAbility$ DBPumpAll | SpellDescription$ Prevent all damage that would be dealt to creatures this turn. Creatures you control gain hexproof until end of turn. (They can't be the targets of spells or abilities your opponents control.)
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Target$ Creature | Description$ Prevent all damage that would be dealt to creatures this turn.
A:SP$ Effect | Cost$ 2 G | Name$ Blinding Fog Effect | ReplacementEffects$ RPrevent | SubAbility$ DBPumpAll | SpellDescription$ Prevent all damage that would be dealt to creatures this turn. Creatures you control gain hexproof until end of turn. (They can't be the targets of spells or abilities your opponents control.)
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ Creature | Description$ Prevent all damage that would be dealt to creatures this turn.
SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.YouCtrl | KW$ Hexproof
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/blinding_fog.jpg

View File

@@ -1,7 +1,7 @@
Name:Bubble Matrix
ManaCost:4
Types:Artifact
S:Mode$ PreventDamage | Target$ Creature | Description$ Prevent all damage that would be dealt to creatures.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ Creature | Description$ Prevent all damage that would be dealt to creatures.
SVar:NonStackingEffect:True
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/bubble_matrix.jpg

View File

@@ -2,6 +2,6 @@ Name:Callous Giant
ManaCost:4 R R
Types:Creature Giant
PT:4/4
S:Mode$ PreventDamage | Target$ Card.Self | MaxDamage$ 3 | Description$ If a source would deal 3 or less damage to Callous Giant, prevent that damage.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ Card.Self | DamageAmount$ LE3 | Description$ If a source would deal 3 or less damage to CARDNAME, prevent that damage.
SVar:Picture:http://www.wizards.com/global/images/magic/general/callous_giant.jpg
Oracle:If a source would deal 3 or less damage to Callous Giant, prevent that damage.

View File

@@ -1,7 +1,7 @@
Name:Chameleon Blur
ManaCost:3 G
Types:Instant
A:SP$ Effect | Cost$ 3 G | Name$ Chameleon Blur Effect | StaticAbilities$ STPrevent | AILogic$ Fog | SpellDescription$ Prevent all damage that creatures would deal to players this turn.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Source$ Creature | Target$ Player | Description$ Prevent all damage that creatures would deal to players this turn.
A:SP$ Effect | Cost$ 3 G | Name$ Chameleon Blur Effect | ReplacementEffects$ RPrevent | AILogic$ Fog | SpellDescription$ Prevent all damage that creatures would deal to players this turn.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidSource$ Creature | ValidTarget$ Player | Description$ Prevent all damage that creatures would deal to players this turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/chameleon_blur.jpg
Oracle:Prevent all damage that creatures would deal to players this turn.

View File

@@ -6,7 +6,7 @@ A:SP$ Attach | Cost$ 1 W U | ValidTgts$ Creature | AILogic$ Pump
K:ETBReplacement:Other:ChooseColor
SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentInHumanDeck | SpellDescription$ As CARDNAME enters the battlefield, choose a color.
K:etbCounter:SLEIGHT:1
S:Mode$ PreventDamage | Target$ Creature.EnchantedBy | Source$ Card.ChosenColor | Description$ Prevent all damage that would be dealt to enchanted creature by sources of the last chosen color.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ Creature.EnchantedBy | ValidSource$ Card.ChosenColor | Description$ Prevent all damage that would be dealt to enchanted creature by sources of the chosen color.
A:AB$ PutCounter | Cost$ X | Defined$ Self | CounterType$ SLEIGHT | CounterNum$ 1 | SubAbility$ ChooseColor | References$ X | SpellDescription$ Put a sleight counter on CARDNAME and choose a color. X is the number of sleight counters on CARDNAME.
SVar:X:Count$CardCounters.SLEIGHT
SVar:RemAIDeck:True

View File

@@ -1,7 +1,7 @@
Name:Commencement of Festivities
ManaCost:1 G
Types:Instant
A:SP$ Effect | Cost$ 1 G | Name$ Commencement of Festivities Effect | StaticAbilities$ STPrevent | AILogic$ Fog | SpellDescription$ Prevent all combat damage that would be dealt to players this turn.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | CombatDamage$ True | Target$ Player | Description$ Prevent all combat damage that would be dealt to players this turn.
A:SP$ Effect | Cost$ 1 G | Name$ Commencement of Festivities Effect | ReplacementEffects$ RPrevent | AILogic$ Fog | SpellDescription$ Prevent all combat damage that would be dealt to players this turn.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidTarget$ Player | Description$ Prevent all combat damage that would be dealt to players this turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/commencement_of_festivities.jpg
Oracle:Prevent all combat damage that would be dealt to players this turn.

View File

@@ -3,9 +3,9 @@ ManaCost:3 W
Types:Enchantment
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEnergy | TriggerDescription$ When CARDNAME enters the battlefield, you get {E}{E}{E}{E} (four energy counters).
SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 4
A:AB$ ChooseSource | Cost$ PayEnergy<2> | Choices$ Card | ChoiceTitle$ Choose a source | RememberChosen$ True | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ Prevent all damage that would be dealt to you this turn by a source of your choice.
SVar:DBEffect:DB$ Effect | StaticAbilities$ PreventFromSource | References$ PreventFromSource | RememberObjects$ Remembered | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup
SVar:PreventFromSource:Mode$ PreventDamage | EffectZone$ Command | Target$ You | Source$ Card.IsRemembered | Description$ Prevent all damage that would be dealt to you this turn by a source of your choice.
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
A:AB$ ChooseSource | Cost$ PayEnergy<2> | Choices$ Card,Emblem | ChoiceTitle$ Choose a source | RememberChosen$ True | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ Prevent all damage that would be dealt to you this turn by a source of your choice.
SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPrevent | RememberObjects$ Remembered | ConditionDefined$ Remembered | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 | SubAbility$ DBCleanup
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ You | ValidSource$ Card.IsRemembered,Emblem.IsRemembered | Description$ Prevent all damage that would be dealt to you this turn by a source of your choice.
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearChosenCard$ True
SVar:Picture:http://www.wizards.com/global/images/magic/general/consulate_surveillance.jpg
Oracle:When Consulate Surveillance enters the battlefield, you get {E}{E}{E}{E} (four energy counters).\nPay {E}{E}: Prevent all damage that would be dealt to you this turn by a source of your choice.

View File

@@ -1,7 +1,7 @@
Name:Deep Wood
ManaCost:1 G
Types:Instant
A:SP$ Effect | Cost$ 1 G | Name$ Deep Wood Effect | StaticAbilities$ STPrevent | AILogic$ Fog | OpponentTurn$ True | ActivationPhases$ Declare Attackers | SpellDescription$ Cast CARDNAME only during the declare attackers step and only if you've been attacked this step. Prevent all damage that would be dealt to you this turn by attacking creatures.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Source$ Creature.attacking | Target$ You | Description$ Prevent all damage that would be dealt to you this turn by attacking creatures.
A:SP$ Effect | Cost$ 1 G | Name$ Deep Wood Effect | ReplacementEffects$ RPrevent | AILogic$ Fog | OpponentTurn$ True | ActivationPhases$ Declare Attackers | SpellDescription$ Cast CARDNAME only during the declare attackers step and only if you've been attacked this step. Prevent all damage that would be dealt to you this turn by attacking creatures.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ You | ValidSource$ Creature.attacking | Description$ Prevent all damage that would be dealt to you this turn by attacking creatures.
SVar:Picture:http://www.wizards.com/global/images/magic/general/deep_wood.jpg
Oracle:Cast Deep Wood only during the declare attackers step and only if you've been attacked this step.\nPrevent all damage that would be dealt to you this turn by attacking creatures.

View File

@@ -3,7 +3,7 @@ ManaCost:1 W
Types:Enchantment Aura
K:Enchant creature
A:SP$ Attach | Cost$ 1 W | ValidTgts$ Creature | AILogic$ Curse
S:Mode$ PreventDamage | Source$ Creature.EnchantedBy | Description$ Prevent all damage that would be dealt by enchanted creature.
R:Event$ DamageDone | Prevent$ True | ValidSource$ Creature.EnchantedBy | Description$ Prevent all damage that would be dealt by enchanted creature.
SVar:NonStackingAttachEffect:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/defang.jpg
Oracle:Enchant creature\nPrevent all damage that would be dealt by enchanted creature.

View File

@@ -1,7 +1,7 @@
Name:Defend the Hearth
ManaCost:1 G
Types:Instant
A:SP$ Effect | Cost$ 1 G | Name$ Defend the Hearth Effect | StaticAbilities$ STPrevent | AILogic$ Fog | SpellDescription$ Prevent all combat damage that would be dealt to players this turn.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | CombatDamage$ True | Target$ Player | Description$ Prevent all combat damage that would be dealt to players this turn.
A:SP$ Effect | Cost$ 1 G | Name$ Defend the Hearth Effect | ReplacementEffects$ RPrevent | AILogic$ Fog | SpellDescription$ Prevent all combat damage that would be dealt to players this turn.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidTarget$ Player | Description$ Prevent all combat damage that would be dealt to players this turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/defend_the_hearth.jpg
Oracle:Prevent all combat damage that would be dealt to players this turn.

View File

@@ -3,7 +3,7 @@ ManaCost:no cost
Types:Scheme
T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ DBToken | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, create a 3/3 black Horror creature token and prevent all damage that would be dealt to creatures you control this turn.
SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenName$ Horror | TokenTypes$ Creature,Horror | TokenOwner$ You | TokenColors$ Black | TokenPower$ 3 | TokenToughness$ 3 | SubAbility$ DBPrevent
SVar:DBPrevent:DB$ Effect | Name$ Delight in the Hunt Effect | StaticAbilities$ STPrevent
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Target$ Creature.YouCtrl | Description$ Prevent all damage that would be dealt to creatures you control this turn.
SVar:DBPrevent:DB$ Effect | Name$ Delight in the Hunt Effect | ReplacementEffects$ RPrevent
SVar:RPrevent:Event$ DamageDone | Prevent$ True | | ActiveZones$ Command | ValidTarget$ Creature.YouCtrl | Description$ Prevent all damage that would be dealt to creatures you control this turn.
SVar:Picture:https://downloads.cardforge.org/images/cards/E01/Delight in the Hunt.full.jpg
Oracle:When you set this scheme in motion, create a 3/3 black Horror creature token and prevent all damage that would be dealt to creatures you control this turn.

View File

@@ -1,8 +1,8 @@
Name:Divine Light
ManaCost:W
Types:Sorcery
A:SP$ Effect | Cost$ W | Name$ Divine Light Effect | StaticAbilities$ STPrevent | SpellDescription$ Prevent all damage that would be dealt this turn to creatures you control.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Target$ Creature.YouCtrl | Description$ Prevent all damage that would be dealt this turn to creatures you control.
A:SP$ Effect | Cost$ W | Name$ Divine Light Effect | ReplacementEffects$ RPrevent | SpellDescription$ Prevent all damage that would be dealt this turn to creatures you control.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ Creature.YouCtrl | Description$ Prevent all damage that would be dealt this turn to creatures you control.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/divine_light.jpg
Oracle:Prevent all damage that would be dealt this turn to creatures you control.

View File

@@ -1,7 +1,7 @@
Name:Dolmen Gate
ManaCost:2
Types:Artifact
S:Mode$ PreventDamage | Target$ Creature.attacking+YouCtrl | CombatDamage$ True | Description$ Prevent all combat damage that would be dealt to attacking creatures you control.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ Creature.attacking+YouCtrl | IsCombat$ True | Description$ Prevent all combat damage that would be dealt to attacking creatures you control.
SVar:NonStackingEffect:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/dolmen_gate.jpg
Oracle:Prevent all combat damage that would be dealt to attacking creatures you control.

View File

@@ -1,8 +1,8 @@
Name:Druid's Deliverance
ManaCost:1 G
Types:Instant
A:SP$ Effect | Cost$ 1 G | Name$ Druid's Deliverance Effect | StaticAbilities$ STPrevent | AILogic$ Fog | SubAbility$ DBCopy | SpellDescription$ Prevent all combat damage that would be dealt to you this turn. Populate. (Create a token that's a copy of a creature token you control.)
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | CombatDamage$ True | Target$ You | Description$ Prevent all combat damage that would be dealt to you this turn.
A:SP$ Effect | Cost$ 1 G | Name$ Druid's Deliverance Effect | ReplacementEffects$ RPrevent | AILogic$ Fog | SubAbility$ DBCopy | SpellDescription$ Prevent all combat damage that would be dealt to you this turn. Populate. (Create a token that's a copy of a creature token you control.)
SVar:RPrevent:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidTarget$ You | Description$ Prevent all combat damage that would be dealt to you this turn.
SVar:DBCopy:DB$ CopyPermanent | Choices$ Creature.token+YouCtrl | NumCopies$ 1 | Populate$ True
DeckHints:Ability$Token
SVar:Picture:http://www.wizards.com/global/images/magic/general/druids_deliverance.jpg

View File

@@ -2,7 +2,7 @@ Name:Emmara Tandris
ManaCost:5 G W
Types:Legendary Creature Elf Shaman
PT:5/7
S:Mode$ PreventDamage | Target$ Creature.token+YouCtrl | Description$ Prevent all damage that would be dealt to creature tokens you control.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ Creature.token+YouCtrl | Description$ Prevent all damage that would be dealt to creature tokens you control.
SVar:PlayMain1:TRUE
DeckHints:Ability$Token
SVar:Picture:http://www.wizards.com/global/images/magic/general/emmara_tandris.jpg

View File

@@ -2,6 +2,6 @@ Name:Enchanted Being
ManaCost:1 W W
Types:Creature Human
PT:2/2
S:Mode$ PreventDamage | Source$ Creature.enchanted | Target$ Card.Self | CombatDamage$ True | Description$ Prevent all combat damage that would be dealt to CARDNAME by enchanted creatures.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ Card.Self | ValidSource$ Creature.enchanted | IsCombat$ True | Description$ Prevent all combat damage that would be dealt to CARDNAME by enchanted creatures.
SVar:Picture:http://www.wizards.com/global/images/magic/general/enchanted_being.jpg
Oracle:Prevent all combat damage that would be dealt to Enchanted Being by enchanted creatures.

View File

@@ -2,7 +2,7 @@ Name:Encircling Fissure
ManaCost:2 W
Types:Instant
K:Awaken:2:4 W
A:SP$ Effect | Cost$ 2 W | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | StaticAbilities$ STPrevent | AILogic$ Fog | SpellDescription$ Prevent all combat damage that would be dealt this turn by creatures target opponent controls.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | CombatDamage$ True | Source$ Creature.OppCtrl | Description$ Prevent all combat damage that would be dealt this turn by creatures target opponent controls.
A:SP$ Effect | Cost$ 2 W | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | RememberObjects$ Targeted | ReplacementEffects$ RPrevent | AILogic$ Fog | SpellDescription$ Prevent all combat damage that would be dealt this turn by creatures target opponent controls.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidSource$ Creature.ControlledBy Player.IsRemembered | Description$ Prevent all combat damage that would be dealt this turn by creatures target opponent controls.
SVar:Picture:http://www.wizards.com/global/images/magic/general/encircling_fissure.jpg
Oracle:Prevent all combat damage that would be dealt this turn by creatures target opponent controls.\nAwaken 2—{4}{W} (If you cast this spell for {4}{W}, also put two +1/+1 counters on target land you control and it becomes a 0/0 Elemental creature with haste. It's still a land.)

View File

@@ -1,8 +1,8 @@
Name:Endure
ManaCost:3 W W
Types:Instant
A:SP$ Effect | Cost$ 3 W W | Name$ Endure Effect | StaticAbilities$ STPrevent | AILogic$ Fog | SpellDescription$ Prevent all damage that would be dealt to you and permanents you control this turn.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Target$ You,Permanent.YouCtrl | Description$ Prevent all damage that would be dealt to you and permanents you control this turn.
A:SP$ Effect | Cost$ 3 W W | Name$ Endure Effect | ReplacementEffects$ RPrevent | AILogic$ Fog | SpellDescription$ Prevent all damage that would be dealt to you and permanents you control this turn.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ You,Permanent.YouCtrl | Description$ Prevent all damage that would be dealt to you and permanents you control this turn.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/endure.jpg
Oracle:Prevent all damage that would be dealt to you and permanents you control this turn.

View File

@@ -3,7 +3,7 @@ ManaCost:1 U
Types:Enchantment
T:Mode$ ChangesZone | Origin$ Any | Destination$ Graveyard | ValidCard$ Card.nonToken+YouOwn+Other | Execute$ TrigSac | TriggerZones$ Battlefield | TriggerDescription$ When a card is put into your graveyard from anywhere, sacrifice CARDNAME.
SVar:TrigSac:DB$ Sacrifice | Defined$ Self
S:Mode$ PreventDamage | Target$ You | Source$ Card.YouDontCtrl | Description$ Prevent all damage that would be dealt to you by sources you don't control.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ You | ValidSource$ Card.YouDontCtrl,Emblem.YouDontCtrl | Description$ Prevent all damage that would be dealt to you by sources you don't control.
SVar:NonStackingEffect:True
#NOTE: The AI will not play around this effect, so it's only good in properly designed decks that circumvent the necessity to worry about the detrimental effect.
SVar:RemRandomDeck:True

View File

@@ -3,7 +3,7 @@ ManaCost:1 W
Types:Enchantment
K:Cumulative upkeep:1
S:Mode$ Continuous | Affected$ Creature.withFlying | AddHiddenKeyword$ CARDNAME doesn't untap during your untap step. | Description$ Creatures with flying don't untap during their controllers' untap steps.
S:Mode$ PreventDamage | Source$ Instant,Sorcery | Description$ Prevent all damage that would be dealt by instant and sorcery spells.
R:Event$ DamageDone | Prevent$ True | ValidSource$ Instant,Sorcery | Description$ Prevent all damage that would be dealt by instant and sorcery spells.
SVar:RemRandomDeck:True
SVar:NonStackingEffect:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/energy_storm.jpg

View File

@@ -1,7 +1,7 @@
Name:Ethereal Haze
ManaCost:W
Types:Instant Arcane
A:SP$ Effect | Cost$ W | Name$ Ethereal Haze Effect | StaticAbilities$ STPrevent | AILogic$ Fog | SpellDescription$ Prevent all damage that would be dealt by creatures this turn.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Source$ Creature | Description$ Prevent all damage that would be dealt by creatures this turn.
A:SP$ Effect | Cost$ W | Name$ Ethereal Haze Effect | ReplacementEffects$ RPrevent | AILogic$ Fog | SpellDescription$ Prevent all damage that would be dealt by creatures this turn.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidSource$ Creature | Description$ Prevent all damage that would be dealt by creatures this turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/ethereal_haze.jpg
Oracle:Prevent all damage that would be dealt by creatures this turn.

View File

@@ -4,8 +4,8 @@ Types:Artifact Creature Vedalken Wizard
PT:2/2
K:Flash
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEffect | TriggerDescription$ When CARDNAME enters the battlefield, prevent all damage that would be dealt to artifact creatures this turn.
SVar:TrigEffect:DB$ Effect | Name$ Ethersworn Shieldmage Effect | StaticAbilities$ STPrevent | SpellDescription$ Prevent all damage that would be dealt to artifact creatures this turn.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Target$ Creature.Artifact | Description$ Prevent all damage that would be dealt to artifact creatures this turn.
SVar:TrigEffect:DB$ Effect | Name$ Ethersworn Shieldmage Effect | ReplacementEffects$ PreventArtifact | SpellDescription$ Prevent all damage that would be dealt to artifact creatures this turn.
SVar:PreventArtifact:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ Creature.Artifact | Description$ Prevent all damage that would be dealt to artifact creatures this turn.
SVar:AmbushAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/ethersworn_shieldmage.jpg
Oracle:Flash\nWhen Ethersworn Shieldmage enters the battlefield, prevent all damage that would be dealt to artifact creatures this turn.

View File

@@ -1,8 +1,8 @@
Name:Forfend
ManaCost:1 W
Types:Instant
A:SP$ Effect | Cost$ 1 W | Name$ Forfend Effect | StaticAbilities$ STPrevent | SpellDescription$ Prevent all damage that would be dealt to creatures this turn.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Target$ Creature | Description$ Prevent all damage that would be dealt to creatures this turn.
A:SP$ Effect | Cost$ 1 W | Name$ Forfend Effect | ReplacementEffects$ RPrevent | SpellDescription$ Prevent all damage that would be dealt to creatures this turn.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ Creature | Description$ Prevent all damage that would be dealt to creatures this turn.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/forfend.jpg
Oracle:Prevent all damage that would be dealt to creatures this turn.

View File

@@ -4,8 +4,8 @@ Types:Creature Human Soldier
PT:1/1
K:Morph:W
T:Mode$ TurnFaceUp | ValidCard$ Card.Self | Execute$ TrigCurseNonSoldiers | TriggerZones$ Battlefield | TriggerDescription$ When CARDNAME is turned face up, prevent all combat damage non-Soldier creatures would deal this turn.
SVar:TrigCurseNonSoldiers:DB$ Effect | Name$ Frontline Strategist Effect | StaticAbilities$ Curse
SVar:Curse:Mode$ PreventDamage | EffectZone$ Command | Source$ Creature.nonSoldier | CombatDamage$ True | Description$ Prevent all combat damage non-Soldier creatures would deal this turn.
SVar:TrigCurseNonSoldiers:DB$ Effect | Name$ Frontline Strategist Effect | ReplacementEffects$ RPrevent
SVar:RPrevent:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidSource$ Creature.nonSoldier | Description$ Prevent all combat damage non-Soldier creatures would deal this turn.
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/frontline_strategist.jpg
Oracle:Morph {W} (You may cast this card face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.)\nWhen Frontline Strategist is turned face up, prevent all combat damage non-Soldier creatures would deal this turn.

View File

@@ -4,7 +4,7 @@ Types:Enchantment
K:ETBReplacement:Other:DBNameCard
SVar:DBNameCard:DB$ NameCard | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, name a card.
S:Mode$ CantBeCast | ValidCard$ Card.NamedCard+nonLand | Caster$ Opponent | Description$ Your opponents can't cast spells with the chosen name.
S:Mode$ PreventDamage | Target$ You,Permanent.YouCtrl | Source$ Card.NamedCard | Description$ Prevent all damage that would be dealt to you and permanents you control by sources with the chosen name.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ You,Permanent.YouCtrl | ValidSource$ Card.NamedCard | Description$ Prevent all damage that would be dealt to you and permanents you control by sources with the chosen name.
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/gideons_intervention.jpg
Oracle:As Gideon's Intervention enters the battlefield, choose a card name.\nYour opponents can't cast spells with the chosen name.\nPrevent all damage that would be dealt to you and permanents you control by sources with the chosen name.

View File

@@ -4,8 +4,8 @@ Types:Land
K:Cumulative upkeep:PayLife<2>:Pay 2 life.
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSac | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice a land.
SVar:TrigSac:DB$Sacrifice | SacValid$ Land | ChangeNum$ 1
S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddHiddenKeyword$ CARDNAME can't attack. | Description$ Creatures you control can't attack.
S:Mode$ PreventDamage | Target$ You | Description$ Prevent all damage that would be dealt to you.
S:Mode$ CantAttack | ValidCard$ Creature.YouCtrl | Description$ Creatures you control can't attack.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ You | Description$ Prevent all damage that would be dealt to you.
SVar:RemAIDeck:True
SVar:NonStackingEffect:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/glacial_chasm.jpg

View File

@@ -2,6 +2,6 @@ Name:Goblin Furrier
ManaCost:1 R
Types:Creature Goblin Warrior
PT:2/2
S:Mode$ PreventDamage | Source$ Card.Self | Target$ Creature.Snow | Description$ Prevent all damage that CARDNAME would deal to snow creatures.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ Creature.Snow | ValidSource$ Card.Self | Description$ Prevent all damage that CARDNAME would deal to snow creatures.
SVar:Picture:http://www.wizards.com/global/images/magic/general/goblin_furrier.jpg
Oracle:Prevent all damage that Goblin Furrier would deal to snow creatures.

View File

@@ -1,7 +1,7 @@
Name:Harmless Assault
ManaCost:2 W W
Types:Instant
A:SP$ Effect | Cost$ 2 W W | Name$ Harmless Assault Effect | StaticAbilities$ STPrevent | AILogic$ Fog | SpellDescription$ Prevent all combat damage that would be dealt this turn by attacking creatures.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Source$ Creature.attacking | CombatDamage$ True | Description$ Prevent all combat damage that would be dealt this turn by attacking creatures.
A:SP$ Effect | Cost$ 2 W W | Name$ Harmless Assault Effect | ReplacementEffects$ RPrevent | AILogic$ Fog | SpellDescription$ Prevent all combat damage that would be dealt this turn by attacking creatures.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidSource$ Creature.attacking | Description$ Prevent all combat damage that would be dealt this turn by attacking creatures.
SVar:Picture:http://www.wizards.com/global/images/magic/general/harmless_assault.jpg
Oracle:Prevent all combat damage that would be dealt this turn by attacking creatures.

View File

@@ -4,8 +4,8 @@ Types:Creature Frog
PT:2/1
K:Flash
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEffect | TriggerDescription$ When CARDNAME enters the battlefield, prevent all combat damage that other creatures would deal this turn.
SVar:TrigEffect:DB$ Effect | Name$ Haze Frog Effect | StaticAbilities$ HazeFrogPrevent | References$ HazeFrogPrevent | RememberObjects$ Self
SVar:HazeFrogPrevent:Mode$ PreventDamage | EffectZone$ Command | Source$ Creature.IsNotRemembered | CombatDamage$ True | Description$ Prevent all combat damage that other creatures would deal this turn.
SVar:TrigEffect:DB$ Effect | Name$ Haze Frog Effect | ReplacementEffects$ RPrevent | RememberObjects$ Self
SVar:RPrevent:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidSource$ Creature.IsNotRemembered | Description$ Prevent all combat damage that other creatures would deal this turn.
SVar:AmbushAI:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/haze_frog.jpg
Oracle:Flash (You may cast this spell any time you could cast an instant.)\nWhen Haze Frog enters the battlefield, prevent all combat damage that other creatures would deal this turn.

View File

@@ -1,7 +1,7 @@
Name:Heavy Fog
ManaCost:1 G
Types:Instant
A:SP$ Effect | Cost$ 1 G | Name$ Heavy Fog Effect | StaticAbilities$ STPrevent | AILogic$ Fog | OpponentTurn$ True | ActivationPhases$ Declare Attackers | SpellDescription$ Cast CARDNAME only during the declare attackers step and only if you've been attacked this step. Prevent all damage that would be dealt to you this turn by attacking creatures.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Source$ Creature.attacking | Target$ You | Description$ Prevent all damage that would be dealt to you this turn by attacking creatures.
A:SP$ Effect | Cost$ 1 G | Name$ Heavy Fog Effect | ReplacementEffects$ RPrevent | AILogic$ Fog | OpponentTurn$ True | ActivationPhases$ Declare Attackers | SpellDescription$ Cast CARDNAME only during the declare attackers step and only if you've been attacked this step. Prevent all damage that would be dealt to you this turn by attacking creatures.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ You | ValidSource$ Creature.attacking | Description$ Prevent all damage that would be dealt to you this turn by attacking creatures.
SVar:Picture:http://www.wizards.com/global/images/magic/general/heavy_fog.jpg
Oracle:Cast Heavy Fog only during the declare attackers step and only if you've been attacked this step.\nPrevent all damage that would be dealt to you this turn by attacking creatures.

View File

@@ -1,8 +1,8 @@
Name:Hindervines
ManaCost:2 G
Types:Instant
A:SP$ Effect | Cost$ 2 G | Name$ Hindervines Effect | StaticAbilities$ STPrevent | AILogic$ Fog | SpellDescription$ Prevent all combat damage that would be dealt this turn by creatures with no +1/+1 counters.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Source$ Creature.counters_EQ0_P1P1 | CombatDamage$ True | Description$ Prevent all combat damage that would be dealt by creatures with no +1/+1 counters.
A:SP$ Effect | Cost$ 2 G | Name$ Hindervines Effect | ReplacementEffects$ RPrevent | AILogic$ Fog | SpellDescription$ Prevent all combat damage that would be dealt this turn by creatures with no +1/+1 counters.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidSource$ Creature.counters_EQ0_P1P1 | Description$ Prevent all combat damage that would be dealt by creatures with no +1/+1 counters.
DeckHints:Ability$Counters
SVar:Picture:http://www.wizards.com/global/images/magic/general/hindervines.jpg
Oracle:Prevent all combat damage that would be dealt this turn by creatures with no +1/+1 counters on them.

View File

@@ -2,6 +2,6 @@ Name:Indentured Oaf
ManaCost:3 R
Types:Creature Ogre Warrior
PT:4/3
S:Mode$ PreventDamage | Source$ Card.Self | Target$ Creature.Red | Description$ Prevent all damage that CARDNAME would deal to red creatures.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ Creature.Red | ValidSource$ Card.Self | Description$ Prevent all damage that CARDNAME would deal to red creatures.
SVar:Picture:http://www.wizards.com/global/images/magic/general/indentured_oaf.jpg
Oracle:Prevent all damage that Indentured Oaf would deal to red creatures.

View File

@@ -2,7 +2,7 @@ Name:Inner Sanctum
ManaCost:1 W W
Types:Enchantment
K:Cumulative upkeep:PayLife<2>:Pay 2 life.
S:Mode$ PreventDamage | Target$ Creature.YouCtrl | Amount$ All | Description$ Prevent all damage that would be dealt to creatures you control.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ Creature.YouCtrl | Description$ Prevent all damage that would be dealt to creatures you control.
SVar:RemAIDeck:True
SVar:NonStackingEffect:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/inner_sanctum.jpg

View File

@@ -3,6 +3,6 @@ ManaCost:1 W
Types:Enchantment Aura
K:Enchant creature
A:SP$ Attach | Cost$ 1 W | ValidTgts$ Creature | AILogic$ Pump
S:Mode$ PreventDamage | Target$ Creature.EnchantedBy | Description$ Prevent all damage that would be dealt to enchanted creature.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ Creature.EnchantedBy | Description$ Prevent all damage that would be dealt to enchanted creature.
SVar:Picture:http://www.wizards.com/global/images/magic/general/inviolability.jpg
Oracle:Enchant creature\nPrevent all damage that would be dealt to enchanted creature.

View File

@@ -1,7 +1,7 @@
Name:Light of Sanction
ManaCost:1 W W
Types:Enchantment
S:Mode$ PreventDamage | Target$ Creature.YouCtrl | Source$ Card.YouCtrl | Amount$ All | Description$ Prevent all damage that would be dealt to creatures you control by sources you control.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ Creature.YouCtrl | ValidSource$ Card.YouCtrl,Emblem.YouCtrl | Description$ Prevent all damage that would be dealt to creatures you control by sources you control.
SVar:NonStackingEffect:True
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/light_of_sanction.jpg

View File

@@ -2,9 +2,7 @@ Name:Lithomancer's Focus
ManaCost:W
Types:Instant
A:SP$ Pump | Cost$ W | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +2 | NumDef$ +2 | SubAbility$ DBEffect | SpellDescription$ Target creature gets +2/+2 until end of turn. Prevent all damage that would be dealt to that creature this turn by colorless sources.
SVar:DBEffect:DB$ Effect | Defined$ Targeted | StaticAbilities$ STPrevent | RememberObjects$ Targeted | Triggers$ OutOfSight | SVars$ ExileSelf
SVar:OutOfSight:Mode$ ChangesZone | TriggerZones$ Command | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.IsRemembered | Execute$ ExileSelf | Static$ True
SVar:ExileSelf:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Source$ Card.ColorlessSource | Target$ Card.IsRemembered | Description$ Prevent all damage that would be dealt to that creature this turn by colorless sources.
SVar:DBEffect:DB$ Effect | Defined$ Targeted | ReplacementEffects$ PreventColorless | RememberObjects$ Targeted | ForgetOnMoved$ Battlefield
SVar:PreventColorless:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidSource$ Card.ColorlessSource | Description$ Prevent all damage that would be dealt to that creature this turn by colorless sources.
SVar:Picture:http://www.wizards.com/global/images/magic/general/lithomancers_focus.jpg
Oracle:Target creature gets +2/+2 until end of turn. Prevent all damage that would be dealt to that creature this turn by colorless sources.

View File

@@ -1,8 +1,8 @@
Name:Luminesce
ManaCost:W
Types:Instant
A:SP$ Effect | Cost$ W | StaticAbilities$ STPrevent | SpellDescription$ Prevent all damage that black sources and red sources would deal this turn.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Source$ Card.BlackSource,Card.RedSource | Description$ Prevent all damage that black sources and red sources would deal this turn.
A:SP$ Effect | Cost$ W | ReplacementEffects$ RPrevent | SpellDescription$ Prevent all damage that black sources and red sources would deal this turn.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidSource$ Card.BlackSource,Card.RedSource | Description$ Prevent all damage that black sources and red sources would deal this turn.
SVar:RemAIDeck:True
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/luminesce.jpg

View File

@@ -3,6 +3,6 @@ ManaCost:3
Types:Artifact Equipment
K:Equip 2
S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ 2 | AddToughness$ 4 | RemoveKeyword$ Flying | Description$ Equipped creature gets +2/+4 and loses flying.
S:Mode$ PreventDamage | Target$ Card.EquippedBy | CombatDamage$ False | Description$ Prevent all noncombat damage that would be dealt to equipped creature.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ Card.EquippedBy | IsCombat$ False | Description$ Prevent all noncombat damage that would be dealt to equipped creature.
SVar:Picture:http://www.wizards.com/global/images/magic/general/magebane_armor.jpg
Oracle:Equipped creature gets +2/+4 and loses flying.\nPrevent all noncombat damage that would be dealt to equipped creature.\nEquip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.)

View File

@@ -2,7 +2,7 @@ Name:Marble Priest
ManaCost:5
Types:Artifact Creature Cleric
PT:3/3
K:All Walls able to block CARDNAME do so.
S:Mode$ PreventDamage | Source$ Wall | Target$ Card.Self | CombatDamage$ True | Description$ Prevent all combat damage that would be dealt to CARDNAME by Walls.
K:MustBeBlockedByAll:Creature.Wall:All Walls able to block CARDNAME do so.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ Card.Self | ValidSource$ Wall | IsCombat$ True | Description$ Prevent all combat damage that would be dealt to CARDNAME by Walls.
SVar:Picture:http://www.wizards.com/global/images/magic/general/marble_priest.jpg
Oracle:All Walls able to block Marble Priest do so.\nPrevent all combat damage that would be dealt to Marble Priest by Walls.

View File

@@ -1,7 +1,7 @@
Name:Mark of Asylum
ManaCost:1 W
Types:Enchantment
S:Mode$ PreventDamage | Target$ Creature.YouCtrl | CombatDamage$ False | Description$ Prevent all noncombat damage that would be dealt to creatures you control.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ Creature.YouCtrl | IsCombat$ False | Description$ Prevent all noncombat damage that would be dealt to creatures you control.
SVar:NonStackingEffect:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/mark_of_asylum.jpg
Oracle:Prevent all noncombat damage that would be dealt to creatures you control.

View File

@@ -1,10 +1,9 @@
Name:Moonmist
ManaCost:1 G
Types:Instant
A:SP$ RepeatEach | Cost$ 1 G | RepeatCards$ Creature.Human+DoubleFaced | Zone$ Battlefield | RepeatSubAbility$ DBState | SubAbility$ DBCurseNonWolves | SpellDescription$ Transform all Humans. Prevent all combat damage that would be dealt this turn by creatures other than Werewolves and Wolves. (Only double-faced cards can be transformed.)
SVar:DBState:DB$ SetState | Defined$ Remembered | Mode$ Transform | SpellDescription$ Transform all Humans. Prevent all combat damage that would be dealt this turn by creatures other than Werewolves and Wolves. (Only double-faced cards can be transformed.)
SVar:DBCurseNonWolves:DB$ Effect | Name$ Moonmist Effect | StaticAbilities$ Curse
SVar:Curse:Mode$ PreventDamage | EffectZone$ Command | Source$ Creature.nonWerewolf+nonWolf | CombatDamage$ True | Description$ Prevent all combat damage that would be dealt this turn by creatures other than Werewolves and Wolves.
A:SP$ SetState | Cost$ 1 G | Defined$ Valid Creature.Human+DoubleFaced | Mode$ Transform | SubAbility$ DBCurseNonWolves | StackDescription$ SpellDescription | SpellDescription$ Transform all Humans. Prevent all combat damage that would be dealt this turn by creatures other than Werewolves and Wolves. (Only double-faced cards can be transformed.)
SVar:DBCurseNonWolves:DB$ Effect | Name$ Moonmist Effect | ReplacementEffects$ RPrevent
SVar:RPrevent:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidSource$ Creature.nonWerewolf+nonWolf | Description$ Prevent all combat damage that would be dealt this turn by creatures other than Werewolves and Wolves.
SVar:NeedsToPlay:Human.YouCtrl
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/moonmist.jpg

View File

@@ -6,8 +6,8 @@ SVar:BuildPressure:DB$ PutCounter | Defined$ Self | CounterType$ PRESSURE | Coun
T:Mode$ PlaneswalkedFrom | ValidCard$ Plane.Self | Execute$ Eruption | TriggerDescription$ When you planeswalk away from CARDNAME, it deals damage equal to the number of pressure counters on it to each creature and each planeswalker.
SVar:Eruption:DB$ DamageAll | ValidCards$ Creature,Planeswalker | ValidDescription$ each creature and each planeswalker. | NumDmg$ KeraliaX | References$ KeraliaX
T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll {CHAOS}, prevent all damage that planes named CARDNAME would deal this game to permanents you control.
SVar:RolledChaos:DB$ Effect | Name$ Mount Keralia Effect | StaticAbilities$ KeraliaProtection | EffectOwner$ You | Duration$ Permanent | SpellDescription$ Prevent all damage that planes named CARDNAME would deal this game to permanents you control.
SVar:KeraliaProtection:Mode$ PreventDamage | EffectZone$ Command | Target$ Permanent.YouCtrl | Source$ Plane.namedMount Keralia | Description$ Prevent all damage that planes named Mount Keralia would deal this game to permanents you control.
SVar:RolledChaos:DB$ Effect | Name$ Mount Keralia Effect | ReplacementEffects$ RPrevent | EffectOwner$ You | Duration$ Permanent | SpellDescription$ Prevent all damage that planes named CARDNAME would deal this game to permanents you control.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ Permanent.YouCtrl | ValidSource$ Plane.namedMount Keralia | Description$ Prevent all damage that planes named Mount Keralia would deal this game to permanents you control.
SVar:KeraliaX:TriggeredCard$CardCounters.PRESSURE
SVar:AIRollPlanarDieParams:Mode$ Always | LowPriority$ True
SVar:Picture:http://www.wizards.com/global/images/magic/general/mount_keralia.jpg

View File

@@ -4,8 +4,8 @@ Types:Artifact
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ Imprint — When CARDNAME enters the battlefield, you may exile target card from a graveyard.
SVar:TrigExile:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Card | Imprint$ True
A:AB$ ChooseSource | Cost$ 2 T | Choices$ Card.SharesColorWith Imprinted | ChoiceTitle$ Choose a source that shares a color with the exiled card | RememberChosen$ True | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ Prevent all damage that would be dealt this turn by a source of your choice that shares a color with the exiled card.
SVar:DBEffect:DB$ Effect | StaticAbilities$ PreventFromSource | References$ PreventFromSource | RememberObjects$ Remembered | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup
SVar:PreventFromSource:Mode$ PreventDamage | EffectZone$ Command | Source$ Card.IsRemembered | Description$ Prevent all damage that would be dealt by a source of your choice that shares a color with the exiled card.
SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPrevent | RememberObjects$ Remembered | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidSource$ Card.IsRemembered | Description$ Prevent all damage that would be dealt by a source of your choice that shares a color with the exiled card.
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
T:Mode$ ChangesZone | Origin$ Battlefield | ValidCard$ Card.Self | Destination$ Any | Execute$ DBCleanImprinted | Static$ True
SVar:DBCleanImprinted:DB$ Cleanup | ClearImprinted$ True

View File

@@ -3,6 +3,6 @@ ManaCost:1 W
Types:Enchantment Aura
K:Enchant creature
A:SP$ Attach | Cost$ 1 W | ValidTgts$ Creature | AILogic$ Curse
S:Mode$ PreventDamage | Source$ Creature.EnchantedBy | Description$ Prevent all damage that would be dealt by enchanted creature.
R:Event$ DamageDone | Prevent$ True | ValidSource$ Creature.EnchantedBy | Description$ Prevent all damage that would be dealt by enchanted creature.
SVar:Picture:http://www.wizards.com/global/images/magic/general/muzzle.jpg
Oracle:Enchant creature\nPrevent all damage that would be dealt by enchanted creature.

View File

@@ -1,7 +1,7 @@
Name:Personal Sanctuary
ManaCost:2 W
Types:Enchantment
S:Mode$ PreventDamage | Target$ You | Condition$ PlayerTurn | Description$ During your turn, prevent all damage that would be dealt to you.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ You | PlayerTurn$ True | Description$ During your turn, prevent all damage that would be dealt to you.
SVar:NonStackingEffect:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/personal_sanctuary.jpg
Oracle:During your turn, prevent all damage that would be dealt to you.

View File

@@ -3,8 +3,8 @@ ManaCost:2 W
Types:Instant
K:Flashback tapXType<1/Creature.White/white creature>
A:SP$ ChooseColor | Cost$ 2 W | Defined$ You | AILogic$ MostProminentInHumanDeck | SubAbility$ DBEffect
SVar:DBEffect:DB$ Effect | Name$ Prismatic Strands Effect | StaticAbilities$ STPrevent | SpellDescription$ Prevent all damage that sources of the color of your choice would deal this turn.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Target$ Creature,Player | Source$ Card.ChosenColor | Description$ Prevent all damage that sources of the chosen color would deal this turn.
SVar:DBEffect:DB$ Effect | Name$ Prismatic Strands Effect | ReplacementEffects$ RPrevent | SpellDescription$ Prevent all damage that sources of the color of your choice would deal this turn.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidSource$ Card.ChosenColor | Description$ Prevent all damage that sources of the chosen color would deal this turn.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/prismatic_strands.jpg
Oracle:Prevent all damage that sources of the color of your choice would deal this turn.\nFlashback—Tap an untapped white creature you control. (You may cast this card from your graveyard for its flashback cost. Then exile it.)

View File

@@ -4,7 +4,7 @@ Types:Enchantment Aura
K:Enchant creature
A:SP$ Attach | Cost$ 1 W | ValidTgts$ Creature | AILogic$ Pump
K:ETBReplacement:Other:ChooseColor
SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentInHumanDeck
S:Mode$ PreventDamage | Target$ Creature.EnchantedBy | Source$ Card.ChosenColor | Description$ Prevent all damage that would be dealt to enchanted creature by sources of the chosen color.
SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentInHumanDeck | SpellDescription$ As CARDNAME enters the battlefield, choose a color.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ Creature.EnchantedBy | ValidSource$ Card.ChosenColor | Description$ Prevent all damage that would be dealt to enchanted creature by sources of the chosen color.
SVar:Picture:http://www.wizards.com/global/images/magic/general/prismatic_ward.jpg
Oracle:Enchant creature\nAs Prismatic Ward enters the battlefield, choose a color.\nPrevent all damage that would be dealt to enchanted creature by sources of the chosen color.

View File

@@ -2,8 +2,8 @@ Name:Protective Sphere
ManaCost:2 W
Types:Enchantment
A:AB$ ChooseSource | Cost$ 1 PayLife<1> | Choices$ Card.SharesColorWith ActivationColor | RememberChosen$ True | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ Prevent all damage that would be dealt to you this turn by a source of your choice that shares a color with the mana spent on this activation cost. (Colorless mana prevents no damage.)
SVar:DBEffect:DB$ Effect | StaticAbilities$ PreventFromSource | References$ PreventFromSource | RememberObjects$ Remembered | SubAbility$ DBCleanup | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup
SVar:PreventFromSource:Mode$ PreventDamage | EffectZone$ Command | Target$ You | Source$ Card.IsRemembered | Description$ Prevent all damage that would be dealt to you by a source of your choice that shares a color with the mana spent on this activation cost.
SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPrevent | RememberObjects$ Remembered | SubAbility$ DBCleanup | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ You | ValidSource$ Card.IsRemembered | Description$ Prevent all damage that would be dealt to you by a source of your choice that shares a color with the mana spent on this activation cost.
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:RemAIDeck:True
SVar:RemRandomDeck:True

View File

@@ -2,8 +2,8 @@ Name:Radiant Kavu
ManaCost:R G W
Types:Creature Kavu
PT:3/3
A:AB$ Effect | Cost$ R G W | Name$ Radiant Kavu Effect | StaticAbilities$ STPrevent | SpellDescription$ Prevent all combat damage blue creatures and black creatures would deal this turn.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Source$ Creature.Blue,Creature.Black | CombatDamage$ True | Description$ Prevent all combat damage blue creatures and black creatures would deal this turn.
A:AB$ Effect | Cost$ R G W | Name$ Radiant Kavu Effect | ReplacementEffects$ RPrevent | SpellDescription$ Prevent all combat damage blue creatures and black creatures would deal this turn.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidSource$ Creature.Blue,Creature.Black | Description$ Prevent all combat damage blue creatures and black creatures would deal this turn.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/radiant_kavu.jpg
Oracle:{R}{G}{W}: Prevent all combat damage blue creatures and black creatures would deal this turn.

View File

@@ -1,8 +1,8 @@
Name:Repel the Abominable
ManaCost:1 W
Types:Instant
A:SP$ Effect | Cost$ 1 W | Name$ Repel the Abominable Effect | StaticAbilities$ STPrevent | SpellDescription$ Prevent all damage that would be dealt this turn by non-Human sources.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Source$ Card.nonHuman | Description$ Prevent all damage that would be dealt this turn by non-Human sources.
A:SP$ Effect | Cost$ 1 W | Name$ Repel the Abominable Effect | ReplacementEffects$ RPrevent | SpellDescription$ Prevent all damage that would be dealt this turn by non-Human sources.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ValidSource$ Card.nonHuman,Emblem | ActiveZones$ Command | Description$ Prevent all damage that would be dealt this turn by non-Human sources.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/repel_the_abominable.jpg
Oracle:Prevent all damage that would be dealt this turn by non-Human sources.

View File

@@ -2,8 +2,8 @@ Name:Riot Control
ManaCost:2 W
Types:Instant
A:SP$ GainLife | Cost$ 2 W | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBEffect | SpellDescription$ You gain 1 life for each creature your opponents control. Prevent all damage that would be dealt to you this turn.
SVar:DBEffect:DB$ Effect | StaticAbilities$ STPrevent
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Target$ You | Description$ Prevent all damage that would be dealt to you this turn.
SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPrevent
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ You | Description$ Prevent all damage that would be dealt to you this turn.
SVar:X:Count$Valid Creature.OppCtrl
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/riot_control.jpg

View File

@@ -1,7 +1,7 @@
Name:Safe Passage
ManaCost:2 W
Types:Instant
A:SP$ Effect | Cost$ 2 W | Name$ Safe Passage Effect | StaticAbilities$ STPrevent | AILogic$ Fog | SpellDescription$ Prevent all damage that would be dealt to you and creatures you control this turn.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Target$ You,Creature.YouCtrl | Description$ Prevent all damage that would be dealt to you and creatures you control this turn.
A:SP$ Effect | Cost$ 2 W | Name$ Safe Passage Effect | ReplacementEffects$ RPrevent | AILogic$ Fog | SpellDescription$ Prevent all damage that would be dealt to you and creatures you control this turn.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ You,Creature.YouCtrl | Description$ Prevent all damage that would be dealt to you and creatures you control this turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/safe_passage.jpg
Oracle:Prevent all damage that would be dealt to you and creatures you control this turn.

View File

@@ -2,8 +2,8 @@ Name:Scarecrow
ManaCost:5
Types:Artifact Creature Scarecrow
PT:2/2
A:AB$ Effect | Cost$ 6 T | Name$ Scarecrow Effect | StaticAbilities$ STPrevent | SpellDescription$ Prevent all damage that would be dealt to you this turn by creatures with flying.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Target$ You | Source$ Creature.withFlying | Description$ Prevent all damage that would be dealt to you this turn by creatures with flying.
A:AB$ Effect | Cost$ 6 T | Name$ Scarecrow Effect | ReplacementEffects$ RPrevent | SpellDescription$ Prevent all damage that would be dealt to you this turn by creatures with flying.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ You | ValidSource$ Creature.withFlying | Description$ Prevent all damage that would be dealt to you this turn by creatures with flying.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/scarecrow.jpg
Oracle:{6}, {T}: Prevent all damage that would be dealt to you this turn by creatures with flying.

View File

@@ -4,8 +4,8 @@ Types:Creature Human Soldier
PT:1/1
K:Flash
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ DBEffect | TriggerDescription$ When CARDNAME enters the battlefield, prevent all damage that would be dealt to you this turn.
SVar:DBEffect:DB$ Effect | StaticAbilities$ Prevent | SVars$ Prevent
SVar:Prevent:Mode$ PreventDamage | EffectZone$ Command | Target$ You | Description$ Prevent all damage that would be dealt to you this turn.
SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPrevent
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ You | Description$ Prevent all damage that would be dealt to you this turn.
T:Mode$ DamagePreventedOnce | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigPut | References$ X | TriggerDescription$ Whenever damage that would be dealt to you is prevented, put that many +1/+1 counters on CARDNAME.
SVar:TrigPut:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X
SVar:X:TriggerCount$DamageAmount

View File

@@ -3,11 +3,9 @@ ManaCost:2 W
Types:Creature Human Cleric
PT:1/3
A:AB$ ChangeZone | Cost$ T | ValidTgts$ Card.OppOwn | TgtPrompt$ Select target card in an opponent's graveyard | Origin$ Graveyard | Destination$ Hand | SubAbility$ DBChooseSource | SpellDescription$ Return target card from an opponent's graveyard to his or her hand. Prevent all damage that would be dealt to target creature or player this turn by a source of your choice.
SVar:DBChooseSource:DB$ ChooseSource | Choices$ Card | AILogic$ NeedsPrevention | SubAbility$ DBEffect
SVar:DBEffect:DB$ Effect | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player to prevent damage | Triggers$ OutOfSight | StaticAbilities$ PreventFromSource | References$ PreventFromSource,OutOfSight,ExileEffect | RememberObjects$ TargetedPlayer,ThisTargetedCard | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup
SVar:OutOfSight:Mode$ ChangesZone | TriggerZones$ Command | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.IsRemembered | Execute$ ExileEffect | Static$ True
SVar:PreventFromSource:Mode$ PreventDamage | EffectZone$ Command | Source$ Card.ChosenCard | Target$ Player.IsRemembered,Card.IsRemembered | Description$ Prevent all damage that would be dealt to target creature or player this turn by a source of your choice.
SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile
SVar:DBChooseSource:DB$ ChooseSource | Choices$ Card,Emblem | AILogic$ NeedsPrevention | SubAbility$ DBEffect
SVar:DBEffect:DB$ Effect | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player to prevent damage | ForgetOnMoved$ Battlefield | ReplacementEffects$ RPrevent | References$ RPrevent | RememberObjects$ TargetedPlayer,ThisTargetedCard | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidSource$ Card.ChosenCard | ValidTarget$ Player.IsRemembered,Card.IsRemembered | Description$ Prevent all damage that would be dealt to target creature or player this turn by a source of your choice.
SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/shieldmage_advocate.jpg

View File

@@ -2,8 +2,8 @@ Name:Sivvi's Ruse
ManaCost:2 W W
Types:Instant
S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ All | AddKeyword$ Alternative Cost:0 | CheckSVar$ X | CheckSecondSVar$ Y | Description$ If an opponent controls a Mountain and you control a Plains, you may cast CARDNAME without paying its mana cost.
A:SP$ Effect | Cost$ 2 W W | Name$ Sivvi's Ruse Effect | StaticAbilities$ STPrevent | SpellDescription$ Prevent all damage that would be dealt this turn to creatures you control.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Target$ Creature.YouCtrl | Description$ Prevent all damage that would be dealt this turn to creatures you control.
A:SP$ Effect | Cost$ 2 W W | Name$ Sivvi's Ruse Effect | ReplacementEffects$ RPrevent | SpellDescription$ Prevent all damage that would be dealt this turn to creatures you control.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ Creature.YouCtrl | Description$ Prevent all damage that would be dealt this turn to creatures you control.
SVar:X:Count$Valid Mountain.OppCtrl
SVar:Y:Count$Valid Plains.YouCtrl
SVar:RemAIDeck:True

View File

@@ -2,7 +2,7 @@ Name:Snag
ManaCost:3 G
Types:Instant
SVar:AltCost:Cost$ Discard<1/Forest>
A:SP$ Effect | Cost$ 3 G | Name$ Snag Effect | StaticAbilities$ STPrevent | AILogic$ Fog | SpellDescription$ Prevent all combat damage that would be dealt by unblocked creatures this turn.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Source$ Creature.unblocked | CombatDamage$ True | Description$ Prevent all combat damage that would be dealt by unblocked creatures this turn.
A:SP$ Effect | Cost$ 3 G | Name$ Snag Effect | ReplacementEffects$ RPrevent | AILogic$ Fog | SpellDescription$ Prevent all combat damage that would be dealt by unblocked creatures this turn.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidSource$ Creature.unblocked | Description$ Prevent all combat damage that would be dealt by unblocked creatures this turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/snag.jpg
Oracle:You may discard a Forest card rather than pay Snag's mana cost.\nPrevent all combat damage that would be dealt by unblocked creatures this turn.

View File

@@ -4,7 +4,7 @@ Types:Enchantment
K:UpkeepCost:Discard<1/Card>
S:Mode$ Continuous | Affected$ You | AddKeyword$ Skip your draw step. | Description$ Skip your draw step.
S:Mode$ Continuous | Affected$ You | AddKeyword$ Shroud | Description$ You have shroud. (You can't be the target of spells or abilities.)
S:Mode$ PreventDamage | Target$ You | Description$ Prevent all damage that would be dealt to you.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ You | Description$ Prevent all damage that would be dealt to you.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/solitary_confinement.jpg
Oracle:At the beginning of your upkeep, sacrifice Solitary Confinement unless you discard a card.\nSkip your draw step.\nYou have shroud. (You can't be the target of spells or abilities.)\nPrevent all damage that would be dealt to you.

View File

@@ -2,10 +2,8 @@ Name:Stonewise Fortifier
ManaCost:1 W
Types:Creature Human Wizard
PT:2/2
A:AB$ Effect | Cost$ 4 W | ValidTgts$ Creature | RememberObjects$ Targeted | ImprintCards$ Self | Triggers$ OutOfSight | SVars$ ExileSelf | StaticAbilities$ STPrevent | SpellDescription$ Prevent all damage that would be dealt to CARDNAME by target creature this turn.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Target$ Card.IsImprinted | Source$ Creature.IsRemembered | Description$ Prevent all damage that would be dealt to CARDNAME by target creature this turn.
SVar:OutOfSight:Mode$ ChangesZone | TriggerZones$ Command | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.IsRemembered,Card.IsImprinted | Execute$ ExileSelf | Static$ True
SVar:ExileSelf:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile
A:AB$ Effect | Cost$ 4 W | ValidTgts$ Creature | RememberObjects$ Targeted | ImprintCards$ Self | ForgetOnMoved$ Battlefield | ReplacementEffects$ RPrevent | Duration$ HostLeavesOrEOT | SpellDescription$ Prevent all damage that would be dealt to CARDNAME by target creature this turn.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidTarget$ Card.IsImprinted | ValidSource$ Creature.IsRemembered | Description$ Prevent all damage that would be dealt to CARDNAME by target creature this turn.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/stonewise_fortifier.jpg
Oracle:{4}{W}: Prevent all damage that would be dealt to Stonewise Fortifier by target creature this turn.

View File

@@ -2,6 +2,6 @@ Name:Talruum Piper
ManaCost:4 R
Types:Creature Minotaur
PT:3/3
K:All creatures with flying able to block CARDNAME do so.
K:MustBeBlockedByAll:Creature.withFlying:All creatures with flying able to block CARDNAME do so.
SVar:Picture:http://www.wizards.com/global/images/magic/general/talruum_piper.jpg
Oracle:All creatures with flying able to block Talruum Piper do so.

View File

@@ -1,7 +1,7 @@
Name:Tanglesap
ManaCost:1 G
Types:Instant
A:SP$ Effect | Cost$ 1 G | Name$ Tanglesap Effect | StaticAbilities$ STPrevent | AILogic$ Fog | SpellDescription$ Prevent all combat damage that would be dealt this turn by creatures without trample.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Source$ Creature.withoutTrample | CombatDamage$ True | Description$ Prevent all combat damage that would be dealt this turn by creatures without trample.
A:SP$ Effect | Cost$ 1 G | Name$ Tanglesap Effect | ReplacementEffects$ RPrevent | AILogic$ Fog | SpellDescription$ Prevent all combat damage that would be dealt this turn by creatures without trample.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidSource$ Creature.withoutTrample | Description$ Prevent all combat damage that would be dealt this turn by creatures without trample.
SVar:Picture:http://www.wizards.com/global/images/magic/general/tanglesap.jpg
Oracle:Prevent all combat damage that would be dealt this turn by creatures without trample.

View File

@@ -1,8 +1,8 @@
Name:Terrifying Presence
ManaCost:1 G
Types:Instant
A:SP$ Effect | Cost$ 1 G | Name$ Terrifying Presence Effect | ValidTgts$ Creature | TgtPrompt$ Select target creature | StaticAbilities$ STPrevent | RememberObjects$ Targeted | SpellDescription$ Prevent all damage that would be dealt this turn by creatures other than target creature.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Source$ Creature.IsNotRemembered | CombatDamage$ True | Description$ Prevent all damage that would be dealt this turn by creatures other than target creature.
A:SP$ Effect | Cost$ 1 G | Name$ Terrifying Presence Effect | ValidTgts$ Creature | TgtPrompt$ Select target creature | ReplacementEffects$ RPrevent | RememberObjects$ Targeted | SpellDescription$ Prevent all damage that would be dealt this turn by creatures other than target creature.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidSource$ Creature.IsNotRemembered | Description$ Prevent all damage that would be dealt this turn by creatures other than target creature.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/terrifying_presence.jpg
Oracle:Prevent all combat damage that would be dealt by creatures other than target creature this turn.

View File

@@ -1,8 +1,8 @@
Name:Vine Snare
ManaCost:2 G
Types:Instant
A:SP$ Effect | Cost$ 2 G | Name$ Vine Snare Effect | StaticAbilities$ STPrevent | AILogic$ Fog | SpellDescription$ Prevent all combat damage that would be dealt this turn by creatures with power 4 or less.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Source$ Creature.powerLE4 | CombatDamage$ True | Description$ Prevent all combat damage that would be dealt this turn by creatures with power 4 or less.
A:SP$ Effect | Cost$ 2 G | Name$ Vine Snare Effect | ReplacementEffects$ RPrevent | AILogic$ Fog | SpellDescription$ Prevent all combat damage that would be dealt this turn by creatures with power 4 or less.
SVar:RPrevent:Event$ DamageDone | Prevent$ True | ValidSource$ Creature.powerLE4 | IsCombat$ True | ActiveZones$ Command | Description$ Prevent all combat damage that would be dealt this turn by creatures with power 4 or less.
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/vine_snare.jpg
Oracle:Prevent all combat damage that would be dealt this turn by creatures with power 4 or less.

View File

@@ -1,7 +1,7 @@
Name:Well-Laid Plans
ManaCost:2 U
Types:Enchantment
S:Mode$ PreventDamage | Source$ Creature | Target$ Creature | SourceSharesColorWithTarget$ True | Description$ Prevent all damage that would be dealt to a creature by another creature if they share a color.
R:Event$ DamageDone | Prevent$ True | ValidTarget$ Creature | ValidSource$ Creature | RelativeToSource$ Creature.SharesColorWith | Description$ Prevent all damage that would be dealt to a creature by another creature if they share a color.
SVar:NonStackingEffect:True
SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/well_laid_plans.jpg

View File

@@ -1,10 +1,10 @@
Name:Winds of Qal Sisma
ManaCost:1 G
Types:Instant
A:SP$ Effect | Cost$ 1 G | Name$ Winds of Qal Sisma Effect | StaticAbilities$ STPrevent1 | AILogic$ Fog | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ DBEffect | SpellDescription$ Prevent all combat damage that would be dealt this turn. Ferocious — If you control a creature with power 4 or greater, instead prevent all combat damage that would be dealt this turn by creatures your opponents control.
SVar:DBEffect:DB$ Effect | Name$ Winds of Qal Sisma Effect | StaticAbilities$ STPrevent2 | AILogic$ Fog | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X
SVar:STPrevent1:Mode$ PreventDamage | EffectZone$ Command | Source$ Creature | CombatDamage$ True | Description$ Prevent all combat damage that would be dealt this turn.
SVar:STPrevent2:Mode$ PreventDamage | EffectZone$ Command | Source$ Creature.OppCtrl | CombatDamage$ True | Description$ Prevent all combat damage that would be dealt this turn by creatures your opponents control.
A:SP$ Effect | Cost$ 1 G | Name$ Winds of Qal Sisma Effect | ReplacementEffects$ RPrevent1 | AILogic$ Fog | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ DBEffect | SpellDescription$ Prevent all combat damage that would be dealt this turn. Ferocious — If you control a creature with power 4 or greater, instead prevent all combat damage that would be dealt this turn by creatures your opponents control.
SVar:DBEffect:DB$ Effect | Name$ Winds of Qal Sisma Effect | ReplacementEffects$ RPrevent2 | AILogic$ Fog | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X
SVar:RPrevent1:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | Description$ Prevent all combat damage that would be dealt this turn.
SVar:RPrevent2:Event$ DamageDone | Prevent$ True | ValidSource$ Creature.OppCtrl | IsCombat$ True | ActiveZones$ Command | Description$ Prevent all combat damage that would be dealt this turn by creatures your opponents control.
SVar:X:Count$Valid Creature.YouCtrl+powerGE4
SVar:Picture:http://www.wizards.com/global/images/magic/general/winds_of_qal_sisma.jpg
Oracle:Prevent all combat damage that would be dealt this turn.\nFerocious — If you control a creature with power 4 or greater, instead prevent all combat damage that would be dealt this turn by creatures your opponents control.