- Added the SVar "FullCost" to add additional costs to permanents.

- Added Makeshift Mauler, Skaab Goliath and Stitched Drake.
This commit is contained in:
Sloth
2011-10-05 20:51:01 +00:00
parent 55ba45f870
commit 487e0f1715
5 changed files with 48 additions and 0 deletions

3
.gitattributes vendored
View File

@@ -4716,6 +4716,7 @@ res/cardsfolder/m/magus_of_the_vineyard.txt svneol=native#text/plain
res/cardsfolder/m/mahamoti_djinn.txt svneol=native#text/plain
res/cardsfolder/m/major_teroh.txt svneol=native#text/plain
res/cardsfolder/m/make_a_wish.txt -text
res/cardsfolder/m/makeshift_mauler.txt -text
res/cardsfolder/m/makindi_griffin.txt svneol=native#text/plain
res/cardsfolder/m/makindi_shieldmate.txt svneol=native#text/plain
res/cardsfolder/m/malach_of_the_dawn.txt svneol=native#text/plain
@@ -7116,6 +7117,7 @@ res/cardsfolder/s/sisays_ring.txt svneol=native#text/plain
res/cardsfolder/s/sisters_of_the_flame.txt svneol=native#text/plain
res/cardsfolder/s/sivitri_scarzam.txt svneol=native#text/plain
res/cardsfolder/s/sizzle.txt svneol=native#text/plain
res/cardsfolder/s/skaab_goliath.txt -text
res/cardsfolder/s/skarrg_the_rage_pits.txt svneol=native#text/plain
res/cardsfolder/s/skarrgan_pit_skulk.txt svneol=native#text/plain
res/cardsfolder/s/skarrgan_skybreaker.txt svneol=native#text/plain
@@ -7656,6 +7658,7 @@ res/cardsfolder/s/stir_the_grave.txt svneol=native#text/plain
res/cardsfolder/s/stirring_wildwood.txt svneol=native#text/plain
res/cardsfolder/s/stitch_in_time.txt svneol=native#text/plain
res/cardsfolder/s/stitch_together.txt svneol=native#text/plain
res/cardsfolder/s/stitched_drake.txt -text
res/cardsfolder/s/stitchers_apprentice.txt -text
res/cardsfolder/s/stoic_angel.txt svneol=native#text/plain
res/cardsfolder/s/stoic_champion.txt svneol=native#text/plain

View File

@@ -0,0 +1,11 @@
Name:Makeshift Mauler
ManaCost:3 U
Types:Creature Zombie Horror
Text:As an additional cost to cast Makeshift Mauler, exile a creature card from your graveyard.
PT:4/5
SVar:FullCost:3 U ExileFromGrave<1/Creature>
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/makeshift_mauler.jpg
SetInfo:ISD|Common|http://magiccards.info/scans/en/isd/65.jpg
Oracle:As an additional cost to cast Makeshift Mauler, exile a creature card from your graveyard.
End

View File

@@ -0,0 +1,12 @@
Name:Skaab Goliath
ManaCost:5 U
Types:Creature Zombie Giant
Text:As an additional cost to cast CARDNAME, exile two creature cards from your graveyard.
PT:6/9
K:Trample
SVar:FullCost:5 U ExileFromGrave<2/Creature>
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/skaab_goliath.jpg
SetInfo:ISD|Uncommon|http://magiccards.info/scans/en/isd/76.jpg
Oracle:As an additional cost to cast Skaab Goliath, exile two creature cards from your graveyard.\nTrample
End

View File

@@ -0,0 +1,12 @@
Name:Stitched Drake
ManaCost:1 U U
Types:Creature Zombie Drake
Text:As an additional cost to cast CARDNAME, exile a creature card from your graveyard.
PT:3/4
K:Flying
SVar:FullCost:1 U U ExileFromGrave<1/Creature>
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/stitched_drake.jpg
SetInfo:ISD|Common|http://magiccards.info/scans/en/isd/80.jpg
Oracle:As an additional cost to cast Stitched Drake, exile a creature card from your graveyard.\nFlying
End

View File

@@ -4717,6 +4717,16 @@ public class CardFactoryUtil {
card.addComesIntoPlayCommand(vanishing(card, power));
}
} // Vanishing
// AddCost
if (!card.getSVar("FullCost").equals("")) {
SpellAbility[] abilities = card.getSpellAbility();
if (abilities.length > 0 && abilities[0].isSpell()) {
String altCost = card.getSVar("FullCost");
Cost abCost = new Cost(altCost, card.getName(), abilities[0].isAbility());
abilities[0].setPayCosts(abCost);
}
}
// AltCost
if (!card.getSVar("AltCost").equals("")) {