more blocking-related keywords replaced with CanBeBlockedBy+expression

This commit is contained in:
Maxmtg
2013-06-21 19:13:23 +00:00
parent fa443cea0d
commit 68d3a7cdb2
20 changed files with 13 additions and 35 deletions

View File

@@ -2,7 +2,7 @@ Name:Bog Rats
ManaCost:B ManaCost:B
Types:Creature Rat Types:Creature Rat
PT:1/1 PT:1/1
K:CARDNAME can't be blocked by Walls. K:CantBeBlockedBy Creature.Wall
SVar:Picture:http://www.wizards.com/global/images/magic/general/bog_rats.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/bog_rats.jpg
Oracle:Bog Rats can't be blocked by Walls. Oracle:Bog Rats can't be blocked by Walls.
SetInfo:5ED Common SetInfo:5ED Common

View File

@@ -3,7 +3,7 @@ ManaCost:1 G
Types:Enchantment Aura Types:Enchantment Aura
K:Enchant creature K:Enchant creature
A:SP$ Attach | Cost$ 1 G | ValidTgts$ Creature | AILogic$ Pump A:SP$ Attach | Cost$ 1 G | ValidTgts$ Creature | AILogic$ Pump
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddHiddenKeyword$ CARDNAME can't be blocked except by creatures with flying or reach. | Description$ Enchanted creature can't be blocked except by creatures with flying or reach. S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ CantBeBlockedBy Creature.wihoutFlying+withoutReach | Description$ Enchanted creature can't be blocked except by creatures with flying or reach.
S:Mode$ CantTarget | ValidCard$ Card.EnchantedBy | Activator$ Opponent | Description$ Enchanted creature can't be the target of spells or abilities your opponents control. S:Mode$ CantTarget | ValidCard$ Card.EnchantedBy | Activator$ Opponent | Description$ Enchanted creature can't be the target of spells or abilities your opponents control.
SVar:Picture:http://www.wizards.com/global/images/magic/general/canopy_cover.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/canopy_cover.jpg
Oracle:Enchant creature\nEnchanted creature can't be blocked except by creatures with flying or reach.\nEnchanted creature can't be the target of spells or abilities your opponents control. Oracle:Enchant creature\nEnchanted creature can't be blocked except by creatures with flying or reach.\nEnchanted creature can't be the target of spells or abilities your opponents control.

View File

@@ -3,7 +3,7 @@ ManaCost:U
Types:Enchantment Aura Types:Enchantment Aura
K:Enchant creature K:Enchant creature
A:SP$ Attach | Cost$ U | ValidTgts$ Creature | AILogic$ Pump A:SP$ Attach | Cost$ U | ValidTgts$ Creature | AILogic$ Pump
S:Mode$ Continuous | Affected$ Permanent.EnchantedBy | AddKeyword$ Phasing | AddHiddenKeyword$ CARDNAME can't be blocked except by Walls. | Description$ Enchanted creature has phasing and can't be blocked except by Walls. S:Mode$ Continuous | Affected$ Permanent.EnchantedBy | AddKeyword$ Phasing & CantBeBlockedBy Creature.Wall | Description$ Enchanted creature has phasing and can't be blocked except by Walls.
SVar:Picture:http://www.wizards.com/global/images/magic/general/cloak_of_invisibility.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/cloak_of_invisibility.jpg
Oracle:Enchant creature\nEnchanted creature has phasing and can't be blocked except by Walls. (It phases in or out before its controller untaps during each of his or her untap steps. While it's phased out, it's treated as though it doesn't exist.) Oracle:Enchant creature\nEnchanted creature has phasing and can't be blocked except by Walls. (It phases in or out before its controller untaps during each of his or her untap steps. While it's phased out, it's treated as though it doesn't exist.)
SetInfo:MIR Common SetInfo:MIR Common

View File

@@ -1,7 +1,6 @@
Name:Elven Riders Name:Elven Riders
ManaCost:3 G G ManaCost:3 G G
Types:Creature Elf Types:Creature Elf
Text:CARDNAME can't be blocked except by Walls and/or creatures with flying.
PT:3/3 PT:3/3
K:CantBeBlockedBy Creature.withoutFlying+nonWall K:CantBeBlockedBy Creature.withoutFlying+nonWall
SVar:Picture:http://www.wizards.com/global/images/magic/general/elven_riders.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/elven_riders.jpg

View File

@@ -1,7 +1,6 @@
Name:Evil Eye of Orms-by-Gore Name:Evil Eye of Orms-by-Gore
ManaCost:4 B ManaCost:4 B
Types:Creature Eye Types:Creature Eye
Text:CARDNAME can't be blocked except by Walls.
PT:3/6 PT:3/6
K:CantBeBlockedBy Creature.nonWall K:CantBeBlockedBy Creature.nonWall
S:Mode$ Continuous | Affected$ Creature.nonEye+YouCtrl | AddHiddenKeyword$ CARDNAME can't attack. | Description$ Non-Eye creatures you control can't attack. S:Mode$ Continuous | Affected$ Creature.nonEye+YouCtrl | AddHiddenKeyword$ CARDNAME can't attack. | Description$ Non-Eye creatures you control can't attack.

View File

@@ -1,7 +1,6 @@
Name:Fleet-Footed Monk Name:Fleet-Footed Monk
ManaCost:1 W ManaCost:1 W
Types:Creature Human Monk Types:Creature Human Monk
Text:CARDNAME can't be blocked by creatures with power 2 or greater.
PT:1/1 PT:1/1
K:CantBeBlockedBy Creature.powerGE2 K:CantBeBlockedBy Creature.powerGE2
SVar:Picture:http://serv3.tcgimages.eu/img/cards/Portal/fleet_footed_monk.jpg SVar:Picture:http://serv3.tcgimages.eu/img/cards/Portal/fleet_footed_monk.jpg

View File

@@ -1,7 +1,6 @@
Name:Flow of Maggots Name:Flow of Maggots
ManaCost:2 B ManaCost:2 B
Types:Creature Insect Types:Creature Insect
Text:CARDNAME can't be blocked by non-Wall creatures.
PT:2/2 PT:2/2
K:Cumulative upkeep:1 K:Cumulative upkeep:1
K:CantBeBlockedBy Creature.nonWall K:CantBeBlockedBy Creature.nonWall

View File

@@ -1,7 +1,6 @@
Name:Gnat Alley Creeper Name:Gnat Alley Creeper
ManaCost:2 R ManaCost:2 R
Types:Creature Human Rogue Types:Creature Human Rogue
Text:CARDNAME can't be blocked by creatures with flying.
PT:3/1 PT:3/1
K:CantBeBlockedBy Creature.withFlying K:CantBeBlockedBy Creature.withFlying
SVar:Picture:http://www.wizards.com/global/images/magic/general/gnat_alley_creeper.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/gnat_alley_creeper.jpg

View File

@@ -1,7 +1,6 @@
Name:Goldmeadow Dodger Name:Goldmeadow Dodger
ManaCost:W ManaCost:W
Types:Creature Kithkin Rogue Types:Creature Kithkin Rogue
Text:CARDNAME can't be blocked by creatures with power 4 or greater.
PT:1/1 PT:1/1
K:CantBeBlockedBy Creature.powerGE4 K:CantBeBlockedBy Creature.powerGE4
SVar:Picture:http://www.wizards.com/global/images/magic/general/goldmeadow_dodger.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/goldmeadow_dodger.jpg

View File

@@ -3,7 +3,7 @@ ManaCost:U U
Types:Enchantment Aura Types:Enchantment Aura
K:Enchant creature K:Enchant creature
A:SP$ Attach | Cost$ U U | ValidTgts$ Creature | AILogic$ Pump A:SP$ Attach | Cost$ U U | ValidTgts$ Creature | AILogic$ Pump
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddHiddenKeyword$ CARDNAME can't be blocked except by Walls. | Description$ Enchanted creature can't be blocked except by Walls. S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddHiddenKeyword$ CantBeBlockedBy Creature.nonWall | Description$ Enchanted creature can't be blocked except by Walls.
SVar:Picture:http://www.wizards.com/global/images/magic/general/invisibility.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/invisibility.jpg
Oracle:Enchant creature\nEnchanted creature can't be blocked except by Walls. Oracle:Enchant creature\nEnchanted creature can't be blocked except by Walls.
SetInfo:8ED Uncommon SetInfo:8ED Uncommon

View File

@@ -1,7 +1,7 @@
Name:Joven's Tools Name:Joven's Tools
ManaCost:6 ManaCost:6
Types:Artifact Types:Artifact
A:AB$ Pump | Cost$ 4 T | ValidTgts$ Creature | TgtPrompt$ Select target creature | KW$ HIDDEN CARDNAME can't be blocked except by Walls. | SpellDescription$ Target creature can't be blocked this turn except by Walls. A:AB$ Pump | Cost$ 4 T | ValidTgts$ Creature | TgtPrompt$ Select target creature | KW$ CantBeBlockedBy Creature.nonWall | SpellDescription$ Target creature can't be blocked this turn except by Walls.
SVar:Picture:http://www.wizards.com/global/images/magic/general/jovens_tools.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/jovens_tools.jpg
Oracle:{4}, {T}: Target creature can't be blocked this turn except by Walls. Oracle:{4}, {T}: Target creature can't be blocked this turn except by Walls.
SetInfo:5ED Uncommon SetInfo:5ED Uncommon

View File

@@ -3,7 +3,7 @@ ManaCost:4
Types:Artifact Creature Juggernaut Types:Artifact Creature Juggernaut
PT:5/3 PT:5/3
K:CARDNAME attacks each turn if able. K:CARDNAME attacks each turn if able.
K:CARDNAME can't be blocked by Walls. K:CantBeBlockedBy Creature.Wall
SVar:Picture:http://www.wizards.com/global/images/magic/general/juggernaut.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/juggernaut.jpg
Oracle:Juggernaut attacks each turn if able.\nJuggernaut can't be blocked by Walls. Oracle:Juggernaut attacks each turn if able.\nJuggernaut can't be blocked by Walls.
SetInfo:2ED Uncommon SetInfo:2ED Uncommon

View File

@@ -4,7 +4,7 @@ Types:Creature Goblin Soldier
PT:1/1 PT:1/1
K:Haste K:Haste
T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPump | CheckSVar$ BattalionTest | SVarCompare$ GE2 | TriggerDescription$ Battalion - Whenever CARDNAME and at least two other creatures attack, creatures you control gain first strike and trample until end of turn and can't be blocked by creature tokens this turn. T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPump | CheckSVar$ BattalionTest | SVarCompare$ GE2 | TriggerDescription$ Battalion - Whenever CARDNAME and at least two other creatures attack, creatures you control gain first strike and trample until end of turn and can't be blocked by creature tokens this turn.
SVar:TrigPump:AB$ PumpAll | Cost$ 0 | ValidCards$ Creature.YouCtrl | KW$ First Strike & Trample & CARDNAME can't be blocked by creature tokens. SVar:TrigPump:AB$ PumpAll | Cost$ 0 | ValidCards$ Creature.YouCtrl | KW$ First Strike & Trample & CantBeBlockedBy Creature.Token
SVar:BattalionTest:Count$Valid Creature.attacking+Other SVar:BattalionTest:Count$Valid Creature.attacking+Other
SVar:Picture:http://www.wizards.com/global/images/magic/general/legion_loyalist.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/legion_loyalist.jpg
Oracle:Haste\nBattalion - Whenever Legion Loyalist and at least two other creatures attack, creatures you control gain first strike and trample until end of turn and can't be blocked by creature tokens this turn. Oracle:Haste\nBattalion - Whenever Legion Loyalist and at least two other creatures attack, creatures you control gain first strike and trample until end of turn and can't be blocked by creature tokens this turn.

View File

@@ -2,7 +2,7 @@ Name:Otarian Juggernaut
ManaCost:4 ManaCost:4
Types:Artifact Creature Juggernaut Types:Artifact Creature Juggernaut
PT:2/3 PT:2/3
K:CARDNAME can't be blocked by Walls. K:CantBeBlockedBy Creature.Wall
S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 3 | AddKeyword$ CARDNAME attacks each turn if able. | Condition$ Threshold | Description$ Threshold - As long as seven or more cards are in your graveyard, CARDNAME gets +3/+0 and attacks each turn if able. S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 3 | AddKeyword$ CARDNAME attacks each turn if able. | Condition$ Threshold | Description$ Threshold - As long as seven or more cards are in your graveyard, CARDNAME gets +3/+0 and attacks each turn if able.
SVar:Picture:http://www.wizards.com/global/images/magic/general/otarian_juggernaut.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/otarian_juggernaut.jpg
Oracle:Otarian Juggernaut can't be blocked by Walls.\nThreshold - As long as seven or more cards are in your graveyard, Otarian Juggernaut gets +3/+0 and attacks each turn if able. Oracle:Otarian Juggernaut can't be blocked by Walls.\nThreshold - As long as seven or more cards are in your graveyard, Otarian Juggernaut gets +3/+0 and attacks each turn if able.

View File

@@ -2,7 +2,7 @@ Name:Rampart Crawler
ManaCost:B ManaCost:B
Types:Creature Lizard Mercenary Types:Creature Lizard Mercenary
PT:1/1 PT:1/1
K:CARDNAME can't be blocked by Walls. K:CantBeBlockedBy Creature.Wall
SVar:Picture:http://www.wizards.com/global/images/magic/general/rampart_crawler.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/rampart_crawler.jpg
Oracle:Rampart Crawler can't be blocked by Walls. Oracle:Rampart Crawler can't be blocked by Walls.
SetInfo:MMQ Common SetInfo:MMQ Common

View File

@@ -2,7 +2,7 @@ Name:Spire Tracer
ManaCost:G ManaCost:G
Types:Creature Elf Scott Types:Creature Elf Scott
PT:1/1 PT:1/1
K:CARDNAME can't be blocked except by creatures with flying or reach. K:CantBeBlockedBy Creature.withoutFlying+withoutReach
SVar:Picture:http://www.wizards.com/global/images/magic/general/spire_tracer.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/spire_tracer.jpg
Oracle:Spire Tracer can't be blocked except by creatures with flying or reach. Oracle:Spire Tracer can't be blocked except by creatures with flying or reach.
SetInfo:GTC Common SetInfo:GTC Common

View File

@@ -1,7 +1,7 @@
Name:Tower of Coireall Name:Tower of Coireall
ManaCost:2 ManaCost:2
Types:Artifact Types:Artifact
A:AB$ Pump | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | KW$ CARDNAME can't be blocked by Walls. | SpellDescription$ Target creature can't be blocked by Walls this turn. A:AB$ Pump | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | KW$ CantBeBlockedBy Creature.Wall | SpellDescription$ Target creature can't be blocked by Walls this turn.
SVar:RemRandomDeck:True SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/tower_of_coireall.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/tower_of_coireall.jpg
Oracle:{T}: Target creature can't be blocked by Walls this turn. Oracle:{T}: Target creature can't be blocked by Walls this turn.

View File

@@ -2,7 +2,7 @@ Name:Varchild's Crusader
ManaCost:3 R ManaCost:3 R
Types:Creature Human Knight Types:Creature Human Knight
PT:3/2 PT:3/2
A:AB$ Pump | Cost$ 0 | KW$ HIDDEN CARDNAME can't be blocked except by Walls. & HIDDEN At the beginning of the end step, sacrifice CARDNAME. | SpellDescription$ CARDNAME can't be blocked this turn except by Walls. Sacrifice CARDNAME at the beginning of the next end step. A:AB$ Pump | Cost$ 0 | KW$ CantBeBlockedBy Creature.nonWall & HIDDEN At the beginning of the end step, sacrifice CARDNAME. | SpellDescription$ CARDNAME can't be blocked this turn except by Walls. Sacrifice CARDNAME at the beginning of the next end step.
SVar:RemAIDeck:True SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/varchilds_crusader.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/varchilds_crusader.jpg
Oracle:{0}: Varchild's Crusader can't be blocked this turn except by Walls. Sacrifice Varchild's Crusader at the beginning of the next end step. Oracle:{0}: Varchild's Crusader can't be blocked this turn except by Walls. Sacrifice Varchild's Crusader at the beginning of the next end step.

View File

@@ -5,7 +5,7 @@ PT:1/1
K:Level up:4 K:Level up:4
K:maxLevel:3 K:maxLevel:3
S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 3 | SetToughness$ 3 | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 1-2 3/3 S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 3 | SetToughness$ 3 | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 1-2 3/3
S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 5 | SetToughness$ 5 | AddKeyword$ CARDNAME can't be blocked except by black creatures. | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 3+ 5/5 CARDNAME can't be blocked except by black creatures S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 5 | SetToughness$ 5 | AddKeyword$ CantBeBlockedBy Creature.nonBlack | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 3+ 5/5 CARDNAME can't be blocked except by black creatures
SVar:X:Count$Valid Card.Self+counters_GE1_LEVEL+counters_LT3_LEVEL SVar:X:Count$Valid Card.Self+counters_GE1_LEVEL+counters_LT3_LEVEL
SVar:Y:Count$Valid Card.Self+counters_GE3_LEVEL SVar:Y:Count$Valid Card.Self+counters_GE3_LEVEL
SVar:Picture:http://www.wizards.com/global/images/magic/general/zulaport_enforcer.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/zulaport_enforcer.jpg

View File

@@ -709,22 +709,6 @@ public class CombatUtil {
} }
} }
if (attacker.hasKeyword("CARDNAME can't be blocked by Walls.") && blocker.isType("Wall")) {
return false;
}
if (attacker.hasKeyword("CARDNAME can't be blocked except by Walls.") && !blocker.isType("Wall")) {
return false;
}
if (attacker.hasKeyword("CARDNAME can't be blocked except by black creatures.") && !blocker.isBlack()) {
return false;
}
if (attacker.hasKeyword("CARDNAME can't be blocked by creature tokens.") && blocker.isToken()) {
return false;
}
return true; return true;
} // canBlock() } // canBlock()