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")) {
|
else if (params.containsKey("UntilHostLeavesPlay")) {
|
||||||
sb.append(" until ").append(host).append(" leaves the battlefield.");
|
sb.append(" until ").append(host).append(" leaves the battlefield.");
|
||||||
}
|
}
|
||||||
|
else if (params.containsKey("UntilYourNextUpkeep")) {
|
||||||
|
sb.append(" until your next upkeep.");
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
sb.append(" until end of turn.");
|
sb.append(" until end of turn.");
|
||||||
}
|
}
|
||||||
@@ -601,6 +604,9 @@ public final class AbilityFactory_Animate {
|
|||||||
else if (params.containsKey("UntilHostLeavesPlay")) {
|
else if (params.containsKey("UntilHostLeavesPlay")) {
|
||||||
host.addLeavesPlayCommand(unanimate);
|
host.addLeavesPlayCommand(unanimate);
|
||||||
}
|
}
|
||||||
|
else if (params.containsKey("UntilYourNextUpkeep")) {
|
||||||
|
AllZone.getUpkeep().addUntil(host.getController(), unanimate);
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
AllZone.getEndOfTurn().addUntil(unanimate);
|
AllZone.getEndOfTurn().addUntil(unanimate);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user