mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Added dividedAsYouChoose to Target's copy constructor
This commit is contained in:
@@ -457,7 +457,6 @@ public class Target {
|
|||||||
* a {@link forge.card.spellability.Target} object.
|
* a {@link forge.card.spellability.Target} object.
|
||||||
*/
|
*/
|
||||||
public Target(final Target target) {
|
public Target(final Target target) {
|
||||||
|
|
||||||
this.tgtValid = true;
|
this.tgtValid = true;
|
||||||
this.srcCard = target.getSourceCard();
|
this.srcCard = target.getSourceCard();
|
||||||
this.vtSelection = target.getVTSelection();
|
this.vtSelection = target.getVTSelection();
|
||||||
@@ -466,6 +465,7 @@ public class Target {
|
|||||||
this.maxTargets = target.getMaxTargets();
|
this.maxTargets = target.getMaxTargets();
|
||||||
this.tgtZone = target.getZone();
|
this.tgtZone = target.getZone();
|
||||||
this.targetSpellAbilityType = target.getTargetSpellAbilityType();
|
this.targetSpellAbilityType = target.getTargetSpellAbilityType();
|
||||||
|
this.dividedAsYouChoose = target.isDividedAsYouChoose();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user