forked from External/mage
fixed copies of Approach of the Second Sun not working correctly
This commit is contained in:
parent
d2d6231ab3
commit
f7931692ab
1 changed files with 7 additions and 1 deletions
|
|
@ -63,7 +63,10 @@ class ApproachOfTheSecondSunEffect extends OneShotEffect {
|
|||
if (controller != null && spell != null) {
|
||||
ApproachOfTheSecondSunWatcher watcher
|
||||
= (ApproachOfTheSecondSunWatcher) game.getState().getWatchers().get(ApproachOfTheSecondSunWatcher.class.getSimpleName());
|
||||
if (watcher != null && watcher.getApproachesCast(controller.getId()) > 1 && spell.getFromZone() == Zone.HAND) {
|
||||
if (watcher != null
|
||||
&& !spell.isCopiedSpell()
|
||||
&& watcher.getApproachesCast(controller.getId()) > 1
|
||||
&& spell.getFromZone() == Zone.HAND) {
|
||||
// Win the game
|
||||
controller.won(game);
|
||||
} else {
|
||||
|
|
@ -71,6 +74,9 @@ class ApproachOfTheSecondSunEffect extends OneShotEffect {
|
|||
controller.gainLife(7, game);
|
||||
|
||||
// Put this into the library as the 7th from the top
|
||||
if (spell.isCopiedSpell()) {
|
||||
return true;
|
||||
}
|
||||
Card spellCard = game.getStack().getSpell(source.getSourceId()).getCard();
|
||||
if (spellCard != null) {
|
||||
List<Card> top6 = new ArrayList<>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue