From 9dea328e4560755c1c189e2a4f139f6ca57fa613 Mon Sep 17 00:00:00 2001 From: Justin Herlehy Date: Mon, 21 Nov 2016 11:44:03 -0800 Subject: [PATCH] Removed trigger only once check. Removed only trigger once check as backend has been corrected to not fire excessive events. --- Mage.Sets/src/mage/cards/r/RiftmarkedKnight.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Mage.Sets/src/mage/cards/r/RiftmarkedKnight.java b/Mage.Sets/src/mage/cards/r/RiftmarkedKnight.java index b54953be67..85a7ba4a9b 100644 --- a/Mage.Sets/src/mage/cards/r/RiftmarkedKnight.java +++ b/Mage.Sets/src/mage/cards/r/RiftmarkedKnight.java @@ -83,9 +83,6 @@ public class RiftmarkedKnight extends CardImpl { } class RiftmarkedKnightTriggeredAbility extends TriggeredAbilityImpl { - /* We want this to only trigger once due to edge cases allowing it to fire multiple times - * if more counters are removed than remain on the suspended card. */ - private boolean eventTriggered = false; public RiftmarkedKnightTriggeredAbility() { super(Zone.EXILED, new CreateTokenEffect(new RiftmarkedKnightToken()), false); } @@ -98,14 +95,7 @@ class RiftmarkedKnightTriggeredAbility extends TriggeredAbilityImpl { @Override public boolean checkTrigger(GameEvent event, Game game) { - boolean trigger = false; - - if (event.getTargetId().equals(this.getSourceId()) && !eventTriggered && - game.getCard(event.getTargetId()).getCounters(game).getCount(CounterType.TIME) == 0) { - eventTriggered = true; - trigger = true; - } - return trigger; + return (event.getTargetId().equals(this.getSourceId()) && game.getCard(event.getTargetId()).getCounters(game).getCount(CounterType.TIME) == 0); } @Override