Laurent - Added 8 cards to SHM (Flow of ideas, Fracturing Gut, Howl of the Night Pack, Poison the Well, Smash to Smithereens, Spiteflame Witch, Thoughweft Gambit, Windbrisk Raptor)

+ Forgot to upload Targetchooser.cpp by R499 :D  (needed for opponentshroud..)
This commit is contained in:
wagic.laurent
2009-06-22 19:50:26 +00:00
parent 1cdeebd3e1
commit be086640eb
4 changed files with 123 additions and 81 deletions
+79
View File
@@ -301,6 +301,15 @@ type=Instant
mana={2R}{2R}{2R} mana={2R}{2R}{2R}
[/card] [/card]
[card] [card]
text=Draw a card for each Island you control.
id=158692
alias=87978
name=Flow of Ideas
rarity=U
type=Sorcery
mana={5}{U}
[/card]
[card]
text={T}: Add {G} to your mana pool. text={T}: Add {G} to your mana pool.
auto={T}:Add{G} auto={T}:Add{G}
id=157877 id=157877
@@ -349,6 +358,14 @@ subtype=Treefolk Shaman
toughness=6 toughness=6
[/card] [/card]
[card] [card]
text=Destroy all artifacts and enchantments. You gain 2 life for each permanent destroyed this way.
id=146759
name=Fracturing Gust
rarity=R
type=Instant
mana={2}{GW}{GW}{GW}
[/card]
[card]
text=Sacrifice Fulminator Mage: Destroy target nonbasic land. text=Sacrifice Fulminator Mage: Destroy target nonbasic land.
auto={S}:destroy target(land[-basic]) auto={S}:destroy target(land[-basic])
id=142009 id=142009
@@ -420,6 +437,14 @@ subtype=Scarecrow
toughness=1 toughness=1
[/card] [/card]
[card] [card]
text=Put a 2/2 green Wolf creature token into play for each Forest you control.
id=153996
name=Howl of the Night Pack
rarity=U
type=Sorcery
mana={6}{G}
[/card]
[card]
text=Inkfathom Infiltrator can't block and is unblockable. text=Inkfathom Infiltrator can't block and is unblockable.
abilities=unblockable,cantblock abilities=unblockable,cantblock
id=154401 id=154401
@@ -633,6 +658,16 @@ subtype=Faerie Soldier
toughness=1 toughness=1
[/card] [/card]
[card] [card]
text=Destroy target land. Poison the Well deals 2 damage to that land's controller.
id=147427
target=Land
auto=destroy
name=Poison the Well
rarity=C
type=Sorcery
mana={2}{BR}{BR}
[/card]
[card]
text=Creatures you control have double strike. text=Creatures you control have double strike.
auto=lord(creature|myinplay) double strike auto=lord(creature|myinplay) double strike
id=146727 id=146727
@@ -695,6 +730,28 @@ subtype=Scarecrow
toughness=1 toughness=1
[/card] [/card]
[card] [card]
text=Destroy target artifact. Smash to Smithereens deals 3 damage to that artifact's controller.
id=158243
target=Artifact
auto=destroy
name=Smash to Smithereens
rarity=C
type=Instant
mana={1}{R}
[/card]
[card]
text={B}{R}: Each player loses 1 life.
id=157880
auto={B}{R}:damage:1 all(player)
name=Spiteflame Witch
rarity=U
type=Creature
mana={1}{BR}
power=2
subtype=Elemental Shaman
toughness=1
[/card]
[card]
text={T}: Add {W} to your mana pool. text={T}: Add {W} to your mana pool.
auto={T}:Add{W} auto={T}:Add{W}
id=158236 id=158236
@@ -970,6 +1027,16 @@ subtype=Scarecrow
toughness=4 toughness=4
[/card] [/card]
[card] [card]
text=Tap all creatures your opponents control and untap all creatures you control.
id=146024
auto=tap all(creature|opponentinplay)
auto=untap all(creature|myinplay)
name=Thoughtweft Gambit
rarity=U
type=Instant
mana={4}{WU}{WU}
[/card]
[card]
text=Flash Enchant creature Enchanted creature gets -3/-0. text=Flash Enchant creature Enchanted creature gets -3/-0.
abilities=flash abilities=flash
target=creature target=creature
@@ -1066,6 +1133,18 @@ subtype=Elf Knight
toughness=4 toughness=4
[/card] [/card]
[card] [card]
text=Flying Attacking creatures you control have lifelink.
id=146090
auto=lord(creature[attacking]|myinplay) lifelink
name=Windbrisk Raptor
rarity=R
type=Creature
mana={5}{W}{W}
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.) 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[blue]|myinplay) flying
auto=aslongas(creature[black]|myinplay) persist auto=aslongas(creature[black]|myinplay) persist
+6 -80
View File
@@ -463,14 +463,6 @@ type=Enchantment
mana={4}{G} mana={4}{G}
[/card] [/card]
[card] [card]
text=Draw a card for each Island you control.
id=158692
name=Flow of Ideas
rarity=U
type=Sorcery
mana={5}{U}
[/card]
[card]
text=Return a card at random from your graveyard to your hand, then reorder your graveyard as you choose. text=Return a card at random from your graveyard to your hand, then reorder your graveyard as you choose.
id=146736 id=146736
name=Fossil Find name=Fossil Find
@@ -479,14 +471,6 @@ type=Sorcery
mana={RG} mana={RG}
[/card] [/card]
[card] [card]
text=Destroy all artifacts and enchantments. You gain 2 life for each permanent destroyed this way.
id=146759
name=Fracturing Gust
rarity=R
type=Instant
mana={2}{GW}{GW}{GW}
[/card]
[card]
text=When Furystoke Giant comes into play, other creatures you control gain "{T}: This creature deals 2 damage to target creature or player" until end of turn. Persist (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.) text=When Furystoke Giant comes into play, other creatures you control gain "{T}: This creature deals 2 damage to target creature or player" until end of turn. Persist (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=152069 id=152069
name=Furystoke Giant name=Furystoke Giant
@@ -641,8 +625,6 @@ power=4
subtype=Scarecrow subtype=Scarecrow
toughness=4 toughness=4
[/card] [/card]
[card] [card]
text=At the beginning of your upkeep, remove a -1/-1 counter from each creature you control. Persist (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.) text=At the beginning of your upkeep, remove a -1/-1 counter from each creature you control. Persist (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=153312 id=153312
@@ -697,14 +679,6 @@ subtype=Goblin
toughness=* toughness=*
[/card] [/card]
[card] [card]
text=Put a 2/2 green Wolf creature token into play for each Forest you control.
id=153996
name=Howl of the Night Pack
rarity=U
type=Sorcery
mana={6}{G}
[/card]
[card]
text=Trample Whenever Hungry Spriggan attacks, it gets +3/+3 until end of turn. text=Trample Whenever Hungry Spriggan attacks, it gets +3/+3 until end of turn.
id=153997 id=153997
name=Hungry Spriggan name=Hungry Spriggan
@@ -750,7 +724,6 @@ power=3
subtype=Giant Warrior subtype=Giant Warrior
toughness=3 toughness=3
[/card] [/card]
[card] [card]
text=Fear {2}{U}{B}: Each unblocked creature becomes 4/1 until end of turn. text=Fear {2}{U}{B}: Each unblocked creature becomes 4/1 until end of turn.
id=157879 id=157879
@@ -811,7 +784,6 @@ power=2
subtype=Kithkin Soldier subtype=Kithkin Soldier
toughness=2 toughness=2
[/card] [/card]
[card] [card]
text=Flying {1}{U}, {T}: Target opponent removes the top card of his or her library from the game. Until end of turn, you may play that card. ({T} is the untap symbol.) text=Flying {1}{U}, {T}: Target opponent removes the top card of his or her library from the game. Until end of turn, you may play that card. ({T} is the untap symbol.)
id=146036 id=146036
@@ -960,6 +932,8 @@ mana={UB}{UB}{UB}{UB}
text=Target player puts the top four cards of his or her library into his or her graveyard. 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.) text=Target player puts the top four cards of his or her library into his or her graveyard. 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=158759 id=158759
name=Memory Sluice name=Memory Sluice
target=player
auto=deplete:4
rarity=C rarity=C
type=Sorcery type=Sorcery
mana={UB} mana={UB}
@@ -1081,11 +1055,11 @@ power=5
subtype=Troll subtype=Troll
toughness=5 toughness=5
[/card] [/card]
[card] [card]
text=Mudbrawler Raiders can't be blocked by blue creatures. text=Mudbrawler Raiders can't be blocked by blue creatures.
id=141992 id=141992
name=Mudbrawler Raiders name=Mudbrawler Raiders
auto=cantbeblockedby(creature[blue])
rarity=C rarity=C
type=Creature type=Creature
mana={2}{RG}{RG} mana={2}{RG}{RG}
@@ -1187,14 +1161,6 @@ type=Sorcery
mana={6}{B} mana={6}{B}
[/card] [/card]
[card] [card]
text=Destroy target land. Poison the Well deals 2 damage to that land's controller.
id=147427
name=Poison the Well
rarity=C
type=Sorcery
mana={2}{BR}{BR}
[/card]
[card]
text=Whenever a land comes into play under an opponent's control, that player loses 2 life and you gain 2 life. text=Whenever a land comes into play under an opponent's control, that player loses 2 life and you gain 2 life.
id=146766 id=146766
name=Polluted Bonds name=Polluted Bonds
@@ -1302,10 +1268,10 @@ rarity=U
type=Enchantment type=Enchantment
mana={1}{G}{G} mana={1}{G}{G}
[/card] [/card]
[card] [card]
text=Raven's Run Dragoon can't be blocked by black creatures. text=Raven's Run Dragoon can't be blocked by black creatures.
id=142037 id=142037
auto=cantbeblockedby(creature[black])
name=Raven's Run Dragoon name=Raven's Run Dragoon
rarity=C rarity=C
type=Creature type=Creature
@@ -1554,14 +1520,6 @@ subtype=Giant Rogue
toughness=4 toughness=4
[/card] [/card]
[card] [card]
text=Destroy target artifact. Smash to Smithereens deals 3 damage to that artifact's controller.
id=158243
name=Smash to Smithereens
rarity=C
type=Instant
mana={1}{R}
[/card]
[card]
text=Whenever a player plays a black spell, you may pay {1}. If you do, target player loses 1 life. text=Whenever a player plays a black spell, you may pay {1}. If you do, target player loses 1 life.
id=147376 id=147376
name=Smolder Initiate name=Smolder Initiate
@@ -1587,6 +1545,7 @@ toughness=1
text=Sootwalkers can't be blocked by white creatures. text=Sootwalkers can't be blocked by white creatures.
id=141936 id=141936
name=Sootwalkers name=Sootwalkers
auto=cantbeblockedby(creature[white])
rarity=C rarity=C
type=Creature type=Creature
mana={2}{BR}{BR} mana={2}{BR}{BR}
@@ -1614,17 +1573,6 @@ type=Instant
mana={1}{U} mana={1}{U}
[/card] [/card]
[card] [card]
text={B}{R}: Each player loses 1 life.
id=157880
name=Spiteflame Witch
rarity=U
type=Creature
mana={1}{BR}
power=2
subtype=Elemental Shaman
toughness=1
[/card]
[card]
text=At the beginning of each player's draw step, that player draws an additional card. Whenever a player draws a card, Spiteful Visions deals 1 damage to that player. text=At the beginning of each player's draw step, that player draws an additional card. Whenever a player draws a card, Spiteful Visions deals 1 damage to that player.
id=146089 id=146089
name=Spiteful Visions name=Spiteful Visions
@@ -1723,7 +1671,6 @@ power=2
subtype=Kithkin Soldier Wizard subtype=Kithkin Soldier Wizard
toughness=2 toughness=2
[/card] [/card]
[card] [card]
text=If you would draw a card, draw two cards instead. text=If you would draw a card, draw two cards instead.
id=146728 id=146728
@@ -1733,14 +1680,6 @@ type=Enchantment
mana={4}{U}{U}{U} mana={4}{U}{U}{U}
[/card] [/card]
[card] [card]
text=Tap all creatures your opponents control and untap all creatures you control.
id=146024
name=Thoughtweft Gambit
rarity=U
type=Instant
mana={4}{WU}{WU}
[/card]
[card]
text=You gain 1 life for each tapped artifact, creature, and land you control. text=You gain 1 life for each tapped artifact, creature, and land you control.
id=159410 id=159410
name=Toil to Renown name=Toil to Renown
@@ -1817,7 +1756,6 @@ type=Artifact
mana={3} mana={3}
subtype=Equipment subtype=Equipment
[/card] [/card]
[card] [card]
text=Vexing Shusher can't be countered. {RG}: Target spell can't be countered by spells or abilities. text=Vexing Shusher can't be countered. {RG}: Target spell can't be countered by spells or abilities.
id=146016 id=146016
@@ -1841,6 +1779,7 @@ mana={G}
text=Wanderbrine Rootcutters can't be blocked by green creatures. text=Wanderbrine Rootcutters can't be blocked by green creatures.
id=142012 id=142012
name=Wanderbrine Rootcutters name=Wanderbrine Rootcutters
auto=cantbeblockedby(creature[green])
rarity=C rarity=C
type=Creature type=Creature
mana={2}{UB}{UB} mana={2}{UB}{UB}
@@ -1848,7 +1787,6 @@ power=3
subtype=Merfolk Rogue subtype=Merfolk Rogue
toughness=3 toughness=3
[/card] [/card]
[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. 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 id=146740
@@ -1890,18 +1828,6 @@ power=4
subtype=Elf Knight subtype=Elf Knight
toughness=4 toughness=4
[/card] [/card]
[card]
text=Flying Attacking creatures you control have lifelink.
id=146090
name=Windbrisk Raptor
rarity=R
type=Creature
mana={5}{W}{W}
power=5
subtype=Bird
toughness=7
[/card]
[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. 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 id=152068
+36
View File
@@ -2103,6 +2103,42 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){
break; break;
} }
case 153996: // Howl of the Night Pack
{
int x = card->controller()->game->inPlay->countByType("Forest");
ATokenCreator * tok = NEW ATokenCreator(id,card,NEW ManaCost(),"Wolf","Creature Wolf",2,2,"green",0);
for (int i=0; i < x-1; i++){
tok->resolve();
}
break;
}
case 147427: // Poison the Well
{
card->target->controller()->life-=2;
break;
}
case 158243: //Smash to Smithereens
{
card->target->controller()->life-=3;
break;
}
case 146759: //Fracturing Gust
{
GameObserver * game = GameObserver::GetInstance();
for (int i = 0; i < 2 ; i++){
for (int j = 0; j < game->players[i]->game->inPlay->nb_cards; j++){
MTGCardInstance * current = game->players[i]->game->inPlay->cards[j];
if (current->hasType("Artifact") || current->hasType("Enchantment")){
game->players[i]->game->putInGraveyard(current);
card->controller()->life+= 2;
}
}
}
break;
}
// --- addon Invasion--- // --- addon Invasion---
case 23195: //Artifact Mutation case 23195: //Artifact Mutation
{ {
+2 -1
View File
@@ -275,7 +275,8 @@ int TargetChooser::canTarget(Targetable * target){
if (target->typeAsTarget() == TARGET_CARD){ if (target->typeAsTarget() == TARGET_CARD){
MTGCardInstance * card = (MTGCardInstance *) target; MTGCardInstance * card = (MTGCardInstance *) target;
if (source && card->isInPlay() && (card->has(Constants::SHROUD)|| card->protectedAgainst(source) )) return 0; if (source && card->isInPlay() && (card->has(Constants::SHROUD)|| card->protectedAgainst(source) )) return 0;
return 1; if (source && card->isInPlay() && (source->controller() != card->controller()) && (card->has(Constants::OPPONENTSHROUD)|| card->protectedAgainst(source) )) return 0;
return 1;
}else if (target->typeAsTarget() == TARGET_STACKACTION){ }else if (target->typeAsTarget() == TARGET_STACKACTION){
return 1; return 1;
} }