add Lyzolda, the Blood Witch (from Dissension)

This commit is contained in:
jendave
2011-08-07 01:18:40 +00:00
parent f8371357de
commit 35846ff8eb
3 changed files with 28 additions and 15 deletions

1
.gitattributes vendored
View File

@@ -4240,6 +4240,7 @@ res/cardsfolder/lymph_sliver.txt -text svneol=native#text/plain
res/cardsfolder/lynx.txt -text svneol=native#text/plain res/cardsfolder/lynx.txt -text svneol=native#text/plain
res/cardsfolder/lys_alana_bowmaster.txt -text svneol=native#text/plain res/cardsfolder/lys_alana_bowmaster.txt -text svneol=native#text/plain
res/cardsfolder/lys_alana_huntmaster.txt -text svneol=native#text/plain res/cardsfolder/lys_alana_huntmaster.txt -text svneol=native#text/plain
res/cardsfolder/lyzolda_the_blood_witch.txt svneol=native#text/plain
res/cardsfolder/ma_chao_western_warrior.txt -text svneol=native#text/plain res/cardsfolder/ma_chao_western_warrior.txt -text svneol=native#text/plain
res/cardsfolder/macabre_waltz.txt -text svneol=native#text/plain res/cardsfolder/macabre_waltz.txt -text svneol=native#text/plain
res/cardsfolder/macetail_hystrodon.txt -text svneol=native#text/plain res/cardsfolder/macetail_hystrodon.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,14 @@
Name:Lyzolda, the Blood Witch
ManaCost:1 B R
Types:Legendary Creature Human Cleric
Text:no text
PT:3/1
A:AB$DealDamage | Cost$ 2 Sac<1/Creature> | Tgt$TgtCP | NumDmg$ X | SubAbility$ SVar=DBDraw | SpellDescription$ CARDNAME deals 2 damage to target creature or player if the sacrificed creature was red. Draw a card if the sacrificed creature was black.
SVar:DBDraw:DB$Draw | NumCards$ Y | Defined$ You
SVar:X:Sacrificed$Valid Creature.Red/Times.2
SVar:Y:Sacrificed$Valid Creature.Black
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/lyzolda_the_blood_witch.jpg
SetInfo:DIS|Rare|http://magiccards.info/scans/en/di/117.jpg
End

View File

@@ -2847,8 +2847,15 @@ public class CardFactoryUtil {
} }
if( string.contains("Valid") ) { if( string.contains("Valid") ) {
final String m[] = {"none"};
String valid = string.replace("Valid ", ""); String valid = string.replace("Valid ", "");
return paidList.getValidCards(valid, source.getController(), source).size(); final String[] l;
l = valid.split("/"); // separate the specification from any math
valid = l[0];
if(l.length > 1) m[0] = l[1];
CardList list = paidList.getValidCards(valid, source.getController(), source);
return doXMath(list.size(), m, source);
} }
int tot = 0; int tot = 0;
@@ -3518,15 +3525,6 @@ public class CardFactoryUtil {
public static boolean isNegativeCounter(Counters c) public static boolean isNegativeCounter(Counters c)
{ {
/*
AGE(),
BLAZE(),
BRIBERY(),
ICE(),
M1M1("-1/-1"),
TIME(),
*/
return c == Counters.AGE || c == Counters.BLAZE || c == Counters.BRIBERY || c == Counters.DOOM || c == Counters.ICE || return c == Counters.AGE || c == Counters.BLAZE || c == Counters.BRIBERY || c == Counters.DOOM || c == Counters.ICE ||
c == Counters.M1M1 || c == Counters.M0M2 || c == Counters.M0M1|| c == Counters.TIME; c == Counters.M1M1 || c == Counters.M0M2 || c == Counters.M0M1|| c == Counters.TIME;
} }