mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- "Effect" effects that contain triggers will now be registered immediately instead of waiting for the next registration time.
This commit is contained in:
@@ -235,8 +235,11 @@ public class EffectEffect extends SpellAbilityEffect {
|
||||
|
||||
// TODO: Add targeting to the effect so it knows who it's dealing with
|
||||
game.getTriggerHandler().suppressMode(TriggerType.ChangesZone);
|
||||
game.getAction().moveTo(ZoneType.Command, eff);
|
||||
Card cmdEffect = game.getAction().moveTo(ZoneType.Command, eff);
|
||||
game.getTriggerHandler().clearSuppression(TriggerType.ChangesZone);
|
||||
if (effectTriggers != null) {
|
||||
game.getTriggerHandler().registerActiveTrigger(cmdEffect, false);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user