- Completed code for Helm of Kaldra.

- Added Kaldra token (keyword:"newtarget" --> rev2922).

- Added test for Kaldra.
This commit is contained in:
solo81@web.de
2011-01-29 16:05:01 +00:00
parent 11dc8ac671
commit 5e4902c229
4 changed files with 49 additions and 6 deletions
+5
View File
@@ -419,6 +419,11 @@ id=72928
rarity=R
[/card]
[card]
primitive=Kaldra
id=-47449
rarity=T
[/card]
[card]
primitive=Krark-Clan Engineers
id=50201
rarity=U
+12 -6
View File
@@ -28257,12 +28257,7 @@ auto=first strike
auto=trample
auto=haste
auto={2}:equip
# Following line does not work yet: It's not possible to specify
# a target for an equip action. Even if that gets implemented,
# targetting a token that's just being created might not work.
# It currently doesn't matter though since the sword can't be
# implemented anyway.
# auto --- aslongas(Sword of Kaldra|mybattlefield) aslongas(Shield of Kaldra|mybattlefield) {1}:token(Kaldra,Legendary Creature Avatar,4/4) && attach target(Kaldra)
auto={1}:aslongas(Sword of Kaldra|mybattlefield) aslongas(Shield of Kaldra|mybattlefield):token(-47449)
text=Equipped creature has first strike, trample, and haste. -- {1}: If you control Equipment named Helm of Kaldra, Sword of Kaldra, and Shield of Kaldra, put a legendary 4/4 colorless Avatar creature token named Kaldra onto the battlefield and attach those Equipment to it. -- Equip {2}
mana={3}
type=Legendary Artifact
@@ -32064,6 +32059,17 @@ power=*
toughness=*
[/card]
[card]
name=Kaldra
auto=all(helm of kaldra) newtarget
auto=all(shield of kaldra) newtarget
auto=all(sword of kaldra) newtarget
type=Legendary Creature
subtype=Avatar
power=4
toughness=4
id=-47449
[/card]
[card]
name=Kaleidostone
auto=draw:1
auto={5}{T}{S}:Add {W}{U}{B}{R}{G}
+1
View File
@@ -340,6 +340,7 @@ jodahs_avenger.txt
juggernaut.txt
jump.txt
juniper_order_ranger.txt
kaldra.txt
karns_touch_i233.txt
keldon_warlord.txt
keldon_warlord2.txt
+31
View File
@@ -0,0 +1,31 @@
#Testing Kaldra token (keyword:newtarget).
[INIT]
FIRSTMAIN
[PLAYER1]
inplay:Fervor,Sword of Kaldra,Shield of Kaldra,Helm of Kaldra
manapool:{1}
life:20
[PLAYER2]
life:20
[DO]
Helm of Kaldra
next
#combatbegins
next
#attackers
Kaldra
next
#blockers
next
#combatdamage
next
#combatend
[ASSERT]
COMBATEND
[PLAYER1]
inplay:Fervor,Sword of Kaldra,Shield of Kaldra,Helm of Kaldra,Kaldra
manapool:{0}
life:20
[PLAYER2]
life:11
[END]