- replaced erroneous Mirrodin set with invasion set
- added a few cards with "aslongas" ability
This commit is contained in:
wagic.the.homebrew
2009-03-15 05:59:21 +00:00
parent ef53771843
commit ff8e05cf04
17 changed files with 6803 additions and 5064 deletions

View File

@@ -868,6 +868,19 @@ subtype=Bird Soldier
toughness=4
[/card]
[card]
text=Wild Nacatl gets +1/+1 as long as you control a Mountain. Wild Nacatl gets +1/+1 as long as you control a Plains.
auto=aslongas(mountain|myinplay) 1/1
auto=aslongas(plains|myinplay) 1/1
id=174989
name=Wild Nacatl
rarity=C
type=Creature
mana={G}
power=1
subtype=Cat Warrior
toughness=1
[/card]
[card]
text=
id=175062
name=Woolly Thoctar

View File

@@ -1617,17 +1617,7 @@ rarity=R
type=Enchantment
mana={4}{R}
[/card]
[card]
text=Wild Nacatl gets +1/+1 as long as you control a Mountain. Wild Nacatl gets +1/+1 as long as you control a Plains.
id=174989
name=Wild Nacatl
rarity=C
type=Creature
mana={G}
power=1
subtype=Cat Warrior
toughness=1
[/card]
[card]
text=Lifelink (Whenever this creature deals damage, you gain that much life.) Windwright Mage has flying as long as an artifact card is in your graveyard.
id=175014

View File

@@ -45,6 +45,31 @@ type=Instant
mana={1}{W}
[/card]
[card]
text=Cliffrunner Behemoth has haste as long as you control a red permanent. Cliffrunner Behemoth has lifelink as long as you control a white permanent.
auto=aslongas(*[red]|myinplay) haste
auto=aslongas(*[white]|myinplay) lifelink
id=159612
name=Cliffrunner Behemoth
rarity=R
type=Creature
mana={3}{G}
power=5
subtype=Rhino Beast
toughness=3
[/card]
[card]
text=Court Homunculus gets +1/+1 as long as you control another artifact.
auto=aslongas(artifact|myinplay) 1/1 other
id=182607
name=Court Homunculus
rarity=C
type=Artifact Creature
mana={W}
power=1
subtype=Homunculus
toughness=1
[/card]
[card]
text=Creatures your opponents control get -1/-0.
auto=lord(creature|opponentinplay) -1/0
id=180322
@@ -67,6 +92,19 @@ subtype=Gargoyle
toughness=2
[/card]
[card]
text=Reach (This can block creatures with flying.) As long as you control a red permanent, Ember Weaver gets +1/+0 and has first strike.
auto=aslongas(*[red]|myinplay) 1/0
auto=aslongas(*[red]|myinplay) first strike
id=184990
name=Ember Weaver
rarity=C
type=Creature
mana={2}{G}
power=2
subtype=Spider
toughness=3
[/card]
[card]
text=Flying
abilities=flying
id=184983

View File

@@ -141,17 +141,7 @@ power=6
subtype=Avatar
toughness=6
[/card]
[card]
text=Cliffrunner Behemoth has haste as long as you control a red permanent. Cliffrunner Behemoth has lifelink as long as you control a white permanent.
id=159612
name=Cliffrunner Behemoth
rarity=R
type=Creature
mana={3}{G}
power=5
subtype=Rhino Beast
toughness=3
[/card]
[card]
text=Search your library for a white card, a blue card, a black card, a red card, and a green card. Reveal those cards and put them into your hand. Then shuffle your library.
id=179437
@@ -194,17 +184,7 @@ rarity=U
type=Instant
mana={U}{B}
[/card]
[card]
text=Court Homunculus gets +1/+1 as long as you control another artifact.
id=182607
name=Court Homunculus
rarity=C
type=Artifact Creature
mana={W}
power=1
subtype=Homunculus
toughness=1
[/card]
[card]
text={R}{G}{W}: Cylian Sunsinger and each other creature with the same name as it get +3/+3 until end of turn.
@@ -266,17 +246,7 @@ type=Enchantment
mana={3}{U}{B}{R}
subtype=Aura
[/card]
[card]
text=Reach (This can block creatures with flying.) As long as you control a red permanent, Ember Weaver gets +1/+0 and has first strike.
id=184990
name=Ember Weaver
rarity=C
type=Creature
mana={2}{G}
power=2
subtype=Spider
toughness=3
[/card]
[card]
text=Flying At the beginning of your upkeep, return an artifact you control to its owner's hand.

View File

@@ -82,6 +82,18 @@ mana={2}{W}
subtype=aura
[/card]
[card]
text=Dire Wolves has banding as long as you control a Plains.
auto=aslongas(plains|myinplay) banding
id=2554
name=Dire Wolves
rarity=C
type=Creature
mana={2}{G}
power=2
subtype=Wolf
toughness=2
[/card]
[card]
text=Target creature cannot be blocked except by artifact creatures or black creatures.
id=2448
alias=1161
@@ -740,6 +752,18 @@ subtype=Orc
toughness=1
[/card]
[card]
text=Pestilence Rats's power is equal to the number of other Rats in play. (For example, as long as there are two other Rats in play, Pestilence Rats's power and toughness are 2/3.)
id=2481
auto=foreach(rat) 1/0 other
name=Pestilence Rats
rarity=C
type=Creature
mana={2}{B}
power=0
subtype=Rat
toughness=3
[/card]
[card]
text=Swampwalk
abilities=swampwalk
id=2581

File diff suppressed because it is too large Load Diff

View File

@@ -48,7 +48,7 @@ abilities=flying
[/card]
[card]
text=Creatures you control get +0/+1. Sacrifice Angelic Shield: Return target creature to its owner's hand.
auto=lord(creature|myinplay) 0/1
auto=lord(creature|myinplay) 0/1 includeself
auto={s}:moveTo(ownerhand) target(creature)
id=23177
name=Angelic Shield
@@ -242,7 +242,7 @@ toughness=3
[card]
text=Protection from black Crusading Knight gets +1/+1 for each Swamp your opponents control.
id=22963
auto=foreach(swamp|opponentinplay) 1/1
auto=foreach(name:Swamp)
name=Crusading Knight
colour=White
rarity=R
@@ -329,7 +329,8 @@ rarity=U
type=Land
[/card]
text=Other Elf creatures get +1/+1 and have forestwalk. (They're unblockable as long as defending player controls a Forest.)
alias=129534
auto=lord(elf) 1/1 other
auto=lord(elf) forestwalk other
id=26445
name=Elvish Champion
rarity=R
@@ -638,7 +639,7 @@ abilities=flying
[card]
text=Protection from white Marauding Knight gets +1/+1 for each Plains your opponents control.
id=23053
auto=foreach(plains|opponentinplay) 1/1
auto=foreach(name:Plains)
name=Marauding Knight
colour=Black
rarity=R
@@ -1125,6 +1126,22 @@ type=Basic Land
subtype=Swamp
[/card]
[card]
text=Tek gets +0/+2 as long as you control a Plains, has flying as long as you control an Island, gets +2/+0 as long as you control a Swamp, has first strike as long as you control a Mountain, and has trample as long as you control a Forest.
auto=aslongas(plains|myinplay) 0/2
auto=aslongas(island|myinplay) flying
auto=aslongas(swamp|myinplay) 2/0
auto=aslongas(mountain|myinplay) first strike
auto=aslongas(forest|myinplay) trample
id=23229
name=Tek
rarity=R
type=Artifact Creature
mana={5}
power=2
subtype=Dragon
toughness=2
[/card]
[card]
text={R}{R}, {T}: Thornscape Master deals 2 damage to target creature. {W}{W}, {T}: Target creature gains protection from the color of your choice until end of turn.
id=23136
name=Thornscape Master
@@ -1213,7 +1230,7 @@ type=Artifact
[/card]
[card]
text=Other black creatures get -1/-1
auto=lord(creature[black]) -1/-1 other
auto=lord(creature[black]) -1/-1
id=23035
name=Urborg Shambler
colour=Black

File diff suppressed because it is too large Load Diff

View File

@@ -46,6 +46,19 @@ subtype=Goblin Rogue
toughness=1
[/card]
[card]
text=As long as you control a Faerie, Boggart Sprite-Chaser gets +1/+1 and has flying.
auto=aslongas(faerie|myinplay) 1/1
auto=aslongas(faerie|myinplay) flying
id=146446
name=Boggart Sprite-Chaser
rarity=C
type=Creature
mana={1}{R}
power=1
subtype=Goblin Warrior
toughness=2
[/card]
[card]
text=Reach (This can block creatures with flying.)
abilities=reach
id=139492
@@ -58,6 +71,20 @@ subtype=Treefolk Warrior
toughness=4
[/card]
[card]
text=Dauntless Dourbark's power and toughness are each equal to the number of Forests you control plus the number of Treefolk you control. Dauntless Dourbark has trample as long as you control another Treefolk.
auto=foreach(forest|myinplay) 1/1
auto=foreach(treefolk|myinplay) 1/1
auto=aslongas(treefolk|myinplay) trample other
id=141851
name=Dauntless Dourbark
rarity=R
type=Creature
mana={3}{G}
power=*
subtype=Treefolk Warrior
toughness=*
[/card]
[card]
text={U}: Deeptread Merrow gains islandwalk until end of turn.
auto={U}:islandwalk
id=142352
@@ -291,6 +318,19 @@ subtype=Kithkin Soldier
toughness=1
[/card]
[card]
text=As long as you control a Giant, Kithkin Greatheart gets +1/+1 and has first strike.
auto=aslongas(giant|myinplay) 1/1
auto=aslongas(giant|myinplay) first strike
id=146444
name=Kithkin Greatheart
rarity=C
type=Creature
mana={1}{W}
power=2
subtype=Kithkin Soldier
toughness=1
[/card]
[card]
text=First strike Lifelink (Whenever this creature deals damage, you gain that much life.)
auto=first strike, lifelink
id=139715

View File

@@ -223,17 +223,7 @@ type=Tribal Enchantment
mana={2}{R}
subtype=Goblin
[/card]
[card]
text=As long as you control a Faerie, Boggart Sprite-Chaser gets +1/+1 and has flying.
id=146446
name=Boggart Sprite-Chaser
rarity=C
type=Creature
mana={1}{R}
power=1
subtype=Goblin Warrior
toughness=2
[/card]
[card]
text=Swampwalk Whenever a player plays a Goblin spell, you may pay {G}. If you do, you gain 2 life.
id=139410
@@ -467,19 +457,7 @@ rarity=R
type=Instant
mana={1}{U}{U}{U}
[/card]
[card]
text=Dauntless Dourbark's power and toughness are each equal to the number of Forests you control plus the number of Treefolk you control. Dauntless Dourbark has trample as long as you control another Treefolk.
auto=foreach(forest|myinplay) 1/1 includeself
auto=foreach(treefolk|myinplay) 1/1 includeself
id=141851
name=Dauntless Dourbark
rarity=R
type=Creature
mana={3}{G}
power=*
subtype=Treefolk Warrior
toughness=*
[/card]
[card]
text=Flash When Dawnfluke comes into play, prevent the next 3 damage that would be dealt to target creature or player this turn. Evoke {W} (You may play this spell for its evoke cost. If you do, it's sacrificed when it comes into play.)
id=145801
@@ -1246,17 +1224,7 @@ subtype=Kithkin Soldier
toughness=2
[/card]
[card]
text=As long as you control a Giant, Kithkin Greatheart gets +1/+1 and has first strike.
id=146444
name=Kithkin Greatheart
rarity=C
type=Creature
mana={1}{W}
power=2
subtype=Kithkin Soldier
toughness=1
[/card]
[card]
text=When Kithkin Harbinger comes into play, you may search your library for a Kithkin card, reveal it, then shuffle your library and put that card on top of it.
id=139399

File diff suppressed because it is too large Load Diff

View File

@@ -23,6 +23,32 @@ subtype=Elemental Warrior
toughness=3
[/card]
[card]
text=First strike Ballynock Cohort gets +1/+1 as long as you control another white creature.
abilities=first strike
auto=aslongas(creature[white]|myinplay) 1/1 other
id=142045
name=Ballynock Cohort
rarity=C
type=Creature
mana={2}{W}
power=2
subtype=Kithkin Soldier
toughness=2
[/card]
[card]
text=Blazethorn Scarecrow has haste as long as you control a red creature. Blazethorn Scarecrow has wither as long as you control a green creature. (It deals damage to creatures in the form of -1/-1 counters.)
id=151632
auto=aslongas(creature[red]|myinplay) haste
auto=aslongas(creature[green]|myinplay) wither
name=Blazethorn Scarecrow
rarity=C
type=Artifact Creature
mana={5}
power=3
subtype=Scarecrow
toughness=3
[/card]
[card]
text=Flying {BR}: Blistering Dieflyn gets +1/+0 until end of turn.
abilities=flying
auto={BR}:1/0
@@ -87,6 +113,18 @@ subtype=Goblin Warrior
toughness=3
[/card]
[card]
text=Flying Briarberry Cohort gets +1/+1 as long as you control another blue creature.
auto=aslongas(creature[blue]|myinplay) 1/1 other
id=146043
name=Briarberry Cohort
rarity=C
type=Creature
mana={1}{U}
power=1
subtype=Faerie Soldier
toughness=1
[/card]
[card]
text=Wither (This deals damage to creatures in the form of -1/-1 counters.) {1}{B}: Regenerate Cinderbones.
abilities=wither
auto={1}{B}:regenerate
@@ -112,6 +150,18 @@ subtype=Elemental Rogue
toughness=3
[/card]
[card]
text=Crabapple Cohort gets +1/+1 as long as you control another green creature.
auto=aslongas(creature[green]|myinplay) 1/1 other
id=146009
name=Crabapple Cohort
rarity=C
type=Creature
mana={4}{G}
power=4
subtype=Treefolk Warrior
toughness=4
[/card]
[card]
text=Fear Crowd of Cinders's power and toughness are each equal to the number of black permanents you control.
abilities=fear
auto=foreach(*[black]|myinplay) 1/1
@@ -446,6 +496,19 @@ type=Basic Land
subtype=Mountain
[/card]
[card]
text=Haste Mudbrawler Cohort gets +1/+1 as long as you control another red creature.
abilities=haste
auto=aslongas(creature[red]|myinplay) 1/1 other
id=146062
name=Mudbrawler Cohort
rarity=C
type=Creature
mana={1}{R}
power=1
subtype=Goblin Warrior
toughness=1
[/card]
[card]
text={T}: Add {1} to your mana pool. {WU}, {T}: Add {W}{W}, {W}{U}, or {U}{U} to your mana pool.
auto={T}:Add{1}
auto={WU}{T}:Add{W}{W}
@@ -603,6 +666,19 @@ subtype=Elemental Warrior
toughness=1
[/card]
[card]
text=Rattleblaze Scarecrow has persist as long as you control a black creature. (When this creature is put into a graveyard from play, if it had no -1/-1 counters on it, return it to play under its owner's control with a -1/-1 counter on it.) Rattleblaze Scarecrow has haste as long as you control a red creature.
auto=aslongas(creature[black]|myinplay) persist
auto=aslongas(creature[red]|myinplay) haste
id=151631
name=Rattleblaze Scarecrow
rarity=C
type=Artifact Creature
mana={6}
power=5
subtype=Scarecrow
toughness=3
[/card]
[card]
text=Regenerate target permanent.
target=*
auto=regenerate
@@ -769,6 +845,19 @@ subtype=Kithkin Knight
toughness=3
[/card]
[card]
text=Thornwatch Scarecrow has wither as long as you control a green creature. (It deals damage to creatures in the form of -1/-1 counters.) Thornwatch Scarecrow has vigilance as long as you control a white creature.
auto=aslongas(creature[green]|myinplay) wither
auto=aslongas(creature[white]|myinplay) vigilance
id=151634
name=Thornwatch Scarecrow
rarity=C
type=Artifact Creature
mana={6}
power=4
subtype=Scarecrow
toughness=4
[/card]
[card]
text=Flash Enchant creature Enchanted creature gets -3/-0.
abilities=flash
target=creature
@@ -815,6 +904,19 @@ subtype=Faerie Soldier
toughness=2
[/card]
[card]
text=Watchwing Scarecrow has vigilance as long as you control a white creature. Watchwing Scarecrow has flying as long as you control a blue creature.
auto=aslongas(creature[blue]|myinplay) flying
auto=aslongas(creature[white]|myinplay) vigilance
id=151630
name=Watchwing Scarecrow
rarity=C
type=Artifact Creature
mana={4}
power=2
subtype=Scarecrow
toughness=4
[/card]
[card]
text=Wither (This deals damage to creatures in the form of -1/-1 counters.)
abilities=wither
id=135436
@@ -839,6 +941,19 @@ subtype=Elf Knight
toughness=4
[/card]
[card]
text=Wingrattle Scarecrow has flying as long as you control a blue creature. Wingrattle Scarecrow has persist as long as you control a black creature. (When this creature is put into a graveyard from play, if it had no -1/-1 counters on it, return it to play under its owner's control with a -1/-1 counter on it.)
auto=aslongas(creature[blue]|myinplay) flying
auto=aslongas(creature[black]|myinplay) persist
id=151633
name=Wingrattle Scarecrow
rarity=C
type=Artifact Creature
mana={3}
power=2
subtype=Scarecrow
toughness=2
[/card]
[card]
text={T}: Add {1} to your mana pool. {GW}, {T}: Add {G}{G}, {G}{W}, or {W}{W} to your mana pool.
auto={T}:Add{1}
auto={GW}{T}:Add{G}{G}

View File

@@ -68,17 +68,7 @@ power=2
subtype=Kithkin Wizard
toughness=2
[/card]
[card]
text=First strike Ballynock Cohort gets +1/+1 as long as you control another white creature.
id=142045
name=Ballynock Cohort
rarity=C
type=Creature
mana={2}{W}
power=2
subtype=Kithkin Soldier
toughness=2
[/card]
[card]
text=Target creature gets +2/+2 until end of turn. Conspire (As you play this spell, you may tap two untapped creatures you control that share a color with it. When you do, copy it and you may choose a new target for the copy.)
id=158772
@@ -126,17 +116,7 @@ type=Enchantment
mana={4}{U}
subtype=Aura
[/card]
[card]
text=Blazethorn Scarecrow has haste as long as you control a red creature. Blazethorn Scarecrow has wither as long as you control a green creature. (It deals damage to creatures in the form of -1/-1 counters.)
id=151632
name=Blazethorn Scarecrow
rarity=C
type=Artifact Creature
mana={5}
power=3
subtype=Scarecrow
toughness=3
[/card]
[card]
text=Equipped creature gets +1/+0 and has wither. (It deals damage to creatures in the form of -1/-1 counters.) Equip {2}
id=129135
@@ -172,17 +152,7 @@ rarity=R
type=Enchantment
mana={4}{W}
[/card]
[card]
text=Flying Briarberry Cohort gets +1/+1 as long as you control another blue creature.
id=146043
name=Briarberry Cohort
rarity=C
type=Creature
mana={1}{U}
power=1
subtype=Faerie Soldier
toughness=1
[/card]
[card]
text=Burn Trail deals 3 damage to target creature or player. Conspire (As you play this spell, you may tap two untapped creatures you control that share a color with it. When you do, copy it and you may choose a new target for the copy.)
id=158688
@@ -264,17 +234,7 @@ rarity=R
type=Instant
mana={3}{U}{U}
[/card]
[card]
text=Crabapple Cohort gets +1/+1 as long as you control another green creature.
id=146009
name=Crabapple Cohort
rarity=C
type=Creature
mana={4}{G}
power=4
subtype=Treefolk Warrior
toughness=4
[/card]
[card]
text=When Cragganwick Cremator comes into play, discard a card at random. If you discard a creature card this way, Cragganwick Cremator deals damage equal to that card's power to target player.
id=159402
@@ -1196,17 +1156,7 @@ power=5
subtype=Troll
toughness=5
[/card]
[card]
text=Haste Mudbrawler Cohort gets +1/+1 as long as you control another red creature.
id=146062
name=Mudbrawler Cohort
rarity=C
type=Creature
mana={1}{R}
power=1
subtype=Goblin Warrior
toughness=1
[/card]
[card]
text=Mudbrawler Raiders can't be blocked by blue creatures.
id=141992
@@ -1427,17 +1377,7 @@ rarity=U
type=Enchantment
mana={1}{G}{G}
[/card]
[card]
text=Rattleblaze Scarecrow has persist as long as you control a black creature. (When this creature is put into a graveyard from play, if it had no -1/-1 counters on it, return it to play under its owner's control with a -1/-1 counter on it.) Rattleblaze Scarecrow has haste as long as you control a red creature.
id=151631
name=Rattleblaze Scarecrow
rarity=C
type=Artifact Creature
mana={6}
power=5
subtype=Scarecrow
toughness=3
[/card]
[card]
text=Raven's Run Dragoon can't be blocked by black creatures.
id=142037
@@ -1876,17 +1816,7 @@ power=2
subtype=Kithkin Soldier Wizard
toughness=2
[/card]
[card]
text=Thornwatch Scarecrow has wither as long as you control a green creature. (It deals damage to creatures in the form of -1/-1 counters.) Thornwatch Scarecrow has vigilance as long as you control a white creature.
id=151634
name=Thornwatch Scarecrow
rarity=C
type=Artifact Creature
mana={6}
power=4
subtype=Scarecrow
toughness=4
[/card]
[card]
text=If you would draw a card, draw two cards instead.
id=146728
@@ -2011,17 +1941,7 @@ power=3
subtype=Merfolk Rogue
toughness=3
[/card]
[card]
text=Watchwing Scarecrow has vigilance as long as you control a white creature. Watchwing Scarecrow has flying as long as you control a blue creature.
id=151630
name=Watchwing Scarecrow
rarity=C
type=Artifact Creature
mana={4}
power=2
subtype=Scarecrow
toughness=4
[/card]
[card]
text=Enchant player If a card would be put into enchanted player's graveyard from anywhere, instead that card is revealed and put on the bottom of that player's library.
id=146740
@@ -2085,17 +2005,7 @@ power=5
subtype=Bird
toughness=7
[/card]
[card]
text=Wingrattle Scarecrow has flying as long as you control a blue creature. Wingrattle Scarecrow has persist as long as you control a black creature. (When this creature is put into a graveyard from play, if it had no -1/-1 counters on it, return it to play under its owner's control with a -1/-1 counter on it.)
id=151633
name=Wingrattle Scarecrow
rarity=C
type=Artifact Creature
mana={3}
power=2
subtype=Scarecrow
toughness=2
[/card]
[card]
text=Whenever Witherscale Wurm blocks or becomes blocked by a creature, that creature gains wither until end of turn. (It deals damage to creatures in the form of -1/-1 counters.) Whenever Witherscale Wurm deals damage to an opponent, remove all -1/-1 counters from it.
id=152068

View File

@@ -2424,7 +2424,7 @@ class AKarma: public TriggeredAbility{
}
};
//1355 Norther Paladin
//1355 Northern Paladin
class ANorthernPaladin:public TargetAbility{
public:
ANorthernPaladin(int _id, MTGCardInstance * card):TargetAbility(_id, card){
@@ -2672,12 +2672,14 @@ class AKirdApe:public ListMaintainerAbility{
TargetChooser * tc;
int power;
int toughness;
int ability;
int includeSelf;
AKirdApe(int _id, MTGCardInstance * _source, TargetChooser * _tc, int _power, int _toughness,int _includeSelf):ListMaintainerAbility(_id, _source){
AKirdApe(int _id, MTGCardInstance * _source, TargetChooser * _tc, int _includeSelf,int _power = 0, int _toughness = 0, int _ability=-1):ListMaintainerAbility(_id, _source){
power = _power;
toughness = _toughness;
tc = _tc;
includeSelf = _includeSelf;
ability=_ability;
}
int canBeInList(MTGCardInstance * card){
@@ -2689,15 +2691,18 @@ class AKirdApe:public ListMaintainerAbility{
if (cards.size()== 1){
source->power+=power;
source->addToToughness(toughness);
if (ability != -1) source->basicAbilities[ability] +=1;
return 1;
}
return 0;
}
int removed(MTGCardInstance * card){
if (cards.size()== 0){
source->power-=power;
source->addToToughness(-toughness);
if ((ability != -1) && source->basicAbilities[ability] >0 ) source->basicAbilities[ability] -=1;
return 1;
}
return 0;

View File

@@ -507,7 +507,7 @@ int AbilityFactory::magicText(int id, Spell * spell, MTGCardInstance * card){
if (lordType == PARSER_FOREACH){
game->addObserver(NEW AForeach(id,card,target,lordTargets,lordIncludeSelf,power,toughness));
}else if (lordType == PARSER_ASLONGAS){
game->addObserver(NEW AKirdApe(id,card,lordTargets,power,toughness,lordIncludeSelf));
game->addObserver(NEW AKirdApe(id,card,lordTargets,lordIncludeSelf,power,toughness));
}else{
if (!cost){
if(card->hasType("enchantment")){
@@ -567,9 +567,11 @@ int AbilityFactory::magicText(int id, Spell * spell, MTGCardInstance * card){
}
}
if (lordTargets){
if (lordType == PARSER_LORD){
game->addObserver(NEW ALord(id,card,lordTargets,lordIncludeSelf,0,0,j));
}else{
}else if (lordType == PARSER_ASLONGAS){
game->addObserver(NEW AKirdApe(id,card,lordTargets,lordIncludeSelf,0,0,j));
}else{
if (tc){
game->addObserver(NEW ABasicAbilityModifierUntilEOT(id, card, j, cost,tc, modifier));
}else{

View File

@@ -19,7 +19,7 @@ import os
import os.path
from mtgCommon import *
setinfo=sets['MIR']
setinfo=sets['IN']
stripReminderText = False
conffile = open(setinfo['dir'] + ".conf", 'w')
@@ -75,6 +75,7 @@ for cardRow in soup.find(id="_gridResults").findAll('tr',onmouseover="this.style
htmlText = replaceSymbols(htmlText)
text = cleanupHTMLText(htmlText, stripReminderText)
text = text.replace(u'\xc6', 'AE')
text = text.replace(u'\xa0', '')
supertype, subtype = getCardTypes(cardRow)

View File

@@ -170,9 +170,9 @@ sets ={'BE':{'name':'Beta',
'gathabbrev': 'FE',
'gathname':'FallenEmpires',
},
'IA':{'name':'Ice Age',
'dir':'IA',
'abbrev':'IA',
'ICE':{'name':'Ice Age',
'dir':'ICE',
'abbrev':'ICE',
'gathdirs':['IA/en-us'],
'gathabbrev': 'IA',
'gathname':'IceAge',
@@ -268,6 +268,7 @@ sets ={'BE':{'name':'Beta',
'IN':{'name':'Invasion',
'dir':'IN',
'abbrev':'IN',
'gathdirs':['IN/en-us'],
'gathabbrev': 'IN',
'gathname':'Invasion',
},