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();
}

View File

@@ -3,8 +3,9 @@ ManaCost:3 U
Types:Creature Shapeshifter Wall
PT:0/0
K:ETBReplacement:Copy:DBCopy:Optional
SVar:DBCopy:DB$ Clone | Choices$ Creature.Other | AddTypes$ Wall | PumpKeywords$ Defender | AiChoiceLogic$ BestOppCtrl | SubAbility$ DBTrigger | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield, except it's a wall in addition to its other types and it has defender. When you do, tap the copied creature and it doesn't untap during its controller's untap step for as long as you control CARDNAME.
SVar:DBTrigger:DB$ ImmediateTrigger | Execute$ DBTap | RememberObjects$ CloneStateOrigin | TriggerDescription$ When you do, tap the copied creature and it doesn't untap during its controller's untap step for as long as you control CARDNAME.
SVar:DBCopy:DB$ Clone | Choices$ Creature.Other | AddTypes$ Wall | PumpKeywords$ Defender | AiChoiceLogic$ BestOppCtrl | SubAbility$ DBTrigger | RememberCloneOrigin$ True | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield, except it's a wall in addition to its other types and it has defender. When you do, tap the copied creature and it doesn't untap during its controller's untap step for as long as you control CARDNAME.
SVar:DBTrigger:DB$ ImmediateTrigger | Execute$ DBTap | RememberObjects$ RememberedCard | SubAbility$ DBCleanup | TriggerDescription$ When you do, tap the copied creature and it doesn't untap during its controller's untap step for as long as you control CARDNAME.
SVar:DBTap:DB$ Tap | Defined$ DelayTriggerRemembered | SubAbility$ DBPump
SVar:DBPump:DB$ Pump | Defined$ DelayTriggerRemembered | KW$ HIDDEN CARDNAME doesn't untap during your untap step. | UntilHostLeavesPlay$ True
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
Oracle:You may have Wall of Stolen Identity enter the battlefield as a copy of any creature on the battlefield, except it's a wall in addition to its other types and it has defender. When you do, tap the copied creature and it doesn't untap during its controller's untap step for as long as you control Wall of Stolen Identity.