Commit 0b84d118 authored by Hans Mackowiak's avatar Hans Mackowiak

CombatUtil: remove CantBlock and CantBlockCardUID keywords

parent 0ebb4304
......@@ -1646,7 +1646,7 @@ public class AttachAi extends SpellAbilityAi {
return ComputerUtilCombat.canAttackNextTurn(card) && card.getNetCombatDamage() >= 1;
} else if (keyword.endsWith("CARDNAME attacks each turn if able.") || keyword.endsWith("CARDNAME attacks each combat if able.")) {
return ComputerUtilCombat.canAttackNextTurn(card) && CombatUtil.canBlock(card, true) && !ai.getCreaturesInPlay().isEmpty();
} else if (keyword.endsWith("CARDNAME can't block.") || keyword.contains("CantBlock")) {
} else if (keyword.endsWith("CARDNAME can't block.")) {
return CombatUtil.canBlock(card, true);
} else if (keyword.endsWith("CARDNAME's activated abilities can't be activated.")) {
for (SpellAbility ability : card.getSpellAbilities()) {
......
......@@ -154,14 +154,6 @@ public abstract class PumpAiBase extends SpellAbilityAi {
}
});
return CombatUtil.canBlockAtLeastOne(card, attackers);
} else if (keyword.endsWith("CantBlockCardUIDSource")) { // can't block CARDNAME this turn
if (!ph.isPlayerTurn(ai) || ph.getPhase().isAfter(PhaseType.COMBAT_DECLARE_BLOCKERS)
|| ph.getPhase().isBefore(PhaseType.MAIN1) || !CombatUtil.canBlock(sa.getHostCard(), card)) {
return false;
}
// target needs to be a creature, controlled by the player which is attacked
return !sa.getHostCard().isTapped() || (combat != null && combat.isAttacking(sa.getHostCard())
&& card.getController().equals(combat.getDefenderPlayerByAttacker(sa.getHostCard())));
} else if (keyword.endsWith("This card doesn't untap during your next untap step.")) {
return !ph.getPhase().isBefore(PhaseType.MAIN2) && !card.isUntapped() && ph.isPlayerTurn(ai)
&& Untap.canUntap(card);
......
......@@ -162,6 +162,9 @@ public abstract class CardTraitBase extends GameObject implements IHasCardView,
* @return a boolean.
*/
public boolean matchesValid(final Object o, final String[] valids, final Card srcCard) {
if (srcCard == null) {
return false;
}
return matchesValid(o, valids, srcCard, srcCard.getController());
}
......
......@@ -2104,14 +2104,6 @@ public class Card extends GameEntity implements Comparable<Card>, IHasSVars {
} else if (keyword.startsWith("CantBeBlockedByAmount")) {
sbLong.append(getName()).append(" can't be blocked ");
sbLong.append(getTextForKwCantBeBlockedByAmount(keyword));
} else if (keyword.startsWith("CantBlock")) {
sbLong.append(getName()).append(" can't block ");
if (keyword.contains("CardUID")) {
sbLong.append("CardID (").append(Integer.valueOf(keyword.split("CantBlockCardUID_")[1])).append(")");
} else {
final String[] k = keyword.split(":");
sbLong.append(k.length > 1 ? k[1] + ".\r\n" : "");
}
} else if (keyword.equals("Unblockable")) {
sbLong.append(getName()).append(" can't be blocked.\r\n");
} else if (keyword.equals("AllNonLegendaryCreatureNames")) {
......
......@@ -1088,23 +1088,6 @@ public class CombatUtil {
}
}
for (KeywordInterface inst : blocker.getKeywords()) {
String keyword = inst.getOriginal();
if (keyword.startsWith("CantBlockCardUID")) {
final String[] k = keyword.split("_", 2);
if (attacker.getId() == Integer.parseInt(k[1])) {
return false;
}
} else if (keyword.startsWith("CantBlock")) {
final String[] parse0 = keyword.split(":");
final String[] k = parse0[0].split(" ", 2);
final String[] restrictions = k[1].split(",");
if (attacker.isValid(restrictions, blocker.getController(), blocker, null)) {
return false;
}
}
}
if (attacker.hasKeyword(Keyword.FLYING) && !blocker.hasKeyword(Keyword.FLYING) && !blocker.hasKeyword(Keyword.REACH)) {
boolean stillblock = false;
for (KeywordInterface inst : blocker.getKeywords()) {
......
......@@ -2,8 +2,8 @@ Name:Auriok Siege Sled
ManaCost:6
Types:Artifact Creature Juggernaut
PT:3/5
A:AB$ Pump | Cost$ 1 | ValidTgts$ Creature.Artifact | TgtPrompt$ Select target artifact creature that can't block this creature this turn | IsCurse$ True | KW$ HIDDEN CantBlockCardUIDSource | DefinedKW$ CardUIDSource | UntilHostLeavesPlayOrEOT$ True | StackDescription$ {c:Targeted} can't block CARDNAME this turn. | SpellDescription$ Target artifact creature can't block CARDNAME this turn.
A:AB$ MustBlock | Cost$ 1 | ValidTgts$ Creature.Artifact | TgtPrompt$ Select target artifact creature to block this creature | SpellDescription$ Target artifact creature blocks CARDNAME this turn if able.
A:AB$ Effect | Cost$ 1 | ValidTgts$ Creature.Artifact | TgtPrompt$ Select target artifact creature that can't block this creature this turn | IsCurse$ True | RememberObjects$ TargetedCard | ForgetOnMoved$ Battlefield | StaticAbilities$ KWPump | Duration$ HostLeavesOrEOT | StackDescription$ {c:Targeted} can't block CARDNAME this turn. | SpellDescription$ Target artifact creature can't block CARDNAME this turn.
SVar:KWPump:Mode$ CantBlockBy | ValidAttacker$ Creature.EffectSource | ValidBlocker$ Creature.IsRemembered | Description$ {c:Remembered} can't block EFFECTSOURCE this turn.
AI:RemoveDeck:All
SVar:Picture:http://www.wizards.com/global/images/magic/general/auriok_siege_sled.jpg
Oracle:{1}: Target artifact creature blocks Auriok Siege Sled this turn if able.\n{1}: Target artifact creature can't block Auriok Siege Sled this turn.
......@@ -2,8 +2,7 @@ Name:Boldwyr Intimidator
ManaCost:5 R R
Types:Creature Giant Warrior
PT:5/5
S:Mode$ Continuous | Affected$ Creature.Coward | AddHiddenKeyword$ CantBlock Creature.Warrior:Warriors | Description$ Cowards can't block Warriors.
S:Mode$ CantBlockBy | ValidAttacker$ Creature.Warrior | ValidBlocker$ Creature.Coward | Description$ Cowards can't block Warriors.
A:AB$ Animate | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | Types$ Coward | RemoveCreatureTypes$ True | SpellDescription$ Target creature becomes a Coward until end of turn.
A:AB$ Animate | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | Types$ Warrior | RemoveCreatureTypes$ True | SpellDescription$ Target creature becomes a Warrior until end of turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/boldwyr_intimidator.jpg
Oracle:Cowards can't block Warriors.\n{R}: Target creature becomes a Coward until end of turn.\n{2}{R}: Target creature becomes a Warrior until end of turn.
......@@ -2,6 +2,5 @@ Name:Brassclaw Orcs
ManaCost:2 R
Types:Creature Orc
PT:3/2
K:CantBlock Creature.powerGE2:creatures with power 2 or greater
SVar:Picture:http://www.wizards.com/global/images/magic/general/brassclaw_orcs.jpg
S:Mode$ CantBlockBy | ValidAttacker$ Creature.powerGE2 | ValidBlocker$ Creature.Self | Description$ CARDNAME can't block creatures with power 2 or greater.
Oracle:Brassclaw Orcs can't block creatures with power 2 or greater.
......@@ -3,8 +3,8 @@ ManaCost:2 R G
Types:Creature Viashino Berserker
PT:2/2
K:Bloodthirst:1
A:AB$ Pump | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature that can't block this creature this turn | IsCurse$ True | KW$ HIDDEN CantBlockCardUIDSource | DefinedKW$ CardUIDSource | UntilHostLeavesPlayOrEOT$ True | StackDescription$ {c:Targeted} can't block CARDNAME this turn. | SpellDescription$ Target creature can't block CARDNAME this turn.
A:AB$ Effect | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature that can't block this creature this turn | IsCurse$ True | RememberObjects$ TargetedCard | ForgetOnMoved$ Battlefield | StaticAbilities$ KWPump | Duration$ HostLeavesOrEOT | StackDescription$ {c:Targeted} can't block CARDNAME this turn. | SpellDescription$ Target creature can't block CARDNAME this turn.
SVar:KWPump:Mode$ CantBlockBy | ValidAttacker$ Creature.EffectSource | ValidBlocker$ Creature.IsRemembered | Description$ {c:Remembered} can't block EFFECTSOURCE this turn.
A:AB$ MustBlock | Cost$ 2 G | ValidTgts$ Creature | TgtPrompt$ Select target creature that must block this creature this turn | SpellDescription$ Target creature blocks CARDNAME this turn if able.
AI:RemoveDeck:All
SVar:Picture:http://www.wizards.com/global/images/magic/general/burning_tree_bloodscale.jpg
Oracle:Bloodthirst 1 (If an opponent was dealt damage this turn, this creature enters the battlefield with a +1/+1 counter on it.)\n{2}{R}: Target creature can't block Burning-Tree Bloodscale this turn.\n{2}{G}: Target creature blocks Burning-Tree Bloodscale this turn if able.
Name:Cosmotronic Wave
ManaCost:3 R
Types:Sorcery
A:SP$ DamageAll | Cost$ 3 R | ValidCards$ Creature.OppCtrl | NumDmg$ 1 | SubAbility$ CantBlock | SpellDescription$ CARDNAME deals 1 damage to each creature your opponents control. Creatures your opponents control can't block this turn.
SVar:CantBlock:DB$ Effect | Name$ Cosmotronic Wave Effect | StaticAbilities$ KWPump | SpellDescription$ Creatures your opponents control can't block this turn.
SVar:KWPump:Mode$ Continuous | EffectZone$ Command | Affected$ Creature.OppCtrl | AddHiddenKeyword$ CARDNAME can't block. | Description$ Creatures your opponents control can't block this turn.
A:SP$ DamageAll | Cost$ 3 R | ValidCards$ Creature.OppCtrl | NumDmg$ 1 | SubAbility$ OppCantBlock | SpellDescription$ CARDNAME deals 1 damage to each creature your opponents control. Creatures your opponents control can't block this turn.
SVar:OppCantBlock:DB$ Effect | Name$ Cosmotronic Wave Effect | StaticAbilities$ KWPump | SpellDescription$ Creatures your opponents control can't block this turn.
SVar:KWPump:Mode$ CantBlockBy | ValidBlocker$ Creature.OppCtrl | Description$ Creatures your opponents control can't block this turn.
Oracle:Cosmotronic Wave deals 1 damage to each creature your opponents control. Creatures your opponents control can't block this turn.
......@@ -2,7 +2,6 @@ Name:Cyclops Tyrant
ManaCost:5 R
Types:Creature Cyclops
PT:3/4
K:CantBlock Creature.powerLE2:creatures with power 2 or less
S:Mode$ CantBlockBy | ValidAttacker$ Creature.powerLE2 | ValidBlocker$ Creature.Self | Description$ CARDNAME can't block creatures with power 2 or less.
K:Intimidate
SVar:Picture:http://www.wizards.com/global/images/magic/general/cyclops_tyrant.jpg
Oracle:Intimidate (This creature can't be blocked except by artifact creatures and/or creatures that share a color with it.)\nCyclops Tyrant can't block creatures with power 2 or less.
......@@ -2,7 +2,8 @@ Name:Duct Crawler
ManaCost:R
Types:Creature Insect
PT:1/1
A:AB$ Pump | Cost$ 1 R | ValidTgts$ Creature | TgtPrompt$ Select target creature that can't block this creature this turn | IsCurse$ True | KW$ HIDDEN CantBlockCardUIDSource | DefinedKW$ CardUIDSource | UntilHostLeavesPlayOrEOT$ True | StackDescription$ {c:Targeted} can't block CARDNAME this turn. | SpellDescription$ Target creature can't block CARDNAME this turn.
A:AB$ Effect | Cost$ 1 R | ValidTgts$ Creature | TgtPrompt$ Select target creature that can't block this creature this turn | IsCurse$ True | RememberObjects$ TargetedCard | ForgetOnMoved$ Battlefield | StaticAbilities$ KWPump | Duration$ HostLeavesOrEOT | StackDescription$ {c:Targeted} can't block CARDNAME this turn. | SpellDescription$ Target creature can't block CARDNAME this turn.
SVar:KWPump:Mode$ CantBlockBy | ValidAttacker$ Creature.EffectSource | ValidBlocker$ Creature.IsRemembered | Description$ {c:Remembered} can't block EFFECTSOURCE this turn.
AI:RemoveDeck:All
SVar:Picture:http://www.wizards.com/global/images/magic/general/duct_crawler.jpg
Oracle:{1}{R}: Target creature can't block Duct Crawler this turn.
Name:Ember Gale
ManaCost:3 R
Types:Sorcery
A:SP$ Effect | Cost$ 3 R | Name$ Ember Gale Effect | ValidTgts$ Player | TgtPrompt$ Select target player | AILogic$ Evasion | StaticAbilities$ CantBlock | RememberObjects$ Targeted | SubAbility$ DBDamage | SpellDescription$ Creatures target player controls can't block this turn. CARDNAME deals 1 damage to each white and/or blue creature that player controls.
A:SP$ Effect | Cost$ 3 R | Name$ Ember Gale Effect | ValidTgts$ Player | TgtPrompt$ Select target player | AILogic$ Evasion | StaticAbilities$ OppCantBlock | RememberObjects$ Targeted | SubAbility$ DBDamage | SpellDescription$ Creatures target player controls can't block this turn. CARDNAME deals 1 damage to each white and/or blue creature that player controls.
SVar:DBDamage:DB$ DamageAll | NumDmg$ 1 | ValidCards$ Creature.White+TargetedPlayerCtrl,Creature.Blue+TargetedPlayerCtrl | ValidDescription$ each creature that's white or blue that player controls.
SVar:CantBlock:Mode$ Continuous | EffectZone$ Command | Affected$ Creature.RememberedPlayerCtrl | AddHiddenKeyword$ CARDNAME can't block. | SubAbility$ DBDamage | SpellDescription$ Creatures targeted player controls can't block this turn.
SVar:OppCantBlock:Mode$ CantBlockBy | ValidBlocker$ Creature.RememberedPlayerCtrl | Description$ Creatures targeted player controls can't block this turn.
AI:RemoveDeck:All
SVar:Picture:http://www.wizards.com/global/images/magic/general/ember_gale.jpg
Oracle:Creatures target player controls can't block this turn. Ember Gale deals 1 damage to each white and/or blue creature that player controls.
......@@ -4,6 +4,6 @@ Types:Enchantment Aura
K:Enchant creature
A:SP$ Attach | Cost$ 2 R | ValidTgts$ Creature | AILogic$ Pump
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ 2 | AddToughness$ 2 | AddAbility$ CantBlockFT | Description$ Enchanted creature gets +2/+2 and has "{2}{R}: Target creature can't block this creature this turn."
SVar:CantBlockFT:AB$ Pump | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature that can't block this creature this turn | IsCurse$ True | KW$ HIDDEN CantBlockCardUIDSource | DefinedKW$ CardUIDSource | UntilHostLeavesPlayOrEOT$ True | StackDescription$ {c:Targeted} can't block CARDNAME this turn. | SpellDescription$ Target creature can't block CARDNAME this turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/fearsome_temper.jpg
SVar:CantBlockFT:AB$ Effect | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature that can't block this creature this turn | IsCurse$ True | RememberObjects$ TargetedCard | ForgetOnMoved$ Battlefield | StaticAbilities$ KWPump | Duration$ HostLeavesOrEOT | StackDescription$ {c:Targeted} can't block CARDNAME this turn. | SpellDescription$ Target creature can't block CARDNAME this turn.
SVar:KWPump:Mode$ CantBlockBy | ValidAttacker$ Creature.EffectSource | ValidBlocker$ Creature.IsRemembered | Description$ {c:Remembered} can't block EFFECTSOURCE this turn.
Oracle:Enchant creature\nEnchanted creature gets +2/+2 and has "{2}{R}: Target creature can't block this creature this turn."
......@@ -2,6 +2,5 @@ Name:Gibbering Hyenas
ManaCost:2 G
Types:Creature Hyena
PT:3/2
K:CantBlock Creature.Black:black creatures
SVar:Picture:http://www.wizards.com/global/images/magic/general/gibbering_hyenas.jpg
S:Mode$ CantBlockBy | ValidAttacker$ Creature.Black | ValidBlocker$ Creature.Self | Description$ CARDNAME can't block black creatures.
Oracle:Gibbering Hyenas can't block black creatures.
......@@ -4,6 +4,5 @@ Types:Creature Goblin Mutant
PT:5/3
K:Trample
S:Mode$ CantAttack | ValidCard$ Card.Self | IfDefenderControls$ Creature.untapped+powerGE3 | Description$ CARDNAME can't attack if defending player controls an untapped creature with power 3 or greater.
K:CantBlock Creature.powerGE3:creatures with power 3 or greater
SVar:Picture:http://www.wizards.com/global/images/magic/general/goblin_mutant.jpg
S:Mode$ CantBlockBy | ValidAttacker$ Creature.powerGE3 | ValidBlocker$ Creature.Self | Description$ CARDNAME can't block creatures with power 3 or greater.
Oracle:Trample\nGoblin Mutant can't attack if defending player controls an untapped creature with power 3 or greater.\nGoblin Mutant can't block creatures with power 3 or greater.
......@@ -3,6 +3,5 @@ ManaCost:2 U
Types:Creature Drake
PT:2/3
K:Flying
K:CantBlock Artifact.Creature:artifact creatures
SVar:Picture:http://www.wizards.com/global/images/magic/general/hinterland_drake.jpg
Oracle:Flying\nHinterland Drake can't block artifact creatures.
\ No newline at end of file
S:Mode$ CantBlockBy | ValidAttacker$ Creature.Artifact | ValidBlocker$ Creature.Self | Description$ CARDNAME can't block artifact creatures.
Oracle:Flying\nHinterland Drake can't block artifact creatures.
......@@ -2,6 +2,5 @@ Name:Hunted Ghoul
ManaCost:B
Types:Creature Zombie
PT:1/2
K:CantBlock Creature.Human:Humans
SVar:Picture:http://www.wizards.com/global/images/magic/general/hunted_ghoul.jpg
S:Mode$ CantBlockBy | ValidAttacker$ Creature.Human | ValidBlocker$ Creature.Self | Description$ CARDNAME can't block Humans.
Oracle:Hunted Ghoul can't block Humans.
......@@ -2,7 +2,6 @@ Name:Ironclaw Buzzardiers
ManaCost:2 R
Types:Creature Orc Scout
PT:2/2
K:CantBlock Creature.powerGE2:creatures with power 2 or greater
S:Mode$ CantBlockBy | ValidAttacker$ Creature.powerGE2 | ValidBlocker$ Creature.Self | Description$ CARDNAME can't block creatures with power 2 or greater.
A:AB$ Pump | Cost$ R | Defined$ Self | KW$ Flying | SpellDescription$ CARDNAME gains flying until end of turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/ironclaw_buzzardiers.jpg
Oracle:Ironclaw Buzzardiers can't block creatures with power 2 or greater.\n{R}: Ironclaw Buzzardiers gains flying until end of turn.
......@@ -3,7 +3,7 @@ ManaCost:R
Types:Enchantment Aura
K:Enchant creature
A:SP$ Attach | Cost$ R | ValidTgts$ Creature | AILogic$ Curse
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddToughness$ -1 | AddHiddenKeyword$ CantBlock Creature.powerGEIronclawX:creatures with power equal to or greater than the enchanted creature's toughness | AddSVar$ IronclawX | Description$ Enchanted creature gets -0/-1 and can't block creatures with power equal to or greater than the enchanted creature's toughness.
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddToughness$ -1 | Description$ Enchanted creature gets -0/-1 and can't block creatures with power equal to or greater than the enchanted creature's toughness.
S:Mode$ CantBlockBy | ValidAttackerRelative$ Creature.powerGEIronclawX | ValidBlocker$ Creature.EnchantedBy | Description$ Enchanted creature can't block creatures with power equal to or greater than the enchanted creature's toughness.
SVar:IronclawX:Count$CardToughness
SVar:Picture:http://www.wizards.com/global/images/magic/general/ironclaw_curse.jpg
Oracle:Enchant creature\nEnchanted creature gets -0/-1.\nEnchanted creature can't block creatures with power equal to or greater than the enchanted creature's toughness.
......@@ -2,6 +2,5 @@ Name:Ironclaw Orcs
ManaCost:1 R
Types:Creature Orc
PT:2/2
K:CantBlock Creature.powerGE2:creatures with power 2 or greater
SVar:Picture:http://www.wizards.com/global/images/magic/general/ironclaw_orcs.jpg
S:Mode$ CantBlockBy | ValidAttacker$ Creature.powerGE2 | ValidBlocker$ Creature.Self | Description$ CARDNAME can't block creatures with power 2 or greater.
Oracle:Ironclaw Orcs can't block creatures with power 2 or greater.
......@@ -2,11 +2,11 @@ Name:Kargan Intimidator
ManaCost:1 R
Types:Creature Human Warrior
PT:3/1
S:Mode$ Continuous | Affected$ Creature.Coward | AddHiddenKeyword$ CantBlock Creature.Warrior:Warriors | Description$ Cowards can't block Warriors.
SVar:PlayMain1:TRUE
S:Mode$ CantBlockBy | ValidAttacker$ Creature.Warrior | ValidBlocker$ Creature.Coward | Description$ Cowards can't block Warriors.
A:AB$ Charm | Cost$ 1 | Choices$ Pump,Coward,Trample | ChoiceRestriction$ ThisTurn | CharmNum$ 1
SVar:Pump:DB$ Pump | Defined$ Self | NumAtt$ 1 | NumDef$ 1 | SpellDescription$ CARDNAME gets +1/+1 until end of turn.
SVar:Coward:DB$ Animate | ValidTgts$ Creature | TgtPrompt$ Select target creature | Types$ Coward | RemoveCreatureTypes$ True | SpellDescription$ Target creature becomes a Coward until end of turn.
SVar:Trample:DB$ Pump | ValidTgts$ Warrior | TgtPrompt$ Select target Warrior | KW$ Trample | SpellDescription$ Target Warrior gains trample until end of turn.
DeckHints:Type$Warrior
SVar:PlayMain1:TRUE
Oracle:Cowards can't block Warriors.\n{1}: Choose one that hasn't been chosen this turn —\n• Kargan Intimidator gets +1/+1 until end of turn.\n• Target creature becomes a Coward until end of turn.\n• Target Warrior gains trample until end of turn.
......@@ -2,7 +2,7 @@ Name:Kozilek's Pathfinder
ManaCost:6
Types:Creature Eldrazi
PT:5/5
A:AB$ Pump | Cost$ C | ValidTgts$ Creature | TgtPrompt$ Select target creature | IsCurse$ True | KW$ HIDDEN CantBlockCardUIDSource | DefinedKW$ CardUIDSource | UntilHostLeavesPlayOrEOT$ True | StackDescription$ {c:Targeted} can't block CARDNAME this turn. | SpellDescription$ Target creature can't block CARDNAME this turn.
A:AB$ Effect | Cost$ C | ValidTgts$ Creature | TgtPrompt$ Select target creature that can't block this creature this turn | IsCurse$ True | RememberObjects$ TargetedCard | ForgetOnMoved$ Battlefield | StaticAbilities$ KWPump | Duration$ HostLeavesOrEOT | StackDescription$ {c:Targeted} can't block CARDNAME this turn. | SpellDescription$ Target creature can't block CARDNAME this turn.
SVar:KWPump:Mode$ CantBlockBy | ValidAttacker$ Creature.EffectSource | ValidBlocker$ Creature.IsRemembered | Description$ {c:Remembered} can't block EFFECTSOURCE this turn.
DeckHints:Ability$Mana.Colorless
SVar:Picture:http://www.wizards.com/global/images/magic/general/kozileks_pathfinder.jpg
Oracle:{C}: Target creature can't block Kozilek's Pathfinder this turn. ({C} represents colorless mana.)
......@@ -2,7 +2,6 @@ Name:Orcish Veteran
ManaCost:2 R
Types:Creature Orc
PT:2/2
K:CantBlock Creature.White+powerGE2:white creatures with power 2 or greater
S:Mode$ CantBlockBy | ValidAttacker$ Creature.White+powerGE2 | ValidBlocker$ Creature.Self | Description$ CARDNAME can't block white creatures with power 2 or greater.
A:AB$ Pump | Cost$ R | Defined$ Self | KW$ First Strike | SpellDescription$ CARDNAME gains first strike until end of turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/orcish_veteran.jpg
Oracle:Orcish Veteran can't block white creatures with power 2 or greater.\n{R}: Orcish Veteran gains first strike until end of turn.
......@@ -4,6 +4,5 @@ Types:Creature Orgg
PT:6/6
K:Trample
S:Mode$ CantAttack | ValidCard$ Card.Self | IfDefenderControls$ Creature.untapped+powerGE3 | Description$ CARDNAME can't attack if defending player controls an untapped creature with power 3 or greater.
K:CantBlock Creature.powerGE3:creatures with power 3 or greater
SVar:Picture:http://www.wizards.com/global/images/magic/general/orgg.jpg
S:Mode$ CantBlockBy | ValidAttacker$ Creature.powerGE3 | ValidBlocker$ Creature.Self | Description$ CARDNAME can't block creatures with power 3 or greater.
Oracle:Trample\nOrgg can't attack if defending player controls an untapped creature with power 3 or greater.\nOrgg can't block creatures with power 3 or greater.
......@@ -3,6 +3,6 @@ ManaCost:3 W
Types:Creature Griffin
PT:2/2
K:Flying
A:AB$ Pump | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature that can't block this creature this turn | KW$ HIDDEN CantBlockCardUIDSource | DefinedKW$ CardUIDSource | UntilHostLeavesPlayOrEOT$ True | IsCurse$ True | StackDescription$ {c:Targeted} can't block CARDNAME this turn. | SpellDescription$ Target creature can't block CARDNAME this turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/screeching_griffin.jpg
A:AB$ Effect | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature that can't block this creature this turn | IsCurse$ True | RememberObjects$ TargetedCard | ForgetOnMoved$ Battlefield | StaticAbilities$ KWPump | Duration$ HostLeavesOrEOT | StackDescription$ {c:Targeted} can't block CARDNAME this turn. | SpellDescription$ Target creature can't block CARDNAME this turn.
SVar:KWPump:Mode$ CantBlockBy | ValidAttacker$ Creature.EffectSource | ValidBlocker$ Creature.IsRemembered | Description$ {c:Remembered} can't block EFFECTSOURCE this turn.
Oracle:Flying\n{R}: Target creature can't block Screeching Griffin this turn.
......@@ -3,10 +3,10 @@ ManaCost:3 UR
Types:Creature Elemental
PT:6/6
K:etbCounter:M1M1:4
A:AB$ Pump | Cost$ UR | ValidTgts$ Creature | TgtPrompt$ Select target creature that can't block this creature this turn | IsCurse$ True | KW$ HIDDEN CantBlockCardUIDSource | DefinedKW$ CardUIDSource | UntilHostLeavesPlayOrEOT$ True | StackDescription$ {c:Targeted} can't block CARDNAME this turn. | SpellDescription$ Target creature can't block CARDNAME this turn.
A:AB$ Effect | Cost$ UR | ValidTgts$ Creature | TgtPrompt$ Select target creature that can't block this creature this turn | IsCurse$ True | RememberObjects$ TargetedCard | ForgetOnMoved$ Battlefield | StaticAbilities$ KWPump | Duration$ HostLeavesOrEOT | StackDescription$ {c:Targeted} can't block CARDNAME this turn. | SpellDescription$ Target creature can't block CARDNAME this turn.
SVar:KWPump:Mode$ CantBlockBy | ValidAttacker$ Creature.EffectSource | ValidBlocker$ Creature.IsRemembered | Description$ {c:Remembered} can't block EFFECTSOURCE this turn.
T:Mode$ SpellCast | ValidCard$ Card.Red | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRemoveCounter | TriggerDescription$ Whenever you cast a red spell, remove a -1/-1 counter from CARDNAME.
T:Mode$ SpellCast | ValidCard$ Card.Blue | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRemoveCounter | TriggerDescription$ Whenever you cast a blue spell, remove a -1/-1 counter from CARDNAME.
SVar:TrigRemoveCounter:DB$ RemoveCounter | Defined$ Self | CounterType$ M1M1 | CounterNum$ 1
SVar:BuffedBy:Card.Red,Card.Blue
SVar:Picture:http://www.wizards.com/global/images/magic/general/shrewd_hatchling.jpg
Oracle:Shrewd Hatchling enters the battlefield with four -1/-1 counters on it.\n{U/R}: Target creature can't block Shrewd Hatchling this turn.\nWhenever you cast a blue spell, remove a -1/-1 counter from Shrewd Hatchling.\nWhenever you cast a red spell, remove a -1/-1 counter from Shrewd Hatchling.
......@@ -3,7 +3,6 @@ ManaCost:2 G W
Types:Legendary Creature Human Knight
PT:2/5
K:Flanking
S:Mode$ Continuous | Affected$ Creature.withoutFlying+withoutReach+OppCtrl | AddHiddenKeyword$ CantBlock Creature.powerLE2:creatures with power 2 or less | Description$ Creatures your opponents control without flying or reach can't block creatures with power 2 or less.
S:Mode$ CantBlockBy | ValidAttacker$ Creature.powerLE2 | ValidBlocker$ Creature.withoutFlying+withoutReach+OppCtrl | Description$ Creatures your opponents control without flying or reach can't block creatures with power 2 or less.
K:Partner
SVar:Picture:http://www.wizards.com/global/images/magic/general/sidar_kondo_of_jamuraa.jpg
Oracle:Flanking (Whenever a creature without flanking blocks this creature, the blocking creature gets -1/-1 until end of turn.)\nCreatures your opponents control without flying or reach can't block creatures with power 2 or less.\nPartner (You can have two commanders if both have partner.)
\ No newline at end of file
Oracle:Flanking (Whenever a creature without flanking blocks this creature, the blocking creature gets -1/-1 until end of turn.)\nCreatures your opponents control without flying or reach can't block creatures with power 2 or less.\nPartner (You can have two commanders if both have partner.)
......@@ -2,7 +2,6 @@ Name:Sneaky Homunculus
ManaCost:1 U
Types:Creature Homunculus Illusion
PT:1/1
K:CantBeBlockedBy Creature.powerGE2
K:CantBlock Creature.powerGE2:creatures with power 2 or greater
SVar:Picture:http://www.wizards.com/global/images/magic/general/sneaky_homunculus.jpg
S:Mode$ CantBlockBy | ValidAttacker$ Creature.powerGE2 | ValidBlocker$ Creature.Self | Description$ CARDNAME can't block or be blocked by creatures with power 2 or greater.
S:Mode$ CantBlockBy | ValidAttacker$ Creature.Self | ValidBlocker$ Creature.powerGE2 | Secondary$ True | Description$ CARDNAME can't block or be blocked by creatures with power 2 or greater.
Oracle:Sneaky Homunculus can't block or be blocked by creatures with power 2 or greater.
......@@ -4,6 +4,6 @@ Types:Enchantment Aura
K:Enchant creature
A:SP$ Attach | Cost$ 1 W | ValidTgts$ Creature | AILogic$ Curse
S:Mode$ CantAttack | ValidCard$ Creature.EnchantedBy | Target$ You,Planeswalker.YouCtrl | Description$ Enchanted creature can't attack you or planeswalkers you control.
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddHiddenKeyword$ CantBlock Creature.YouCtrl | Description$ Enchanted creature can't block creatures you control.
S:Mode$ CantBlockBy | ValidAttacker$ Creature.YouCtrl | ValidBlocker$ Creature.EnchantedBy | Description$ Enchanted creature can't block creatures you control.
SVar:Picture:http://www.wizards.com/global/images/magic/general/spectral_grasp.jpg
Oracle:Enchant creature\nEnchanted creature can't attack you or planeswalkers you control.\nEnchanted creature can't block creatures you control.
......@@ -2,7 +2,7 @@ Name:Spin Engine
ManaCost:3
Types:Artifact Creature Construct
PT:3/1
A:AB$ Pump | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature that can't block this creature this turn | IsCurse$ True | KW$ HIDDEN CantBlockCardUIDSource | DefinedKW$ CardUIDSource | UntilHostLeavesPlayOrEOT$ True | StackDescription$ {c:Targeted} can't block CARDNAME this turn. | SpellDescription$ Target creature can't block CARDNAME this turn.
A:AB$ Effect | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature that can't block this creature this turn | IsCurse$ True | RememberObjects$ TargetedCard | ForgetOnMoved$ Battlefield | StaticAbilities$ KWPump | Duration$ HostLeavesOrEOT | StackDescription$ {c:Targeted} can't block CARDNAME this turn. | SpellDescription$ Target creature can't block CARDNAME this turn.
SVar:KWPump:Mode$ CantBlockBy | ValidAttacker$ Creature.EffectSource | ValidBlocker$ Creature.IsRemembered | Description$ {c:Remembered} can't block EFFECTSOURCE this turn.
DeckNeeds:Color$Red
SVar:Picture:http://www.wizards.com/global/images/magic/general/spin_engine.jpg
Oracle:{R}: Target creature can't block Spin Engine this turn.
......@@ -2,8 +2,7 @@ Name:Spitfire Handler
ManaCost:1 R
Types:Creature Goblin
PT:1/1
K:CantBlock Creature.powerGTX:creatures with power greater than CARDNAME's power
S:Mode$ CantBlockBy | ValidAttacker$ Creature.powerGTX | ValidBlocker$ Creature.Self | Description$ CARDNAME can't block creatures with power greater than CARDNAME's power.
A:AB$ Pump | Cost$ R | NumAtt$ +1 | SpellDescription$ CARDNAME gets +1/+0 until end of turn.
SVar:X:Count$CardPower
SVar:Picture:http://www.wizards.com/global/images/magic/general/spitfire_handler.jpg
Oracle:Spitfire Handler can't block creatures with power greater than Spitfire Handler's power.\n{R}: Spitfire Handler gets +1/+0 until end of turn.
......@@ -4,6 +4,5 @@ Types:Creature Wall
PT:5/6
K:Flying
K:Defender
K:CantBlock Creature.powerLE2:creatures with power 2 or less
SVar:Picture:http://www.wizards.com/global/images/magic/general/sunweb.jpg
S:Mode$ CantBlockBy | ValidAttacker$ Creature.powerLE2 | ValidBlocker$ Creature.Self | Description$ CARDNAME can't block creatures with power 2 or less.
Oracle:Defender (This creature can't attack.)\nFlying\nSunweb can't block creatures with power 2 or less.
......@@ -5,7 +5,7 @@ PT:3/3
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigToken | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player creates that many 1/1 red Survivor creature tokens.
SVar:TrigToken:DB$ Token | TokenOwner$ TriggeredTarget | TokenAmount$ X | TokenScript$ r_1_1_survivor | LegacyImage$ r 1 1 survivor c18
SVar:X:TriggerCount$DamageAmount
S:Mode$ Continuous | Affected$ Survivor.OppCtrl | AddHiddenKeyword$ CantBlock Creature | Description$ Survivors your opponents control can't block.
S:Mode$ CantBlockBy | ValidBlocker$ Survivor.OppCtrl | Description$ Survivors your opponents control can't block.
S:Mode$ CantAttack | ValidCard$ Creature.Survivor+OppCtrl | Target$ You,Planeswalker.YouCtrl | Description$ Survivors your opponents control can't attack you or planeswalkers you control.
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigGainControl | TriggerDescription$ When NICKNAME leaves the battlefield, gain control of all Survivors.
SVar:TrigGainControl:DB$ GainControl | AllValid$ Survivor | NewController$ You
......
......@@ -3,7 +3,6 @@ ManaCost:9
Types:Creature Eldrazi
PT:11/9
S:Mode$ CantBeCast | ValidCard$ Card.cmcEven | Caster$ Opponent | Description$ Your opponents can't cast spells with even mana values. (Zero is even.)
S:Mode$ Continuous | Affected$ Creature.OppCtrl+cmcEven | AddHiddenKeyword$ CARDNAME can't block. | Description$ Your opponents can't block with creatures with even mana values.
S:Mode$ CantBlockBy | ValidAttacker$ Creature | ValidBlocker$ Creature.OppCtrl+cmcEven | Description$ Your opponents can't block with creatures with even mana values.
SVar:PlayMain1:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/void_winnower.jpg
Oracle:Your opponents can't cast spells with even mana values. (Zero is even.)\nYour opponents can't block with creatures with even mana values.
......@@ -2,7 +2,6 @@ Name:Zurgo Bellstriker
ManaCost:R
Types:Legendary Creature Orc Warrior
PT:2/2
K:CantBlock Creature.powerGE2:creatures with power 2 or greater
S:Mode$ CantBlockBy | ValidAttacker$ Creature.powerGE2 | ValidBlocker$ Creature.Self | Description$ CARDNAME can't block creatures with power 2 or greater.
K:Dash:1 R
SVar:Picture:http://www.wizards.com/global/images/magic/general/zurgo_bellstriker.jpg
Oracle:Zurgo Bellstriker can't block creatures with power 2 or greater.\nDash {1}{R} (You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step.)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment