mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- AF ChangeZone Hidden is a little more flexible now.
- Added Entrails Feaster by Jeff.
This commit is contained in:
@@ -819,6 +819,8 @@ public final class AbilityFactoryChangeZone {
|
||||
CardList fetchList;
|
||||
if (defined) {
|
||||
fetchList = new CardList(AbilityFactory.getDefinedCards(card, params.get("Defined"), sa));
|
||||
} else if (!origin.contains(Zone.Library) && !origin.contains(Zone.Hand)){
|
||||
fetchList = AllZoneUtil.getCardsIn(origin);
|
||||
} else {
|
||||
fetchList = player.getCardsIn(origin);
|
||||
}
|
||||
@@ -912,11 +914,13 @@ public final class AbilityFactoryChangeZone {
|
||||
}
|
||||
|
||||
movedCard = AllZone.getGameAction().moveTo(c.getController().getZone(destination), c);
|
||||
} else {
|
||||
movedCard = AllZone.getGameAction().moveTo(destZone, c);
|
||||
} else if(destination.equals(Zone.Exile)) {
|
||||
movedCard = AllZone.getGameAction().exile(c);
|
||||
if (params.containsKey("ExileFaceDown")) {
|
||||
movedCard.setState("FaceDown");
|
||||
}
|
||||
} else {
|
||||
movedCard = AllZone.getGameAction().moveTo(destZone, c);
|
||||
}
|
||||
|
||||
if (remember != null) {
|
||||
@@ -984,6 +988,9 @@ public final class AbilityFactoryChangeZone {
|
||||
CardList fetchList;
|
||||
if (defined) {
|
||||
fetchList = new CardList(AbilityFactory.getDefinedCards(card, params.get("Defined"), sa));
|
||||
} else if (!origin.contains(Zone.Library) && !origin.contains(Zone.Hand)){
|
||||
fetchList = AllZoneUtil.getCardsIn(origin);
|
||||
fetchList = AbilityFactory.filterListByType(fetchList, type, sa);
|
||||
} else {
|
||||
fetchList = player.getCardsIn(origin);
|
||||
fetchList = AbilityFactory.filterListByType(fetchList, type, sa);
|
||||
@@ -1095,11 +1102,13 @@ public final class AbilityFactoryChangeZone {
|
||||
}
|
||||
|
||||
newCard = AllZone.getGameAction().moveTo(c.getController().getZone(destination), c);
|
||||
} else {
|
||||
newCard = AllZone.getGameAction().moveTo(destZone, c);
|
||||
} else if(destination.equals(Zone.Exile)) {
|
||||
newCard = AllZone.getGameAction().exile(c);
|
||||
if (params.containsKey("ExileFaceDown")) {
|
||||
newCard.setState("FaceDown");
|
||||
}
|
||||
} else {
|
||||
newCard = AllZone.getGameAction().moveTo(destZone, c);
|
||||
}
|
||||
|
||||
if (remember != null) {
|
||||
|
||||
Reference in New Issue
Block a user