mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Small fixes to Triggers related to Clones and CopyPermanent triggering the wrong number of times
This commit is contained in:
@@ -154,6 +154,8 @@ public class CloneEffect extends SpellAbilityEffect {
|
||||
if (copyingSelf) {
|
||||
tgtCard.clearStates(CardStateName.Cloned, false);
|
||||
}
|
||||
|
||||
//game.getTriggerHandler().registerActiveTrigger(tgtCard, false);
|
||||
tgtCard.updateStateForView();
|
||||
|
||||
//Clear Remembered and Imprint lists
|
||||
|
||||
@@ -175,7 +175,7 @@ public class CopyPermanentEffect extends SpellAbilityEffect {
|
||||
}
|
||||
|
||||
// Temporarily register triggers of an object created with CopyPermanent
|
||||
game.getTriggerHandler().registerActiveTrigger(copy, false);
|
||||
//game.getTriggerHandler().registerActiveTrigger(copy, false);
|
||||
final Card copyInPlay = game.getAction().moveToPlay(copy);
|
||||
|
||||
// when copying something stolen:
|
||||
|
||||
Reference in New Issue
Block a user