mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
add UntilYourNextUpkeep param to AF_Animate
This commit is contained in:
@@ -251,6 +251,9 @@ public final class AbilityFactory_Animate {
|
||||
else if (params.containsKey("UntilHostLeavesPlay")) {
|
||||
sb.append(" until ").append(host).append(" leaves the battlefield.");
|
||||
}
|
||||
else if (params.containsKey("UntilYourNextUpkeep")) {
|
||||
sb.append(" until your next upkeep.");
|
||||
}
|
||||
else {
|
||||
sb.append(" until end of turn.");
|
||||
}
|
||||
@@ -601,6 +604,9 @@ public final class AbilityFactory_Animate {
|
||||
else if (params.containsKey("UntilHostLeavesPlay")) {
|
||||
host.addLeavesPlayCommand(unanimate);
|
||||
}
|
||||
else if (params.containsKey("UntilYourNextUpkeep")) {
|
||||
AllZone.getUpkeep().addUntil(host.getController(), unanimate);
|
||||
}
|
||||
else {
|
||||
AllZone.getEndOfTurn().addUntil(unanimate);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user