mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
"AdditionalBeginningPhase" support
This commit is contained in:
@@ -35,6 +35,9 @@ public class AddPhaseEffect extends SpellAbilityEffect {
|
||||
followingExtra = PhaseType.smartValueOf(followedBy);
|
||||
}
|
||||
PhaseType followingAfter = extra.equals(PhaseType.COMBAT_BEGIN) ? PhaseType.COMBAT_END : extra;
|
||||
if (sa.hasParam("AdditionalBeginningPhase")) {
|
||||
followingAfter = extra.equals(PhaseType.UNTAP) ? PhaseType.DRAW : extra;
|
||||
}
|
||||
phaseHandler.addExtraPhase(followingAfter, followingExtra);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user