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);
|
||||
boolean wasInAlt = false;
|
||||
CardCharactersticName stateName = CardCharactersticName.Original;
|
||||
if (c.isInAlternateState()) {
|
||||
stateName = c.getCurState();
|
||||
wasInAlt = true;
|
||||
c.setState(CardCharactersticName.Original);
|
||||
}
|
||||
@@ -464,10 +466,13 @@ public final class AbilityFactoryCopy {
|
||||
copy.setCloneOrigin(hostCard);
|
||||
sa.getSourceCard().addClone(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
|
||||
// if Kiki-Jiki somehow gets untapped again
|
||||
final Card[] target = new Card[multiplier];
|
||||
|
||||
Reference in New Issue
Block a user