Files
wagic/projects/mtg/bin/Res/sets/RV/todo.dat
Psyyringe 49536fce44 Psyringe - introducing new ability: cantBeBlockedBy(T). T can be any targez specification, like "wall", "creature[flying]", etc. See added cards for examples. Note: This ability currently has the same restrictions as "protection from(T)", i.e. it can't be used in activated abilities or instants/sorceries. It *can* be used for creatures,auras, and other continuous abilities (e.g. an enchantment which grants "unblockable by walls" to all rats should be possible, although I didn't test that). There are 47 cards which use the phrase "can't be blocked by", so we should be able to get another fair mount of cards out of that.
Notes to programmers:
1. This feature uses an awful lot of copy-pasta, using "protetcion from()" as a base. While I'm learning the architecture, it's easier for me to have a dedicated single-purpose piece of code to work with, than trying to create multi-purpose code. I'm aware that this isn't a very elegant approach though, and I hope to be able to refactor additions like this into multi-purpose code once I have a better understanding of the architecture as a whole.

2. Please check the questions I'll add in my next code comments, specifically about AI integration and activated abilities / instants / sorceries.

3. I did have a crash (with the debugger complaining about stack corruption around the cd variable) during testing. I wasn't able to reproduce it though. I did have to clean the solution in-between when I updated to the primitives system, so perhaps there was this cleaning solved whatever corruption was in my files. I'm mentioning the issue in case someone has an idea on where my code might be risky (I'm still probne to making beginners mistakes).
2009-12-28 18:19:17 +00:00

574 lines
16 KiB
Plaintext

[card]
text=Except the player who controls the fewest lands, each player sacrifices lands until all players control the same number of lands as the player who controls the fewest. Players discard cards the same way, then sacrifice creatures the same way.
id=1329
name=Balance
rarity=R
type=Sorcery
mana={1}{W}
[/card]
[card]
text=Banding
#Banding not supported anymore in Wagic 0.9
abilities=Banding
id=1330
name=Benalish Hero
rarity=C
type=Creature
mana={W}
power=1
subtype=Human Soldier
toughness=1
[/card]
[card]
text={1}, Sacrifice Bottle of Suleiman: Flip a coin. If you lose the flip, Bottle of Suleiman deals 5 damage to you. If you win the flip, put a 5/5 Djinn artifact creature token with flying into play.
id=1098
name=Bottle of Suleiman
rarity=R
type=Artifact
mana={4}
[/card]
[card]
text=Remove Contract from Below from your deck before playing if you're not playing for ante. Discard your hand, add the top card of your library to the ante, then draw seven cards.
id=1147
name=Contract from Below
rarity=R
type=Sorcery
mana={B}
[/card]
[card]
text=All Mountains are Plains. At the beginning of your upkeep, sacrifice Conversion unless you pay {W}{W}.
id=1340
name=Conversion
rarity=U
type=Enchantment
mana={2}{W}{W}
[/card]
[card]
text=As Copy Artifact comes into play, you may choose an artifact in play. If you do, Copy Artifact comes into play as a copy of that artifact. It's still an enchantment.
id=1195
name=Copy Artifact
rarity=R
type=Enchantment
mana={1}{U}
[/card]
[card]
text=Remove Darkpact from your deck before playing if you're not playing for ante. You own target card in the ante. Exchange that card with the top of your library.
id=1150
name=Darkpact
rarity=R
type=Sorcery
mana={B}{B}{B}
[/card]
[card]
text=Remove Demonic Attorney from your deck before playing if you're not playing for ante. Each player antes the top card of his or her library.
id=1153
name=Demonic Attorney
rarity=R
type=Sorcery
mana={1}{B}{B}
[/card]
[card]
text={T}: Destroy target land. At the beginning of your upkeep, unless you pay {B}{B}{B}, tap Demonic Hordes and sacrifice a land of an opponent's choice.
id=1154
name=Demonic Hordes
rarity=R
type=Creature
mana={3}{B}{B}{B}
power=5
subtype=Demon
toughness=5
[/card]
[card]
text=Disintegrate deals X damage to target creature or player. That creature can't be regenerated this turn. If the creature would be put into a graveyard this turn, remove it from the game instead.
id=1283
name=Disintegrate
rarity=C
color=Red
type=Sorcery
mana={X}{R}
[/card]
[card]
text={3}, {T}: Target player discards a card. Activate this ability only during your turn.
id=1106
name=Disrupting Scepter
rarity=R
type=Artifact
mana={3}
[/card]
[card]
text=Target player plays a mana ability of each land he or she controls, then empties his or her mana pool. Add mana to your mana pool equal to the type and amount emptied from that player's mana pool this way.
id=1198
name=Drain Power
rarity=R
type=Sorcery
mana={U}{U}
[/card]
[card]
text=All artifacts have "At the beginning of your upkeep, sacrifice this artifact unless you pay {2}."
id=1199
name=Energy Flux
rarity=U
type=Enchantment
mana={2}{U}
[/card]
[card]
text=Enchant land Enchanted land is a Swamp.
id=1160
name=Evil Presence
rarity=U
type=Enchantment
mana={B}
subtype=Aura
[/card]
[card]
text=Copy target instant or sorcery spell, except that it copies Fork's color. You may choose new targets for the copy.
id=1294
name=Fork
rarity=R
color=Red
type=Instant
mana={R}{R}
[/card]
[card]
text=As long as Gaea's Liege isn't attacking, its power and toughness are each equal to the number of Forests you control. As long as Gaea's Liege is attacking, its power and toughness are each equal to the number of Forests defending player controls. {T}: Target land becomes a Forest until Gaea's Liege leaves play.
id=1247
name=Gaea's Liege
rarity=R
color=Green
type=Creature
mana={3}{G}{G}{G}
power=*
subtype=Avatar
toughness=*
[/card]
[card]
text={T}: Look at target player's hand.
id=1110
name=Glasses of Urza
rarity=U
mana={1}
type=Artifact
[/card]
[card]
text=White spells and activated abilities of white enchantments cost {3} more to play.
id=1163
name=Gloom
rarity=U
color=Black
type=Enchantment
mana={2}{B}
[/card]
[card]
text=Prevent the next X damage that would be dealt to target creature or player this turn. Until end of turn, you may pay {1} any time you could play an instant. If you do, prevent the next 1 damage that would be dealt to that creature or player this turn.
id=1347
name=Guardian Angel
rarity=C
color=White
type=Instant
mana={X}{W}
[/card]
[card]
text=Choose one - Target player gains 3 life; or prevent the next 3 damage that would be dealt to target creature or player this turn.
id=1348
name=Healing Salve
rarity=C
color=White
type=Instant
mana={W}
[/card]
[card]
text={1}, {T}: Target creature gains banding until end of turn.
auto={1}{T}:banding target(creature)
id=1111
name=Helm of Chatzuk
rarity=R
type=Artifact
mana={1}
[/card]
[card]
text={1}: The next time a source of your choice would deal damage to target creature this turn, that source deals that damage to you instead.
id=1116
name=Jade Monolith
rarity=R
color=Artifact
type=Artifact
mana={4}
[/card]
[card]
text=You have no maximum hand size. If an effect causes you to discard a card, discard it, but you may put it on top of your library instead of into your graveyard.
id=1122
name=Library of Leng
rarity=U
color=Artifact
type=Artifact
mana={1}
[/card]
[card]
text=Enchant creature (Target a creature as you play this. This card comes into play attached to that creature.) All creatures able to block enchanted creature do so.
id=1261
name=Lure
rarity=U
color=Green
type=Enchantment
mana={1}{G}{G}
subtype=Aura
[/card]
[card]
text=Change the text of target spell or permanent by replacing all instances of one basic land type with another. (For example, you may change "swampwalk" to "plainswalk.") (This effect doesn't end at end of turn.)
id=1207
name=Magical Hack
rarity=R
color=Blue
type=Instant
mana={U}
[/card]
[card]
text=Blue creatures don't untap during their controllers' untap steps. Blue creatures have "At the beginning of your upkeep, you may pay {4}. If you do, untap this creature."
auto=lord(creature[blue]) doesnotuntap
auto=lord(creature[blue]) {4}:untap
id=1304
name=Magnetic Mountain
rarity=R
color=Red
type=Enchantment
mana={1}{R}{R}
[/card]
[card]
text=Whenever a player taps a land for mana, that player adds one mana of that type to his or her mana pool.
id=1305
name=Mana Flare
rarity=R
color=Red
type=Enchantment
mana={2}{R}
[/card]
[card]
text=Whenever a player taps a land for mana, Manabarbs deals 1 damage to that player.
id=1306
name=Manabarbs
rarity=R
color=Red
type=Enchantment
mana={3}{R}
[/card]
[card]
text=Flying, banding
#Banding not supported in Wagic 0.9
abilities=Flying, banding
id=1354
name=Mesa Pegasus
rarity=C
type=Creature
mana={1}{W}
power=1
subtype=Pegasus
toughness=1
[/card]
[card]
text=Whenever Mijae Djinn attacks, flip a coin. If you lose the flip, remove Mijae Djinn from combat and tap it.
id=1307
name=Mijae Djinn
rarity=R
color=Red
type=Creature
mana={R}{R}{R}
power=6
subtype=Djinn
toughness=3
[/card]
[card]
text=Banding At the beginning of your upkeep, unless you discard a card, tap Mishra's War Machine and it deals 3 damage to you.
abilities=Banding
id=1127
name=Mishra's War Machine
rarity=R
color=Artifact
type=Artifact Creature
mana={7}
power=5
toughness=5
[/card]
[card]
text=Haste At the beginning of your upkeep, if Nether Shadow is in your graveyard with three creature cards above it, you may put Nether Shadow into play.
abilities=haste
id=1168
name=Nether Shadow
rarity=R
color=Black
type=Creature
mana={B}{B}
power=1
subtype=Spirit
toughness=1
[/card]
[card]
text={T}: Target non-Wall creature the active player controls attacks this turn, if able. At end of turn, if that creature didn't attack this turn, destroy it. Ignore this effect if that player didn't control the creature continuously since the beginning of the turn. Play this ability only during an opponent's turn before attackers are declared.
id=1169
name=Nettling Imp
rarity=U
color=Black
type=Creature
mana={2}{B}
power=1
subtype=Imp
toughness=1
[/card]
[card]
text={0}: The next 1 damage that would be dealt to Personal Incarnation this turn is dealt to its owner instead. Any player may play this ability, but only if he or she owns Personal Incarnation. When Personal Incarnation is put into a graveyard from play, its owner loses half his or her life, rounded up.
id=1357
name=Personal Incarnation
rarity=R
color=White
type=Creature
mana={3}{W}{W}{W}
power=6
subtype=Avatar
toughness=6
[/card]
[card]
text=Flying At the beginning of your upkeep, sacrifice Phantasmal Forces unless you pay {U}.
abilities=flying
id=1211
name=Phantasmal Forces
rarity=U
color=Blue
type=Creature
mana={3}{U}
power=4
subtype=Phantasm
toughness=1
[/card]
[card]
text=Enchant land As Phantasmal Terrain comes into play, choose a basic land type. Enchanted land's type is the chosen type.
id=1212
name=Phantasmal Terrain
rarity=C
color=Blue
type=Enchantment
mana={U}{U}
subtype=Aura
[/card]
[card]
text=Counter target spell unless its controller pays {X}. If he or she doesn't, that player taps all lands he or she controls and empties his or her mana pool.
id=1216
name=Power Sink
rarity=C
color=Blue
type=Instant
mana={X}{U}
[/card]
[card]
####CANNOT WORK FOR NOW (0.9.1)!!!
text=At the beginning of each player's upkeep, Power Surge deals X damage to that player, where X is the number of untapped lands he or she controlled at the beginning of this turn.
id=1311
name=Power Surge
auto=@each my upkeep:foreach(land[-tapped]|myinplay) damage:1 controller
auto=@each opponent upkeep:foreach(land[-tapped]|opponentinplay) damage:1 opponent
type=Enchantment
mana={R}{R}
rarity=R
[/card]
[card]
text=Primal Clay comes into play as your choice of a 3/3 artifact creature; a 2/2 artifact creature with flying; or a 1/6 Wall artifact creature with defender.
id=1132
name=Primal Clay
rarity=R
color=Artifact
type=Artifact Creature
mana={4}
power=*
toughness=*
[/card]
[card]
text=The next time a source of your choice would deal damage to you this turn, prevent that damage. You gain life equal to the damage prevented this way.
id=1361
name=Reverse Damage
rarity=R
color=White
type=Instant
mana={1}{W}{W}
[/card]
[card]
text=Rock Hydra comes into play with X +1/+1 counters on it. For each 1 damage that would be dealt to Rock Hydra, if it has a +1/+1 counter on it, remove a +1/+1 counter from it and prevent that 1 damage. {R}: Prevent the next 1 damage that would be dealt to Rock Hydra this turn. {R}{R}{R}: Put a +1/+1 counter on Rock Hydra. Play this ability only during your upkeep.
id=1314
name=Rock Hydra
rarity=R
color=Red
type=Creature
mana={X}{R}{R}
power=0
subtype=Hydra
toughness=0
[/card]
[card]
text={2}: Rocket Launcher deals 1 damage to target creature or player. Sacrifice Rocket Launcher at end of turn. Play this ability only if you've controlled Rocket Launcher continuously since the most recent beginning of your turn.
id=1133
name=Rocket Launcher
rarity=R
color=Artifact
type=Artifact
mana={4}
[/card]
[card]
text={T}: Prevent the next 1 damage that would be dealt to target creature or player this turn.
id=1364
name=Samite Healer
rarity=C
color=White
type=Creature
mana={1}{W}
power=1
subtype=Human Cleric
toughness=1
[/card]
[card]
text=At end of turn, put a corpse counter on Scavenging Ghoul for each creature put into a graveyard from play that turn. Remove a corpse counter from Scavenging Ghoul: Regenerate Scavenging Ghoul.
id=1178
name=Scavenging Ghoul
rarity=U
color=Black
type=Creature
mana={3}{B}
power=2
subtype=Ghoul
toughness=2
[/card]
[card]
text=Flying (This creature can't be blocked except by creatures with flying or reach.) Whenever a creature dealt damage by Sengir Vampire this turn is put into a graveyard, put a +1/+1 counter on Sengir Vampire.
abilities=flying
id=1179
name=Sengir Vampire
rarity=U
color=Black
type=Creature
mana={3}{B}{B}
power=4
subtype=Vampire
toughness=4
[/card]
[card]
text=Play Siren's Call only during an opponent's turn and only before attackers are declared. Creatures the active player controls attack this turn if able. At end of turn, destroy all non-Wall creatures that player controls that didn't attack this turn. Ignore this effect for each creature the player didn't control continuously since the beginning of the turn.
id=1222
name=Siren's Call
rarity=U
color=Blue
type=Instant
mana={U}
[/card]
[card]
text=Change the text of target spell or permanent by replacing all instances of one color word with another. (For example, you may change "target black spell" to "target blue spell.") (This effect doesn't end at end of turn.)
id=1223
name=Sleight of Mind
rarity=R
color=Blue
type=Instant
mana={U}
[/card]
[card]
text=Whenever a creature is put into a graveyard from the battlefield, you may pay {1}. If you do, you gain 1 life.
id=1136
name=Soul Net
rarity=U
mana={1}
type=Artifact
[/card]
[card]
text=Players can't untap more than one creature during their untap steps.
id=1319
name=Smoke
rarity=R
color=Red
type=Enchantment
mana={R}{R}
[/card]
[card]
text={T}: Target creature other than Sorceress Queen becomes 0/2 until end of turn.
id=1181
name=Sorceress Queen
rarity=R
color=Black
type=Creature
mana={1}{B}{B}
power=1
subtype=Sorceress
toughness=1
[/card]
[card]
text={T}: Target creature you control with toughness less than Stone Giant's power gains flying until end of turn. At end of turn, destroy that creature.
id=1320
name=Stone Giant
rarity=U
color=Red
type=Creature
mana={2}{R}{R}
power=3
subtype=Giant
toughness=4
[/card]
[card]
text=Banding
#badning not suppoerted anymore in Wagic 0.9
id=1268
name=Timber Wolves
rarity=R
type=Creature
mana={G}
power=1
subtype=Wolf
toughness=1
[/card]
[card]
text=Each noncreature artifact loses its abilities and becomes an artifact creature with power and toughness each equal to its converted mana cost. If Titania's Song leaves play, this effect continues until end of turn.
id=1269
name=Titania's Song
rarity=R
color=Green
type=Enchantment
mana={3}{G}
[/card]
[card]
text=As Vesuvan Doppelganger comes into play, you may choose a creature in play. If you do, Vesuvan Doppelganger comes into play as a copy of that creature except for its color and gains "At the beginning of your upkeep, you may have this creature become a copy of target creature except for its color. If you do, this creature gains this ability."
id=1230
name=Vesuvan Doppelganger
rarity=R
color=Blue
type=Creature
mana={3}{U}{U}
power=0
subtype=Doppelganger
toughness=0
[/card]
[card]
text=As long as Veteran Bodyguard is untapped, all damage that would be dealt to you by unblocked creatures is dealt to Veteran Bodyguard instead.
id=1368
name=Veteran Bodyguard
rarity=R
color=White
type=Creature
mana={3}{W}{W}
power=2
subtype=Bodyguard
toughness=5
[/card]
[card]
text=Enchant land Whenever enchanted land is tapped for mana, its controller adds {G} to his or her mana pool.
id=1279
name=Wild Growth
rarity=C
color=Green
type=Enchantment
mana={G}
subtype=Aura
[/card]
[card]
text=As long as Winter Orb is untapped, players can't untap more than one land during their untap steps.
id=1141
name=Winter Orb
rarity=R
color=Artifact
type=Artifact
mana={2}
[/card]