mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Permanents should be untapped when coming into play from Oblivion Ring.
- Fixed Vitu-Ghazi, the City-Tree.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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[] {
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user