Update Wall of Stolen Identity

This commit is contained in:
swordshine
2019-08-20 20:02:59 +08:00
parent cf9256ddf8
commit a8c1377e10
4 changed files with 6 additions and 15 deletions

View File

@@ -92,11 +92,6 @@ public class AbilityUtils {
else if (defined.equals("OriginalHost")) {
c = sa.getRootAbility().getOriginalHost();
}
else if (defined.equals("CloneStateOrigin")) {
if (hostCard.isCloned()) {
c = hostCard.getLastClonedStateOrigin();
}
}
else if (defined.equals("EffectSource")) {
if (hostCard.isEmblem() || hostCard.getType().hasSubtype("Effect")) {
c = AbilityUtils.findEffectRoot(hostCard);

View File

@@ -166,6 +166,9 @@ public class CloneEffect extends SpellAbilityEffect {
sa.getHostCard().addFacedownCommand(unclone);
}
}
if (sa.hasParam("RememberCloneOrigin")) {
tgtCard.addRemembered(cardToCopy);
}
game.fireEvent(new GameEventCardStatsChanged(tgtCard));
} // cloneResolve

View File

@@ -3204,14 +3204,6 @@ public class Card extends GameEntity implements Comparable<Card> {
return clStates.getHost();
}
public final Card getLastClonedStateOrigin() {
CardCloneStates clStates = getLastClonedState();
if (clStates == null) {
return null;
}
return clStates.getOrigin();
}
public final void removeCloneStates() {
clonedStates.clear();
}