- Added ">" and "<" for foreach and aslongas. Can be used to code threshold cards. See black vise (RV) and korsan beast (ODY)
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-11-18 14:37:28 +00:00
parent 7f9d22e0aa
commit 1d55211245
10 changed files with 145 additions and 38 deletions
+12
View File
@@ -670,6 +670,18 @@ toughness=3
abilities=reach
[/card]
[card]
text=Threshold - Krosan Beast gets +7/+7 as long as seven or more cards are in your graveyard.
auto=aslongas(*|mygraveyard) 7/7 >6
id=30549
name=Krosan Beast
rarity=R
type=Creature
mana={3}{G}
power=1
subtype=Squirrel Beast
toughness=1
[/card]
[card]
text=Forestwalk
id=29782
name=Leaf Dancer
-11
View File
@@ -932,17 +932,6 @@ subtype=Human Druid
toughness=1
[/card]
[card]
text=Threshold - Krosan Beast gets +7/+7 as long as seven or more cards are in your graveyard.
id=30549
name=Krosan Beast
rarity=R
type=Creature
mana={3}{G}
power=1
subtype=Squirrel Beast
toughness=1
[/card]
[card]
text=Target player draws cards equal to the number of cards in his or her hand, then discards that many cards.
id=29937
name=Laquatus's Creativity
+1
View File
@@ -183,6 +183,7 @@ name=Black Vise
rarity=U
type=Artifact
mana={1}
auto=@each opponent upkeep:foreach(*|opponenthand) damage:1 opponent >4
[/card]
[card]
text=Enchant creature Enchanted creature has protection from black. This effect doesn't remove Black Ward.
+14
View File
@@ -7,3 +7,17 @@ text={3}, {T}, Sacrifice Ark of Blight: Destroy target land.
auto={3}{T}{S}:destroy target(land)
rarity=U
[/card]
[card]
id=42024
name=Bladewing the Risen
mana={3}{B}{B}{R}{R}
type=Creature
subtype=Zombie Dragon
power=4
toughness=4
text=Flying When Bladewing the Risen enters the battlefield, you may return target Dragon permanent card from your graveyard to the battlefield. {B}{R}: Dragon creatures get +1/+1 until end of turn.
abilities=Legendary,Flying
auto=may moveTo(myBattlefield) target(dragon[-instant;_sorcery]|mygraveyard)
auto={B}{R}:lord(dragon) 1/1
rarity=R
[/card]
+3
View File
@@ -76,6 +76,7 @@ basal_sliver.txt
beacon_of_unrest.txt
belligerent_hatchling.txt
benalish_knight.txt
black_vise.txt
blessed_wine.txt
blinking_spirit.txt
bloodfire_colossus.txt
@@ -180,6 +181,8 @@ keldon_warlord.txt
keldon_warlord2.txt
kird_ape.txt
kjeldoran_frostbeast1.txt
krosan_beast.txt
krosan_beast2.txt
kraken_eye.txt
kraken_eye2.txt
kraken_eye3.txt
+19
View File
@@ -0,0 +1,19 @@
#Test ">" symbol in foreach
[INIT]
SECONDMAIN
[PLAYER1]
inplay:black vise
[PLAYER2]
hand:act of treason,mountain,plains,swamp,forest,island
[DO]
eot
next
#upkeep
[ASSERT]
UPKEEP
[PLAYER1]
inplay:black vise
[PLAYER2]
hand:act of treason,mountain,plains,swamp,forest,island
life:18
[END]
@@ -0,0 +1,23 @@
#Test Threshold
[INIT]
COMBATATTACKERS
[PLAYER1]
graveyard:island,swamp,mountain,plains,forest,grizzly bears,raging goblin
inplay:krosan beast
[PLAYER2]
[DO]
krosan beast
next
#blockers
next
#damage
next
#end combat
[ASSERT]
COMBATEND
[PLAYER1]
graveyard:island,swamp,mountain,plains,forest,grizzly bears,raging goblin
inplay:krosan beast
[PLAYER2]
life:12
[END]
@@ -0,0 +1,23 @@
#Test Threshold
[INIT]
COMBATATTACKERS
[PLAYER1]
graveyard:island,swamp,mountain
inplay:krosan beast
[PLAYER2]
[DO]
krosan beast
next
#blockers
next
#damage
next
#end combat
[ASSERT]
COMBATEND
[PLAYER1]
graveyard:island,swamp,mountain
inplay:krosan beast
[PLAYER2]
life:19
[END]