mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
[TLA] Implement Solstice Revelations
This commit is contained in:
parent
9d2d7827ef
commit
d3b0531777
3 changed files with 118 additions and 1 deletions
|
|
@ -1536,7 +1536,7 @@ public final class CardUtil {
|
|||
} else {
|
||||
chosenAbility = player.chooseAbilityForCast(cardToCast, game, true);
|
||||
}
|
||||
boolean result = false;
|
||||
boolean result;
|
||||
if (chosenAbility instanceof SpellAbility) {
|
||||
result = player.cast(
|
||||
(SpellAbility) chosenAbility,
|
||||
|
|
@ -1545,6 +1545,8 @@ public final class CardUtil {
|
|||
} else if (playLand && chosenAbility instanceof PlayLandAbility) {
|
||||
Card land = game.getCard(chosenAbility.getSourceId());
|
||||
result = player.playLand(land, game, true);
|
||||
} else {
|
||||
result = false;
|
||||
}
|
||||
partsToCast.forEach(card -> game.getState().setValue("PlayFromNotOwnHandZone" + card.getId(), null));
|
||||
if (result && spellCastTracker != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue