mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Kor Cartographers added.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
Kor Cartographer
|
||||||
|
3 W
|
||||||
|
Creature Kor Scout
|
||||||
|
When Kor Cartographer enters the field, you may search your library for a plains card, put it onto the battlefield tapped, then shuffle your library.
|
||||||
|
2/2
|
||||||
|
|
||||||
Celestial Purge
|
Celestial Purge
|
||||||
1 W
|
1 W
|
||||||
Instant
|
Instant
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
program/mail=mtgerror@yahoo.com
|
program/mail=mtgerror@yahoo.com
|
||||||
program/forum=http://www.slightlymagic.net/forum/viewforum.php?f=26
|
program/forum=http://www.slightlymagic.net/forum/viewforum.php?f=26
|
||||||
program/version=MTG Forge -- official beta: 09/11/02, SVN revision: 99
|
program/version=MTG Forge -- official beta: 09/11/02, SVN revision: 100
|
||||||
|
|
||||||
tokens--file=AllTokens.txt
|
tokens--file=AllTokens.txt
|
||||||
|
|
||||||
|
|||||||
@@ -16836,6 +16836,69 @@ public class CardFactory_Creatures {
|
|||||||
});
|
});
|
||||||
card.addSpellAbility(ability);
|
card.addSpellAbility(ability);
|
||||||
}//*************** END ************ END **************************
|
}//*************** END ************ END **************************
|
||||||
|
else if(cardName.equals("Kor Cartographer"))
|
||||||
|
{
|
||||||
|
final Ability ab1 = new Ability(card, "no cost")
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = -3361422153566629825L;
|
||||||
|
|
||||||
|
public void resolve()
|
||||||
|
{
|
||||||
|
PlayerZone lib = AllZone.getZone(Constant.Zone.Library, card.getController());
|
||||||
|
PlayerZone play = AllZone.getZone(Constant.Zone.Play, card.getController());
|
||||||
|
|
||||||
|
CardList landInLib = new CardList(lib.getCards());
|
||||||
|
landInLib = landInLib.getType("Plains");
|
||||||
|
|
||||||
|
if (landInLib.size() > 0)
|
||||||
|
{
|
||||||
|
if (card.getController().equals(Constant.Player.Computer))
|
||||||
|
{
|
||||||
|
lib.remove(landInLib.get(0));
|
||||||
|
landInLib.get(0).tap();
|
||||||
|
play.add(landInLib.get(0));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Object o = AllZone.Display.getChoiceOptional("Select plains card to put into play: ", landInLib.toArray());
|
||||||
|
if (o != null)
|
||||||
|
{
|
||||||
|
Card crd = (Card)o;
|
||||||
|
lib.remove(crd);
|
||||||
|
crd.tap();
|
||||||
|
play.add(crd);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
AllZone.GameAction.shuffle(card.getController());
|
||||||
|
}//if(isCardInPlay)
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean canPlayAI()
|
||||||
|
{
|
||||||
|
CardList landInLib = new CardList(AllZone.getZone(Constant.Zone.Library, Constant.Player.Computer).getCards());
|
||||||
|
CardList landInPlay = new CardList(AllZone.getZone(Constant.Zone.Play, Constant.Player.Computer).getCards());
|
||||||
|
|
||||||
|
landInLib = landInLib.getType("Land");
|
||||||
|
landInPlay = landInPlay.getType("Land");
|
||||||
|
|
||||||
|
if (landInLib.size() > 0 && landInPlay.size() > 0)
|
||||||
|
return true;
|
||||||
|
else
|
||||||
|
return false;
|
||||||
|
|
||||||
|
}
|
||||||
|
};//SpellAbility
|
||||||
|
Command cip = new Command(){/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = -2084426519099911543L;
|
||||||
|
|
||||||
|
public void execute()
|
||||||
|
{
|
||||||
|
AllZone.Stack.add(ab1);
|
||||||
|
}};
|
||||||
|
card.addComesIntoPlayCommand(cip);
|
||||||
|
}//*************** END ************ END **************************
|
||||||
|
|
||||||
// Cards with Cycling abilities
|
// Cards with Cycling abilities
|
||||||
// -1 means keyword "Cycling" not found
|
// -1 means keyword "Cycling" not found
|
||||||
|
|||||||
Reference in New Issue
Block a user