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} mana={1}{W}{W}
[/card] [/card]
[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. 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) auto=may moveTo(myHand) target(goblin|myLibrary)
id=8824 id=8824
-11
View File
@@ -638,17 +638,6 @@ subtype=Goblin
toughness=1 toughness=1
[/card] [/card]
[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.) 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 id=5653
name=Goblin Patrol name=Goblin Patrol
+4
View File
@@ -171,6 +171,10 @@ gnarled_effigy.txt
goblin_balloon_brigade.txt goblin_balloon_brigade.txt
goblin_balloon_brigade2.txt goblin_balloon_brigade2.txt
goblin_king.txt goblin_king.txt
goblin_lackey1.txt
goblin_lackey2.txt
goblin_lackey3.txt
goblin_lackey4.txt
goblin_offensive.txt goblin_offensive.txt
gravedigger.txt gravedigger.txt
hannas_custody.txt hannas_custody.txt
@@ -6,26 +6,26 @@
[INIT] [INIT]
firstmain firstmain
[PLAYER1] [PLAYER1]
inplay:Armored Pegasus inplay:Giant Spider
hand:Spirit Link hand:Spirit Link
manapool:{W} manapool:{W}
[PLAYER2] [PLAYER2]
inplay:Courier Hawk inplay:Giant Mantis
[DO] [DO]
Spirit Link Spirit Link
Courier Hawk Giant Mantis
next next
next next
Armored Pegasus Giant Spider
next next
Courier Hawk Giant Mantis
next next
next next
[ASSERT] [ASSERT]
combatend combatend
[PLAYER1] [PLAYER1]
inplay:Armored Pegasus,Spirit Link inplay:Giant Spider,Spirit Link
life:21 life:22
[PLAYER2] [PLAYER2]
inplay:Courier Hawk inplay:Giant Mantis
[END] [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]