mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
1) Added Mnemonic Wall to the Gravedigger and Cadaver Imp card object.
2) Added 2 LQ pic urls.
This commit is contained in:
@@ -38,6 +38,8 @@ 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_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
|
||||
mnemonic_wall.jpg http://www.wizards.com/global/images/magic/general/mnemonic_wall.jpg
|
||||
cadaver_imp.jpg http://www.wizards.com/global/images/magic/general/cadaver_imp.jpg
|
||||
demonic_consultation.jpg http://www.wizards.com/global/images/magic/general/demonic_consultation.jpg
|
||||
stitch_together.jpg http://www.wizards.com/global/images/magic/general/stitch_together.jpg
|
||||
symbiotic_wurm.jpg http://www.wizards.com/global/images/magic/general/symbiotic_wurm.jpg
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
Mnemonic Wall
|
||||
4 U
|
||||
Creature Wall
|
||||
When Mnemonic Wall enters the battlefield, you may return target instant or sorcery card from your graveyard to your hand.
|
||||
0/4
|
||||
Defender
|
||||
|
||||
Elvish Piper
|
||||
3 G
|
||||
Creature Elf Shaman
|
||||
|
||||
@@ -3588,9 +3588,8 @@ public class CardFactory_Creatures {
|
||||
});
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Gravedigger") || cardName.equals("Cadaver Imp")) {
|
||||
else if(cardName.equals("Gravedigger") || cardName.equals("Cadaver Imp") || cardName.equals("Mnemonic Wall")) {
|
||||
final SpellAbility ability = new Ability(card, "0") {
|
||||
@Override
|
||||
public void resolve() {
|
||||
@@ -3607,7 +3606,15 @@ public class CardFactory_Creatures {
|
||||
public void execute() {
|
||||
PlayerZone grave = AllZone.getZone(Constant.Zone.Graveyard, card.getController());
|
||||
CardList list = new CardList(grave.getCards());
|
||||
list = list.getType("Creature");
|
||||
|
||||
list = list.filter(new CardListFilter() {
|
||||
public boolean addCard(Card crd) {
|
||||
return ((card.getName().equals("Gravedigger") || card.getName().equals("Cadaver Imp")) && crd.isCreature())
|
||||
||
|
||||
(card.getName().equals("Mnemonic Wall") && (crd.isInstant() || crd.isSorcery()));
|
||||
}
|
||||
});
|
||||
// list = list.getType("Creature");
|
||||
|
||||
if(list.isEmpty()) return;
|
||||
|
||||
@@ -3620,7 +3627,14 @@ public class CardFactory_Creatures {
|
||||
}//if
|
||||
else//computer
|
||||
{
|
||||
Card best = CardFactoryUtil.AI_getBestCreature(list);
|
||||
Card best = card;
|
||||
if (card.getName().equals("Gravedigger") || card.getName().equals("Cadaver Imp")) {
|
||||
best = CardFactoryUtil.AI_getBestCreature(list);
|
||||
} else {
|
||||
// compy will select a random Instant or Sorcery
|
||||
list.shuffle();
|
||||
best = list.get(0);
|
||||
}
|
||||
ability.setTargetCard(best);
|
||||
AllZone.Stack.add(ability);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user