Erwan
-Adding "becomes(types,p/t,color abilities)" to the parser. Please do not use yet as it requires more testing
This commit is contained in:
@@ -30,6 +30,7 @@ mana={8}
|
||||
[card]
|
||||
text=Enchant artifact Enchanted artifact is a creature with power and toughness each equal to its converted mana cost. It's still an artifact.
|
||||
target=artifact
|
||||
auto=becomes(Creature,manacost/manacost)
|
||||
id=1190
|
||||
name=Animate Artifact
|
||||
rarity=U
|
||||
|
||||
@@ -33,6 +33,8 @@ akron_legionnaire.txt
|
||||
Amugaba.txt
|
||||
anarchy.txt
|
||||
ancestors_chosen.txt
|
||||
animate_artifact.txt
|
||||
animate_artifact2.txt
|
||||
animate_dead.txt
|
||||
animate_dead2.txt
|
||||
animate_dead3.txt
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
#Test: "Becomes" functionnality parser
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:the rack
|
||||
hand:animate artifact
|
||||
manapool:{3}{U}
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
animate artifact
|
||||
the rack
|
||||
next
|
||||
#begin
|
||||
next
|
||||
#attackers
|
||||
the rack
|
||||
next
|
||||
#blockers
|
||||
next
|
||||
#damage
|
||||
next
|
||||
#combat ends
|
||||
[ASSERT]
|
||||
COMBATEND
|
||||
[PLAYER1]
|
||||
inplay:the rack,animate artifact
|
||||
[PLAYER2]
|
||||
life:19
|
||||
[END]
|
||||
@@ -0,0 +1,27 @@
|
||||
#Test: "Becomes" functionnality parser
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:the rack
|
||||
hand:animate artifact,disenchant
|
||||
manapool:{3}{U}{1}{W}
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
animate artifact
|
||||
the rack
|
||||
disenchant
|
||||
animate artifact
|
||||
next
|
||||
#begin
|
||||
next
|
||||
#attackers
|
||||
the rack
|
||||
next
|
||||
#combat ends
|
||||
[ASSERT]
|
||||
COMBATEND
|
||||
[PLAYER1]
|
||||
inplay:the rack
|
||||
graveyard:animate artifact,disenchant
|
||||
[PLAYER2]
|
||||
[END]
|
||||
Reference in New Issue
Block a user