mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
allow "UntilLeavesBattlefield" to be Defined
This commit is contained in:
@@ -314,6 +314,10 @@ public class AbilityUtils {
|
|||||||
for (final Card imprint : hostCard.getImprintedCards()) {
|
for (final Card imprint : hostCard.getImprintedCards()) {
|
||||||
cards.add(game.getCardState(imprint));
|
cards.add(game.getCardState(imprint));
|
||||||
}
|
}
|
||||||
|
} else if (defined.equals("UntilLeavesBattlefield")) {
|
||||||
|
for (final Card ulb : hostCard.getUntilLeavesBattlefield()) {
|
||||||
|
cards.add(game.getCardState(ulb));
|
||||||
|
}
|
||||||
} else if (defined.startsWith("ThisTurnEntered")) {
|
} else if (defined.startsWith("ThisTurnEntered")) {
|
||||||
final String[] workingCopy = defined.split("_");
|
final String[] workingCopy = defined.split("_");
|
||||||
ZoneType destination, origin;
|
ZoneType destination, origin;
|
||||||
|
|||||||
Reference in New Issue
Block a user