mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Fixed AF CopyPermanent messing with DFC's.
This commit is contained in:
@@ -392,7 +392,9 @@ public final class AbilityFactoryCopy {
|
|||||||
|
|
||||||
AllZone.getTriggerHandler().suppressMode(TriggerType.Transformed);
|
AllZone.getTriggerHandler().suppressMode(TriggerType.Transformed);
|
||||||
boolean wasInAlt = false;
|
boolean wasInAlt = false;
|
||||||
|
CardCharactersticName stateName = CardCharactersticName.Original;
|
||||||
if (c.isInAlternateState()) {
|
if (c.isInAlternateState()) {
|
||||||
|
stateName = c.getCurState();
|
||||||
wasInAlt = true;
|
wasInAlt = true;
|
||||||
c.setState(CardCharactersticName.Original);
|
c.setState(CardCharactersticName.Original);
|
||||||
}
|
}
|
||||||
@@ -464,10 +466,13 @@ public final class AbilityFactoryCopy {
|
|||||||
copy.setCloneOrigin(hostCard);
|
copy.setCloneOrigin(hostCard);
|
||||||
sa.getSourceCard().addClone(copy);
|
sa.getSourceCard().addClone(copy);
|
||||||
crds[i] = copy;
|
crds[i] = copy;
|
||||||
|
|
||||||
AllZone.getTriggerHandler().clearSuppression(TriggerType.Transformed);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (wasInAlt) {
|
||||||
|
c.setState(stateName);
|
||||||
|
}
|
||||||
|
AllZone.getTriggerHandler().clearSuppression(TriggerType.Transformed);
|
||||||
|
|
||||||
// have to do this since getTargetCard() might change
|
// have to do this since getTargetCard() might change
|
||||||
// if Kiki-Jiki somehow gets untapped again
|
// if Kiki-Jiki somehow gets untapped again
|
||||||
final Card[] target = new Card[multiplier];
|
final Card[] target = new Card[multiplier];
|
||||||
|
|||||||
Reference in New Issue
Block a user