Psyringe - Added Goblin Lackey (USG) and 4 scripts to test its functionality. Also improved the test script for the Spirit Link bug (issue 173) a bit.

This commit is contained in:
Psyyringe
2009-11-27 07:09:06 +00:00
parent 0e49fde01a
commit 2817925f0d
8 changed files with 119 additions and 19 deletions
+12
View File
@@ -541,6 +541,18 @@ type=Enchantment
mana={1}{W}{W}
[/card]
[card]
text=Whenever Goblin Lackey deals damage to a player, you may put a Goblin permanent card from your hand into play.
auto=@damaged(player) from(this):may moveTo(myBattlefield) target(goblin[-instant;-sorcery]|myHand)
id=9851
name=Goblin Lackey
rarity=U
type=Creature
mana={R}
power=1
subtype=Goblin
toughness=1
[/card]
[card]
text=When Goblin Matron enters the battlefield, you may search your library for a Goblin card, reveal that card, and put it into your hand. If you do, shuffle your library.
auto=may moveTo(myHand) target(goblin|myLibrary)
id=8824
-11
View File
@@ -638,17 +638,6 @@ subtype=Goblin
toughness=1
[/card]
[card]
text=Whenever Goblin Lackey deals damage to a player, you may put a Goblin permanent card from your hand into play.
id=9851
name=Goblin Lackey
rarity=U
type=Creature
mana={R}
power=1
subtype=Goblin
toughness=1
[/card]
[card]
text=Echo {R} (At the beginning of your upkeep, if this came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost.)
id=5653
name=Goblin Patrol
+4
View File
@@ -171,6 +171,10 @@ gnarled_effigy.txt
goblin_balloon_brigade.txt
goblin_balloon_brigade2.txt
goblin_king.txt
goblin_lackey1.txt
goblin_lackey2.txt
goblin_lackey3.txt
goblin_lackey4.txt
goblin_offensive.txt
gravedigger.txt
hannas_custody.txt
@@ -6,26 +6,26 @@
[INIT]
firstmain
[PLAYER1]
inplay:Armored Pegasus
inplay:Giant Spider
hand:Spirit Link
manapool:{W}
[PLAYER2]
inplay:Courier Hawk
inplay:Giant Mantis
[DO]
Spirit Link
Courier Hawk
Giant Mantis
next
next
Armored Pegasus
Giant Spider
next
Courier Hawk
Giant Mantis
next
next
[ASSERT]
combatend
[PLAYER1]
inplay:Armored Pegasus,Spirit Link
life:21
inplay:Giant Spider,Spirit Link
life:22
[PLAYER2]
inplay:Courier Hawk
inplay:Giant Mantis
[END]
@@ -0,0 +1,23 @@
#NAME: Goblin Lackey 1
#DESC: Verifies that Goblin Lackey can
#DESC: put a goblin from your hand into
#DESC: play (after damaging a player).
[INIT]
combatattackers
[PLAYER1]
inplay:Goblin Lackey
hand:Raging Goblin
[PLAYER2]
[DO]
Goblin Lackey
next
next
choice 0
Raging Goblin
[ASSERT]
combatdamage
[PLAYER1]
inplay:Goblin Lackey,Raging Goblin
[PLAYER2]
life:19
[END]
@@ -0,0 +1,23 @@
#NAME: Goblin Lackey 2
#DESC: Verifies that Goblin Lackey can
#DESC: put a goblin artifact from your
#DESC: hand into play.
[INIT]
combatattackers
[PLAYER1]
inplay:Goblin Lackey
hand:Goblin Replica
[PLAYER2]
[DO]
Goblin Lackey
next
next
choice 0
Goblin Replica
[ASSERT]
combatdamage
[PLAYER1]
inplay:Goblin Lackey,Goblin Replica
[PLAYER2]
life:19
[END]
@@ -0,0 +1,24 @@
#NAME: Goblin Lackey 1
#DESC: Verifies that Goblin Lackey can
#DESC: *not* put a non-goblin card into
#DESC: play.
[INIT]
combatattackers
[PLAYER1]
inplay:Goblin Lackey
hand:Grizzly Bears
[PLAYER2]
[DO]
Goblin Lackey
next
next
choice 0
Grizzly Bears
[ASSERT]
combatdamage
[PLAYER1]
inplay:Goblin Lackey
hand:Grizzly Bears
[PLAYER2]
life:19
[END]
@@ -0,0 +1,25 @@
#NAME: Goblin Lackey 2
#DESC: Verifies that Goblin Lackey can
#DESC: *not* put a non-permanent goblin
#DESC: card into play (tested with Tarfire,
#DESC: a Goblin Tribal Instant).
[INIT]
combatattackers
[PLAYER1]
inplay:Goblin Lackey
hand:Tarfire
[PLAYER2]
[DO]
Goblin Lackey
next
next
choice 0
Tarfire
[ASSERT]
combatdamage
[PLAYER1]
inplay:Goblin Lackey
hand:Tarfire
[PLAYER2]
life:19
[END]