Laurent - Added a generic ankh of mishra/dingus egg. Tested ok on ankh of mishra. Also added Soul Warden (10E) with this and Angelic Chorus (10E). Also could be made more generic and eventually at a certain point of time put in the parser....

Test suite passed with exception of Hymn of rebirth ?? also at least dingus egg is also OK.

Ideally the whenever thing should be coupled with a kind of targetchooser thing to be put in the parser (would also allow colored cards...) ..

Todo: add a may ability option since lot of cards with this function use "may"  (e.g. Deathgreeter - ALA and Leonin Elder - MRD)

I did not remove the now obsolete code dingus egg and ankh of mishra...will wait until new portion of code is tested  more..

Grü
This commit is contained in:
wagic.laurent
2009-06-26 01:03:56 +00:00
parent 630a239f31
commit 708af7b675
4 changed files with 180 additions and 38 deletions
+21
View File
@@ -124,6 +124,15 @@ subtype=Angel
toughness=3
[/card]
[card]
text=Whenever a creature comes into play under your control, you gain life equal to its toughness.
id=129710
name=Angelic Chorus
rarity=R
color=White
type=Enchantment
mana={3}{W}{W}
[/card]
[card]
text={T}: Add {1} to your mana pool. {T}: Add {W} or {U} to your mana pool. Adarkar Wastes deals 1 damage to you.
auto={T}:Add {1}
auto={T}:Add {W} && Damage 1 controller
@@ -2428,6 +2437,18 @@ subtype=Drake
toughness=2
[/card]
[card]
text=Whenever another creature comes into play, you gain 1 life.
id=129740
name=Soul Warden
rarity=U
color=White
type=Creature
mana={W}
power=1
subtype=Human Cleric
toughness=1
[/card]
[card]
text=As an additional cost to play Soulblast, sacrifice all creatures you control. Soulblast deals damage to target creature or player equal to the total power of the sacrificed creatures.
id=130369
target=creature,player