- Permanents should be untapped when coming into play from Oblivion Ring.

- Fixed Vitu-Ghazi, the City-Tree.
This commit is contained in:
jendave
2011-08-06 03:43:38 +00:00
parent ebcf75cd5c
commit 0a8faf29f0
3 changed files with 17 additions and 6 deletions

View File

@@ -4007,7 +4007,10 @@ public class CardFactory implements NewConstants {
PlayerZone play = AllZone.getZone(Constant.Zone.Play, c.getOwner());
PlayerZone removed = AllZone.getZone(Constant.Zone.Removed_From_Play, c.getOwner());
removed.remove(c);
if (c.isTapped())
c.untap();
play.add(c);
}
}//resolve()
};//SpellAbility

View File

@@ -1698,12 +1698,6 @@ class CardFactory_Lands {
final Ability_Tap ability = new Ability_Tap(card, "2 G W") {
private static final long serialVersionUID = 1781653158406511188L;
@Override
public boolean canPlay() {
if(AllZone.GameAction.isCardInPlay(card)) return true;
else return false;
}
@Override
public void resolve() {
CardFactoryUtil.makeToken("Saproling", "G 1 1 Saproling", card, "G", new String[] {

View File

@@ -193,6 +193,20 @@ public class CardListUtil
list.sort(com);
}
public static void sortByName(CardList list)
{
Comparator<Card> com = new Comparator<Card>()
{
public int compare(Card a, Card b) {
String aName = a.getName();
String bName = b.getName();
return aName.compareTo(bName);
}
};
list.sort(com);
}
public static void sortCMC(CardList list)
{