Laurent - RAV update also added a lot of cards with deplete function (Glimpse the Unthinkable - WTF ??? this card is HUGE !!!!) and some also to the code did not test them... :D

This commit is contained in:
wagic.laurent
2009-05-25 23:14:01 +00:00
parent 2f9df464b6
commit 2e6b01a6fc
3 changed files with 144 additions and 826 deletions
+118 -12
View File
@@ -18,8 +18,7 @@ id=83688
name=Birds of Paradise name=Birds of Paradise
color=Green color=Green
rarity=R rarity=R
mana={G} mana={G}type=Creature
subtype=Bird subtype=Bird
power=0 power=0
toughness=1 toughness=1
@@ -31,8 +30,7 @@ id=83754
name=Blazing Archon name=Blazing Archon
color=White color=White
rarity=R rarity=R
rarity=R mana={6}{W}{W}{W}type=Creature
mana={6}{W}{W}{W}
subtype=Archon subtype=Archon
auto=lord(creature|opponentinplay) defender auto=lord(creature|opponentinplay) defender
power=5 power=5
@@ -40,7 +38,7 @@ toughness=6
abilities=Flying abilities=Flying
[/card] [/card]
[card] [card]
[/card] text=({RW} can be paid with either {R} or {W}.) {1}{R}: Target creature gains haste until end of turn. {1}{W}: Target creature gains first strike until end of turn.
id=87918 id=87918
name=Boros Guildmage name=Boros Guildmage
color=Red,White color=Red,White
@@ -54,7 +52,7 @@ power=2
toughness=2 toughness=2
[/card] [/card]
[card] [card]
[/card] text=({RW} can be paid with either {R} or {W}.) First strike
id=88992 id=88992
name=Boros Recruit name=Boros Recruit
color=Red,White color=Red,White
@@ -90,7 +88,7 @@ toughness=2
abilities=double strike abilities=double strike
[/card] [/card]
[card] [card]
[/card] text=Defender (This creature can't attack.) When Carven Caryatid comes into play, draw a card.
id=89048 id=89048
auto=draw:1 auto=draw:1
name=Carven Caryatid name=Carven Caryatid
@@ -210,6 +208,15 @@ type=Enchantment
subtype=Aura subtype=Aura
[/card] [/card]
[card] [card]
text={T}: Add {1} to your mana pool. {U}{B}, {T}: Target player puts the top card of his or her library into his or her graveyard.
auto={T}:add{1}
auto={U}{B}{T}:deplete:1 target(player)
id=88943
name=Duskmantle, House of Shadow
rarity=U
type=Land
[/card]
[card]
text={T}: Add {B} to your mana pool. Elves of Deep Shadow deals 1 damage to you. text={T}: Add {B} to your mana pool. Elves of Deep Shadow deals 1 damage to you.
id=83833 id=83833
name=Elves of Deep Shadow name=Elves of Deep Shadow
@@ -223,6 +230,15 @@ power=1
toughness=1 toughness=1
[/card] [/card]
[card] [card]
text=Each player returns all creature cards from his or her graveyard to his or her hand.
id=89015
name=Empty the Catacombs
auto=moveto(ownerhand) all(creature|graveyard)
rarity=R
type=Sorcery
mana={3}{B}
[/card]
[card]
text={4}{G}, Sacrifice a creature: Destroy target creature with flying. text={4}{G}, Sacrifice a creature: Destroy target creature with flying.
id=87928 id=87928
name=Elvish Skysweeper name=Elvish Skysweeper
@@ -248,7 +264,6 @@ mana={1}{G}
type=Enchantment type=Enchantment
subtype=Aura subtype=Aura
[/card] [/card]
subtype=Aura
[card] [card]
text=Enchant creature When Flight of Fancy comes into play, draw two cards. Enchanted creature has flying. text=Enchant creature When Flight of Fancy comes into play, draw two cards. Enchanted creature has flying.
target=creature target=creature
@@ -262,7 +277,14 @@ mana={3}{U}
type=Enchantment type=Enchantment
subtype=Aura subtype=Aura
[/card] [/card]
subtype=Aura [card]
text=Draw a card for each Island you control.
id=87978
name=Flow of Ideas
rarity=U
type=Sorcery
mana={5}{U}
[/card]
[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}
@@ -312,7 +334,6 @@ mana={2}{R}
type=Enchantment type=Enchantment
subtype=Aura subtype=Aura
[/card] [/card]
subtype=Aura
[card] [card]
id=83719 id=83719
name=Glass Golem name=Glass Golem
@@ -325,6 +346,16 @@ power=6
toughness=2 toughness=2
[/card] [/card]
[card] [card]
text=Target player puts the top ten cards of his or her library into his or her graveyard.
id=83597
target=player
auto=deplete:10
name=Glimpse the Unthinkable
rarity=R
type=Sorcery
mana={U}{B}
[/card]
[card]
text=Mountainwalk text=Mountainwalk
id=83803 id=83803
name=Goblin Spelunkers name=Goblin Spelunkers
@@ -338,6 +369,18 @@ toughness=2
abilities=mountainwalk abilities=mountainwalk
[/card] [/card]
[card] [card]
text={B}, Sacrifice a creature: Target player loses 1 life.
id=89038
auto={B}{S(creature|myinplay):damage:1 target(player)
name=Golgari Rotwurm
rarity=C
type=Creature
mana={3}{B}{G}
power=5
subtype=Zombie Wurm
toughness=4
[/card]
[card]
text={1}, {T}: Add {B}{G} to your mana pool. text={1}, {T}: Add {B}{G} to your mana pool.
auto={1}{T}:Add {B}{G} auto={1}{T}:Add {B}{G}
id=95536 id=95536
@@ -387,6 +430,18 @@ power=3
toughness=4 toughness=4
[/card] [/card]
[card] [card]
text={T}: Hammerfist Giant deals 4 damage to each creature without flying and each player.
id=83712
auto={T}:damage:4 all(creature[-flying],player)
name=Hammerfist Giant
rarity=R
type=Creature
mana={4}{R}{R}
power=5
subtype=Giant Warrior
toughness=4
[/card]
[card]
text={T}: Add {U} to your mana pool. text={T}: Add {U} to your mana pool.
auto={T}:add {U} auto={T}:add {U}
id=95113 id=95113
@@ -588,6 +643,15 @@ type=Basic Land
subtype=Plains subtype=Plains
[/card] [/card]
[card] [card]
text=Target player puts the top X cards of his or her library into his or her graveyard and you gain X life.
id=89114
target=player
name=Psychic Drain
rarity=U
type=Sorcery
mana={X}{U}{B}
[/card]
[card]
text=Destroy target artifact or creature. It can't be regenerated. text=Destroy target artifact or creature. It can't be regenerated.
target=creature,artifact target=creature,artifact
auto=bury auto=bury
@@ -599,9 +663,17 @@ mana={1}{B}{G}
type=Instant type=Instant
[/card] [/card]
[card] [card]
text=Rain of Embers deals 1 damage to each creature and each player.
id=87943
auto=damage:1 all(creature,player)
name=Rain of Embers
rarity=C
type=Sorcery
mana={1}{R}
[/card]
[card]
text=Return target card from your graveyard to your hand. text=Return target card from your graveyard to your hand.
[card] auto=moveto(myHand) target(*|myGraveyard)
text=Return target card from your graveyard to your hand.
id=88966 id=88966
name=Recollect name=Recollect
color=Green color=Green
@@ -648,6 +720,19 @@ mana={2}{R}{R}
type=Sorcery type=Sorcery
[/card] [/card]
[card] [card]
text=({GW} can be paid with either {G} or {W}.) {3}{G}: Put a 1/1 green Saproling creature token into play. {3}{W}: Creatures you control get +1/+1 until end of turn.
id=87988
auto={3}{G}:token (saproling,creature saproling token,1/1,green)
auto={3}{W}:lord (creature|myinplay) 1/1
name=Selesnya Guildmage
rarity=U
type=Creature
mana={GW}{GW}
power=2
subtype=Elf Wizard
toughness=2
[/card]
[card]
text={1}, {T}: Add {G}{W} to your mana pool. text={1}, {T}: Add {G}{W} to your mana pool.
auto={1}{T}:Add {G}{W} auto={1}{T}:Add {G}{W}
id=95538 id=95538
@@ -724,6 +809,15 @@ power=1
toughness=1 toughness=1
[/card] [/card]
[card] [card]
text={T}: Add {1} to your mana pool. {2}{R}{W}, {T}: Target creature gains double strike until end of turn.
id=83794
auto={T}:add {1}
auto={2}{R}{W}{T}:double strike target(creature)
name=Sunhome, Fortress of the Legion
rarity=U
type=Land
[/card]
[card]
text={T}: Add {B} to your mana pool. text={T}: Add {B} to your mana pool.
auto={T}: Add {B} auto={T}: Add {B}
id=95114 id=95114
@@ -848,6 +942,18 @@ power=3
toughness=3 toughness=3
[/card] [/card]
[card] [card]
text={U}, {T}: Target player puts the top two cards of his or her library into his or her graveyard.
id=89028
auto={U}{T}:deplete:2 target(player)
name=Vedalken Entrancer
rarity=C
type=Creature
mana={3}{U}
power=1
subtype=Vedalken Wizard
toughness=4
[/card]
[card]
text=Other creatures you control get +0/+1. text=Other creatures you control get +0/+1.
id=87950 id=87950
name=Veteran Armorer name=Veteran Armorer
File diff suppressed because it is too large Load Diff
+20
View File
@@ -1843,6 +1843,26 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){
break; break;
} }
// --- addon Ravnica---
case 87978: // Flow of Ideas
{
int nbcards = card->controller()->game->inPlay->countByType("Island");
game->mLayers->stackLayer()->addDraw(card->controller(),nbcards);
break;
}
case 89114: //Psychic Drain
{
Player * player = spell->getNextPlayerTarget();
MTGLibrary * library = player->game->library;
int x = spell->cost->getConvertedCost() - 2;
for (int i = 0; i < x; i++){
if (library->nb_cards)
player->game->putInZone(library->cards[library->nb_cards-1],library, player->game->graveyard);
}
game->currentlyActing()->life+= x;
break;
}
default: default:
break; break;