Jeck - Added and tested "oneblocker" ability, which allows for cards that "can't be blocked by more than one creature.". I've put in Stalking Tiger (I think... these primitives are cool! I just added the prim and all of a sudden it was in 10E), but this should also add Charging Rhino, Familiar Ground, "Huang Zhong, Shu General", Ironhoof Ox, Krosan Vorine, Norwood Riders, Vorrac Battlehorns, "Yuan Shao, the indecisive".

Test and more cards (the ones I can figure out how to do) forthcoming.
This commit is contained in:
wagic.jeck
2010-02-08 18:18:44 +00:00
parent 4279658379
commit b348ab5d24
5 changed files with 45316 additions and 45312 deletions
-9
View File
@@ -38047,15 +38047,6 @@ mana={3}
type=Artifact
[/card]
[card]
name=Stalking Tiger
text=Stalking Tiger can't be blocked by more than one creature.
mana={3}{G}
type=Creature
subtype=Cat
power=3
toughness=3
[/card]
[card]
name=Stalking Vengeance
text=Haste Whenever another creature you control is put into a graveyard from the battlefield, it deals damage equal to its power to target player.
mana={5}{R}{R}
+35 -25
View File
@@ -42,7 +42,7 @@ type=Sorcery
name=AEther Shockwave
auto=may tap all(spirit)
auto=may tap all(creature[-spirit])
text=Choose one Tap all Spirits; or tap all non-Spirit creatures.
text=Choose one ETap all Spirits; or tap all non-Spirit creatures.
mana={3}{W}
type=Instant
[/card]
@@ -773,7 +773,7 @@ auto=aslongas(island|myBattlefield) draw:1
auto=aslongas(swamp|myBattlefield) draw:1
auto=aslongas(mountain|myBattlefield) draw:1
auto=aslongas(forest|myBattlefield) draw:1
text=Domain Target player draws a card for each basic land type among lands he or she controls.
text=Domain ETarget player draws a card for each basic land type among lands he or she controls.
mana={4}{U}
type=Sorcery
[/card]
@@ -5118,7 +5118,7 @@ toughness=2
name=Burrenton Bombardier
abilities=flying
autohand={2}{W}{S}:counter(1/1,2) target(creature)
text=Flying Reinforce 22}{W} ({2}{W}, Discard this card: Put two +1/+1 counters on target creature.)
text=Flying Reinforce 2—{2}{W} ({2}{W}, Discard this card: Put two +1/+1 counters on target creature.)
mana={2}{W}
type=Creature
subtype=Kithkin Soldier
@@ -10903,7 +10903,7 @@ name=Earthbrawn
target=creature
auto=3/3
autohand={1}{G}{S}:counter(1/1,1) target(creature)
text=Target creature gets +3/+3 until end of turn. Reinforce 11}{G} ({1}{G}, Discard this card: Put a +1/+1 counter on target creature.)
text=Target creature gets +3/+3 until end of turn. Reinforce 1—{1}{G} ({1}{G}, Discard this card: Put a +1/+1 counter on target creature.)
mana={1}{G}
type=Instant
[/card]
@@ -12250,7 +12250,7 @@ auto=aslongas(island|myBattlefield) life:-1 opponent && life:1 controller
auto=aslongas(swamp|myBattlefield) life:-1 opponent && life:1 controller
auto=aslongas(mountain|myBattlefield) life:-1 opponent && life:1 controller
auto=aslongas(forest|myBattlefield) life:-1 opponent && life:1 controller
text=Domain Target player loses X life and you gain X life, where X is the number of basic land types among lands you control.
text=Domain E Target player loses X life and you gain X life, where X is the number of basic land types among lands you control.
mana={4}{B}
type=Sorcery
[/card]
@@ -14793,7 +14793,7 @@ toughness=1
name=Ghost-Lit Nourisher
auto={2}{G}{T}:2/2 target(creature)
autohand={3}{G}{S}:4/4 target(creature)
text={2}{G}, {T}: Target creature gets +2/+2 until end of turn. Channel {3}{G}, Discard Ghost-Lit Nourisher: Target creature gets +4/+4 until end of turn.
text={2}{G}, {T}: Target creature gets +2/+2 until end of turn. Channel E{3}{G}, Discard Ghost-Lit Nourisher: Target creature gets +4/+4 until end of turn.
mana={2}{G}
type=Creature
subtype=Spirit
@@ -14804,7 +14804,7 @@ toughness=1
name=Ghost-Lit Raider
auto={2}{R}{T}:damage:2 target(creature)
autohand={3}{R}{S}:damage:4 target(creature)
text={2}{R}, {T}: Ghost-Lit Raider deals 2 damage to target creature. Channel {3}{R}, Discard Ghost-Lit Raider: Ghost-Lit Raider deals 4 damage to target creature.
text={2}{R}, {T}: Ghost-Lit Raider deals 2 damage to target creature. Channel E{3}{R}, Discard Ghost-Lit Raider: Ghost-Lit Raider deals 4 damage to target creature.
mana={2}{R}
type=Creature
subtype=Spirit
@@ -14815,7 +14815,7 @@ toughness=1
name=Ghost-Lit Redeemer
auto={W}{T}:life:2
autohand={1}{W}{S}:life:4
text={W}, {T}: You gain 2 life. Channel {1}{W}, Discard Ghost-Lit Redeemer: You gain 4 life.
text={W}, {T}: You gain 2 life. Channel E{1}{W}, Discard Ghost-Lit Redeemer: You gain 4 life.
mana={W}
type=Creature
subtype=Spirit
@@ -18230,7 +18230,7 @@ toughness=3
name=Hunting Triad
auto=token(Elf Warrior,Creature Elf Warrior,1/1,green)*3
autohand={3}{G}{S}:counter(1/1,3) target(creature)
text=Put three 1/1 green Elf Warrior creature tokens onto the battlefield. Reinforce 33}{G} ({3}{G}, Discard this card: Put three +1/+1 counters on target creature.)
text=Put three 1/1 green Elf Warrior creature tokens onto the battlefield. Reinforce 3—{3}{G} ({3}{G}, Discard this card: Put three +1/+1 counters on target creature.)
mana={3}{G}
type=Tribal Sorcery
subtype=Elf
@@ -19884,7 +19884,7 @@ name=Kamahl's Sledge
target=creature
auto=damage:4
auto=aslongas(*|mygraveyard) damage:4 targetcontroller >6
text=Kamahl's Sledge deals 4 damage to target creature. Threshold If seven or more cards are in your graveyard, instead Kamahl's Sledge deals 4 damage to that creature and 4 damage to that creature's controller.
text=Kamahl's Sledge deals 4 damage to target creature. Threshold EIf seven or more cards are in your graveyard, instead Kamahl's Sledge deals 4 damage to that creature and 4 damage to that creature's controller.
mana={5}{R}{R}
type=Sorcery
[/card]
@@ -22040,7 +22040,7 @@ subtype=Aura
name=Lim-Dul's High Guard
abilities=first strike
auto={1}{B}:regenerate
text=First strike {1}{B}: Regenerate Lim-D's High Guard.
text=First strike {1}{B}: Regenerate Lim-Dûl's High Guard.
mana={1}{B}{B}
type=Creature
subtype=Skeleton
@@ -24761,7 +24761,7 @@ toughness=*
name=Mosquito Guard
abilities=first strike
autohand={1}{W}{S}:counter(1/1,1) target(creature)
text=First strike Reinforce 11}{W} ({1}{W}, Discard this card: Put a +1/+1 counter on target creature.)
text=First strike Reinforce 1—{1}{W} ({1}{W}, Discard this card: Put a +1/+1 counter on target creature.)
mana={W}
type=Creature
subtype=Kithkin Soldier
@@ -25203,7 +25203,7 @@ name=Mystic Familiar
abilities=flying
auto=aslongas(*|mygraveyard) 1/1 >6
auto=aslongas(*|mygraveyard) protection from black >6
text=Flying Threshold As long as seven or more cards are in your graveyard, Mystic Familiar gets +1/+1 and has protection from black.
text=Flying Threshold EAs long as seven or more cards are in your graveyard, Mystic Familiar gets +1/+1 and has protection from black.
mana={1}{W}
type=Creature
subtype=Bird
@@ -25323,7 +25323,7 @@ toughness=3
name=Nantuko Blightcutter
abilities=protection from black
auto=aslongas(*|mygraveyard) foreach(*[black]|opponentBattlefield) 1/1 >6
text=Protection from black Threshold Nantuko Blightcutter gets +1/+1 for each black permanent your opponents control as long as seven or more cards are in your graveyard.
text=Protection from black Threshold ENantuko Blightcutter gets +1/+1 for each black permanent your opponents control as long as seven or more cards are in your graveyard.
mana={2}{G}
type=Creature
subtype=Insect Druid
@@ -25334,7 +25334,7 @@ toughness=2
name=Nantuko Calmer
auto={G}{T}{S}:destroy target(enchantment)
auto=aslongas(*|mygraveyard) 1/1 >6
text={G}, {T}, Sacrifice Nantuko Calmer: Destroy target enchantment. Threshold Nantuko Calmer gets +1/+1 as long as seven or more cards are in your graveyard.
text={G}, {T}, Sacrifice Nantuko Calmer: Destroy target enchantment. Threshold ENantuko Calmer gets +1/+1 as long as seven or more cards are in your graveyard.
mana={2}{G}{G}
type=Creature
subtype=Insect Druid
@@ -27363,7 +27363,7 @@ toughness=3
[card]
name=Part the Veil
auto=moveTo(ownerhand) all(creature|myBattlefield)
text=Return all Creatures you control to their owner hand.
text=Return all Creatures you control to their owners hand.
mana={3}{U}
type=Instant
subtype=Arcane
@@ -28195,7 +28195,7 @@ auto=aslongas(mountain|myBattlefield) lord(creature) -1/-1
auto=aslongas(forest|myBattlefield) lord(creature) -1/-1
auto=aslongas(plains|myBattlefield) lord(creature) -1/-1
auto=aslongas(island|myBattlefield) lord(creature) -1/-1
text=Domain All creatures get -1/-1 until end of turn for each basic land type among lands you control.
text=Domain EAll creatures get -1/-1 until end of turn for each basic land type among lands you control.
mana={3}{B}{B}
type=Sorcery
[/card]
@@ -28942,7 +28942,7 @@ name=Putrid Imp
auto={S(*|myHand)}:flying
auto=aslongas(*|mygraveyard) 1/1 >6
auto=aslongas(*|mygraveyard) cantblock >6
text=Discard a card: Putrid Imp gains flying until end of turn. Threshold As long as seven or more cards are in your graveyard, Putrid Imp gets +1/+1 and can't block.
text=Discard a card: Putrid Imp gains flying until end of turn. Threshold EAs long as seven or more cards are in your graveyard, Putrid Imp gets +1/+1 and can't block.
mana={B}
type=Creature
subtype=Zombie Imp
@@ -29593,7 +29593,7 @@ name=Rancid Earth
target=land
auto=destroy
auto=aslongas(*|mygraveyard) damage:1 all(creature,player) >6
text=Destroy target land. Threshold If seven or more cards are in your graveyard, instead destroy that land and Rancid Earth deals 1 damage to each creature and each player.
text=Destroy target land. Threshold EIf seven or more cards are in your graveyard, instead destroy that land and Rancid Earth deals 1 damage to each creature and each player.
mana={1}{B}{B}
type=Sorcery
[/card]
@@ -31421,7 +31421,7 @@ auto=tap
auto=aslongas(kithkin|myHand) untap
auto={T}:Add{W}
autohand={1}{W}{S}:counter(1/1,1) target(creature)
text=As Rustic Clachan enters the battlefield, you may reveal a Kithkin card from your hand. If you don't, Rustic Clachan enters the battlefield tapped. {T}: Add {W} to your mana pool. Reinforce 11}{W} ({1}{W}, Discard this card: Put a +1/+1 counter on target creature.)
text=As Rustic Clachan enters the battlefield, you may reveal a Kithkin card from your hand. If you don't, Rustic Clachan enters the battlefield tapped. {T}: Add {W} to your mana pool. Reinforce 1—{1}{W} ({1}{W}, Discard this card: Put a +1/+1 counter on target creature.)
type=Land
[/card]
[card]
@@ -33117,7 +33117,7 @@ toughness=4
name=Seton's Scout
abilities=reach
auto=aslongas(*|mygraveyard) 2/2 >6
text=Reach (This creature can block creatures with flying.) Threshold Seton's Scout gets +2/+2 as long as seven or more cards are in your graveyard.
text=Reach (This creature can block creatures with flying.) Threshold ESeton's Scout gets +2/+2 as long as seven or more cards are in your graveyard.
mana={1}{G}
type=Creature
subtype=Centaur Druid Scout Archer
@@ -33516,7 +33516,7 @@ subtype=Aura
name=Shinen of Fear's Chill
abilities=cantblock
autohand={1}{B}{S}:cantblock target(creature)
text=Shinen of Fear's Chill can't block. Channel {1}{B}, Discard Shinen of Fear's Chill: Target creature can't block this turn.
text=Shinen of Fear's Chill can't block. Channel E {1}{B}, Discard Shinen of Fear's Chill: Target creature can't block this turn.
mana={4}{B}
type=Creature
subtype=Spirit
@@ -33527,7 +33527,7 @@ toughness=2
name=Shinen of Flight's Wings
abilities=flying
autohand={U}{S}:flying target(creature)
text=Flying Channel {U}, Discard Shinen of Flight's Wings: Target creature gains flying until end of turn.
text=Flying Channel E {U}, Discard Shinen of Flight's Wings: Target creature gains flying until end of turn.
mana={4}{U}
type=Creature
subtype=Spirit
@@ -33538,7 +33538,7 @@ toughness=3
name=Shinen of Fury's Fire
abilities=haste
autohand={R}{S}:haste target(creature)
text=Haste Channel {R}, Discard Shinen of Fury's Fire: Target creature gains haste until end of turn.
text=Haste Channel E {R}, Discard Shinen of Fury's Fire: Target creature gains haste until end of turn.
mana={2}{R}
type=Creature
subtype=Spirit
@@ -33549,7 +33549,7 @@ toughness=1
name=Shinen of Stars' Light
abilities=first strike
autohand={1}{W}{S}:first strike target(creature)
text=First strike Channel {1}{W}, Discard Shinen of Stars' Light: Target creature gains first strike until end of turn.
text=First strike Channel E {1}{W}, Discard Shinen of Stars' Light: Target creature gains first strike until end of turn.
mana={2}{W}
type=Creature
subtype=Spirit
@@ -36485,6 +36485,16 @@ text={T}: Add {1} to your mana pool. {6}: Stalking Stones becomes a 3/3 Elemen
type=Land
[/card]
[card]
name=Stalking Tiger
text=Stalking Tiger can't be blocked by more than one creature.
mana={3}{G}
type=Creature
subtype=Cat
power=3
toughness=3
abilities=oneblocker
[/card]
[card]
name=Stampede
auto=lord(creature|attacking) 1/0
auto=lord(creature|attacking) trample
+2 -1
View File
@@ -102,8 +102,9 @@ class Constants
DEATHTOUCH = 44,
HORSEMANSHIP = 45,
CANTREGENERATE = 46,
ONEBLOCKER = 47,
NB_BASIC_ABILITIES = 47,
NB_BASIC_ABILITIES = 48,
RARITY_M = 'M', //Mythics
+1
View File
@@ -347,6 +347,7 @@ int MTGCardInstance::canBlock(MTGCardInstance * opponent){
if (opponent->protectedAgainst(this)) return 0;
if (opponent->cantBeBlockedBy(this)) return 0;
if (opponent->basicAbilities[Constants::UNBLOCKABLE]) return 0;
if (opponent->basicAbilities[Constants::ONEBLOCKER] && opponent->blocked) return 0;
if (opponent->basicAbilities[Constants::FEAR] && !(hasType(Subtypes::TYPE_ARTIFACT) || hasColor(Constants::MTG_COLOR_BLACK))) return 0;
//intimidate
+1
View File
@@ -55,6 +55,7 @@ const char* Constants::MTGBasicAbilities[] = {
"deathtouch",
"horsemanship",
"cantregenerate",
"oneblocker",
};