Psyringe - added some cards with zero activation cost: Blinking Spirit (ICE), Hyalopterous Lemure (ICE), Hopping Automaton (USG), Flowstone Hellion (STH), Viscid Lemures (TSP), Jodah's Avenger (PLC). Added couple of scripts to the test suite to make sure that the creatures work, and keep working.

This commit is contained in:
Psyyringe
2009-11-15 04:55:40 +00:00
parent 203967cb2f
commit 072c3d15d5
15 changed files with 177 additions and 74 deletions

View File

@@ -100,6 +100,18 @@ mana={1}{W}
type=Instant
[/card]
[card]
text={0}: Return Blinking Spirit to its owner's hand.
id=2668
name=Blinking Spirit
auto={0}:moveto(ownerhand)
rarity=R
type=Creature
mana={3}{W}
power=2
subtype=Spirit
toughness=2
[/card]
[card]
text={T}, Sacrifice a creature: Target creature gets +2/+2 until end of turn. {1}{U}{U}, Sacrifice a creature: Counter target creature spell.
id=2439
auto={T}{S(creature|myBattlefield)}:2/2 target(creature)
@@ -492,6 +504,18 @@ mana={X}{G}
type=Sorcery
[/card]
[card]
text={0}: Hyalopterous Lemure gets -1/-0 and gains flying until end of turn.
id=2457
name=Hyalopterous Lemure
auto={0}:-1/0 && Flying
rarity=U
type=Creature
mana={4}{B}
power=4
subtype=Spirit
toughness=3
[/card]
[card]
text=Choose one - Counter target spell if it's red; or destroy target permanent if it's red.
id=2508
alias=1191

View File

@@ -227,19 +227,6 @@ mana={W}
subtype=Aura
[/card]
[card]
text={0}: Return Blinking Spirit to its owner's hand.
id=2668
name=Blinking Spirit
auto={0}:moveto(ownerhand)
#0 activation cost are not supported in WTH 0.9.1
rarity=R
type=Creature
mana={3}{W}
power=2
subtype=Spirit
toughness=2
[/card]
[card]
text=Play Blizzard only if you control a snow land. Cumulative upkeep {2} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.) Creatures with flying don't untap during their controllers' untap steps.
id=2551
name=Blizzard
@@ -988,17 +975,6 @@ mana={1}{G}
subtype=Aura
[/card]
[card]
text={0}: Hyalopterous Lemure gets -1/-0 and gains flying until end of turn.
id=2457
name=Hyalopterous Lemure
rarity=U
type=Creature
mana={4}{B}
power=4
subtype=Spirit
toughness=3
[/card]
[card]
text={X}, {T}: Put a charge counter on Ice Cauldron and remove a nonland card in your hand from the game. As long as that card remains removed from the game, you may play it. Note the type and amount of mana spent to pay this activation cost. Play this ability only if there are no charge counters on Ice Cauldron. {T}, Remove a charge counter from Ice Cauldron: Add Ice Cauldron's last noted type and amount of mana to your mana pool. Spend this mana only to play the last card removed from the game with Ice Cauldron.
id=2407
name=Ice Cauldron

View File

@@ -184,6 +184,21 @@ power=2
toughness=2
[/card]
[card]
text={0}: Until end of turn, Jodah's Avenger gets -1/-1 and gains your choice of double strike, protection from red, vigilance, or shadow. (A creature with shadow can block or be blocked by only creatures with shadow.)
auto={0}: Double Strike && -1/-1
auto={0}: Protection from Red && -1/-1
auto={0}: Vigilance && -1/-1
auto={0}: Shadow && -1/-1
id=124482
name=Jodah's Avenger
mana={5}{U}
type=Creature
subtype=Shapeshifter
power=4
toughness=4
rarity=U
[/card]
[card]
text={2}, {T}: Add {B} to your mana pool for each Swamp you control.
auto={2}{T}:foreach(swamp|myBattlefield) Add:{B}
id=124507

View File

@@ -522,17 +522,6 @@ text=Forestwalk Whenever Jedit Ojanen of Efrava attacks or blocks, put a 2/2 gre
rarity=R
[/card]
[card]
id=124482
name=Jodah's Avenger
mana={5}{U}
type=Creature
subtype=Shapeshifter
power=4
toughness=4
text={0}: Until end of turn, Jodah's Avenger gets -1/-1 and gains your choice of double strike, protection from red, vigilance, or shadow. (A creature with shadow can block or be blocked by only creatures with shadow.)
rarity=U
[/card]
[card]
id=126813
name=Kavu Predator
mana={1}{G}

View File

@@ -182,6 +182,19 @@ type=Enchantment
subtype=Aura
[/card]
[card]
text=Haste {0}: Flowstone Hellion gets +1/-1 until end of turn.
auto={0}:1/-1
abilities=Haste
id=5153
name=Flowstone Hellion
mana={4}{R}
type=Creature
subtype=Hellion Beast
power=3
toughness=3
rarity=U
[/card]
[card]
text=Trample {R}: Flowstone Mauler gets +1/-1 until end of turn.
id=5154
name=Flowstone Mauler

View File

@@ -198,22 +198,6 @@ type=Instant
text=As an additional cost to cast Fling, sacrifice a creature. Fling deals damage equal to the sacrificed creature's power to target creature or player.
rarity=C
[/card]
[card]
id=5153
name=Flowstone Hellion
mana={4}{R}
type=Creature
subtype=Hellion Beast
power=3
toughness=3
text=Haste {0}: Flowstone Hellion gets +1/-1 until end of turn.
rarity=U
[/card]
[card]
id=5162
name=Gliding Licid

View File

@@ -907,6 +907,18 @@ rarity=R
type=Land
[/card]
[card]
text={0}: Viscid Lemures gets -1/-0 and gains swampwalk until end of turn.
id=111082
name=Viscid Lemures
mana={4}{B}
type=Creature
subtype=Spirit
power=4
toughness=3
auto={0}: -1/-0 && swampwalk
rarity=C
[/card]
[card]
text=All Sliver creatures get +0/+2.
id=106648
name=Watcher Sliver

View File

@@ -2041,18 +2041,6 @@ text={U}: Viscerid Deepwalker gets +1/+0 until end of turn. Suspend 4—{U} (Rat
rarity=C
[/card]
[card]
id=111082
name=Viscid Lemures
mana={4}{B}
type=Creature
subtype=Spirit
power=4
toughness=3
text={0}: Viscid Lemures gets -1/-0 and gains swampwalk until end of turn.
auto={0}: -1/-0 && swampwalk #{0}activation costs don't work
rarity=C
[/card]
[card]
id=111076
name=Voidmage Husher
mana={3}{U}

View File

@@ -658,6 +658,18 @@ mana={2}{U}
type=Instant
[/card]
[card]
text={0}: Hopping Automaton gets -1/-1 and gains flying until end of turn.
id=5700
name=Hopping Automaton
auto={0}:-1/-1 && Flying
rarity=U
type=Artifact Creature
mana={3}
power=2
subtype=Construct
toughness=2
[/card]
[card]
text={U}: Untap Horseshoe Crab.
id=9849
name=Horseshoe Crab

View File

@@ -786,17 +786,6 @@ subtype=Zombie Hound
toughness=3
[/card]
[card]
text={0}: Hopping Automaton gets -1/-1 and gains flying until end of turn.
id=5700
name=Hopping Automaton
rarity=U
type=Artifact Creature
mana={3}
power=2
subtype=Construct
toughness=2
[/card]
[card]
text=Target creature loses all abilities and becomes 0/1 until end of turn.
id=5702
name=Humble

View File

@@ -73,6 +73,7 @@ beacon_of_unrest.txt
belligerent_hatchling.txt
benalish_knight.txt
blessed_wine.txt
blinking_spirit.txt
bloodfire_colossus.txt
bloodhall_ooze.txt
body_double.txt
@@ -136,6 +137,7 @@ flagstones.txt
flare.txt
fledgling_imp.txt
fledgling_imp2.txt
flowstone_hellion.txt
flowstone_slide.txt
foratog.txt
force_of_nature.txt
@@ -158,12 +160,14 @@ harpoon_sniper.txt
hellfire.txt
howl_from_beyond.txt
howl_of_the_night_pack.txt
hyalopterous_lemure.txt
hymn_of_rebirth.txt
hypnotic_specter.txt
icatian_priest.txt
imaginary_pet.txt
immaculate_magistrate.txt
instill_energy_i166.txt
jodahs_avenger.txt
jump.txt
keldon_warlord.txt
keldon_warlord2.txt

View File

@@ -0,0 +1,28 @@
#NAME: Flowstone Hellion
#DESC: {0}:Flowstone Hellion gets +1/-1 until end of turn.
#DESC: Tests whether effect really ends at end of turn
[INIT]
secondmain
[PLAYER1]
inplay:Flowstone Hellion
[PLAYER2]
inplay:Mountain
hand:Shock
[DO]
Flowstone Hellion
Flowstone Hellion
eot
next
next
next
Mountain
Shock
Flowstone Hellion
[ASSERT]
firstmain
[PLAYER1]
inplay:Flowstone Hellion
[PLAYER2]
inplay:Mountain
graveyard:Shock
[END]

View File

@@ -0,0 +1,25 @@
#NAME: Hyalopterous Lemure
#DESC: {0}: Hyalopterous Lemure gets -1/0
#DESC: and gains flying until end of turn.
[INIT]
combatattackers
[PLAYER1]
inplay:Air Elemental
[PLAYER2]
inplay:Hyalopterous Lemure
[DO]
Air Elemental
next
Hyalopterous Lemure
choice 1
Hyalopterous Lemure
choice 0
next
next
[ASSERT]
combatend
[PLAYER1]
inplay:Air Elemental
[PLAYER2]
graveyard:Hyalopterous Lemure
[END]

View File

@@ -0,0 +1,44 @@
#NAME: Jodah's Avenger
#DESC: Test whether the abilities
#DESC: can be chosen correctly
[INIT]
firstmain
[PLAYER1]
inplay:Jodah's Avenger,Mountain
hand:Shock
[PLAYER2]
inplay:Craw Wurm
[DO]
# Give Protection from Red
Jodah's Avenger
choice 1
# Give Shadow
Jodah's Avenger
choice 3
# Try to cast Shock on Jodah's Avenger
# Shouldn't work if it gained Protection from Red
Mountain
Shock
Jodah's Avenger
# Cast Shock on Craw Wurm instead
Craw Wurm
next
next
# select attacker
Jodah's Avenger
choice 0
next
# Try to block with non-shadow creature
# Shouldn't work if Avenger really gained Shadow
Craw Wurm
next
next
[ASSERT]
combatend
[PLAYER1]
inplay:Jodah's Avenger,Mountain
graveyard:Shock
[PLAYER2]
inplay:Craw Wurm
life:18
[END]