forked from External/mage
* Copy spell - improved support, now all copied spells are independent (bug example: Seasons Past fizzled after copy resolve, see #7634, 10f8022043);
This commit is contained in:
parent
8704b9cb9b
commit
b36f915d74
22 changed files with 537 additions and 179 deletions
|
|
@ -42,6 +42,14 @@ public abstract class SplitCard extends CardImpl {
|
|||
((SplitCardHalf) rightHalfCard).setParentCard(this);
|
||||
}
|
||||
|
||||
public void setParts(SplitCardHalf leftHalfCard, SplitCardHalf rightHalfCard) {
|
||||
// for card copy only - set new parts
|
||||
this.leftHalfCard = leftHalfCard;
|
||||
leftHalfCard.setParentCard(this);
|
||||
this.rightHalfCard = rightHalfCard;
|
||||
rightHalfCard.setParentCard(this);
|
||||
}
|
||||
|
||||
public SplitCardHalf getLeftHalfCard() {
|
||||
return (SplitCardHalf) leftHalfCard;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue