add Death Cultist from Rise of the Eldrazi

This commit is contained in:
jendave
2011-08-06 04:10:36 +00:00
parent b059aa5b06
commit 07b8c9d621
3 changed files with 39 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ snow_covered_mountain.jpg http://www.wizards.com/global/images/magic/gene
snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg
snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
death_cultist.jpg http://www.wizards.com/global/images/magic/general/death_cultist.jpg
everflowing_chalice.jpg http://www.wizards.com/global/images/magic/general/everflowing_chalice.jpg everflowing_chalice.jpg http://www.wizards.com/global/images/magic/general/everflowing_chalice.jpg
consume_the_meek.jpg http://www.wizards.com/global/images/magic/general/consume_the_meek.jpg consume_the_meek.jpg http://www.wizards.com/global/images/magic/general/consume_the_meek.jpg
awakening_zone.jpg http://www.wizards.com/global/images/magic/general/awakening_zone.jpg awakening_zone.jpg http://www.wizards.com/global/images/magic/general/awakening_zone.jpg

View File

@@ -1,3 +1,9 @@
Death Cultist
B
Creature Human Wizard
Sacrifice Death Cultist: Target player loses 1 life and you gain 1 life.
1/1
Everflowing Chalice Everflowing Chalice
0 0
Artifact Artifact

View File

@@ -17628,7 +17628,38 @@ public class CardFactory_Creatures {
card.addComesIntoPlayCommand(intoPlay); card.addComesIntoPlayCommand(intoPlay);
}//*************** END ************ END ************************** }//*************** END ************ END **************************
//*************** START *********** START **************************
else if(cardName.equals("Death Cultist")) {
/*
* Sacrifice Death Cultist: Target player loses 1 life and you gain 1 life.
*/
final SpellAbility ability = new Ability(card, "0") {
@Override
public boolean canPlayAI() {
PlayerLife human = AllZone.GameAction.getPlayerLife(Constant.Player.Human);
return human.getLife() == 1;
}
@Override
public void resolve() {
//AllZone.GameAction.drawCard(sourceCard.getController());
final String target = getTargetPlayer();
PlayerLife targetLife = AllZone.GameAction.getPlayerLife(target);
final String player = card.getController();
PlayerLife playerLife = AllZone.GameAction.getPlayerLife(player);
AllZone.GameAction.sacrifice(card);
targetLife.subtractLife(1);
playerLife.addLife(1);
}
};
//ability.setDescription("1, Sacrifice " + cardName + ": Draw a card.");
//ability.setStackDescription(cardName + " - Target player loses 1 life and controller gains 1 life.");
card.addSpellAbility(ability);
ability.setBeforePayMana(CardFactoryUtil.input_targetPlayer(ability));
}//*************** END ************ END **************************
// Cards with Cycling abilities // Cards with Cycling abilities
// -1 means keyword "Cycling" not found // -1 means keyword "Cycling" not found