Laurent - Added damage to the foreach parser (finally did it).

I tryed everything for weeks, adding lines of codes with no success...Finally the answer was so simple as 2 lines of code...
Also added/removed from code Spitting earth and corrupt... Need to chase and remove all the lookalike/alias in the rest of the code. And also as usual will require further testing...

Grü.

L.
This commit is contained in:
wagic.laurent
2009-06-27 09:49:31 +00:00
parent d5a253d147
commit dcdd0a18d8
4 changed files with 890 additions and 893 deletions

View File

@@ -189,6 +189,9 @@ toughness=3
text=Corrupt deals damage equal to the number of Swamps you control to target creature or player. You gain life equal to the damage dealt this way.
target=creature,player
id=146013
target=creature,player
auto=foreach(swamp|myinplay):damage:1
auto=foreach(swamp|myinplay):life:1
name=Corrupt
rarity=U
type=Sorcery