From 1c40723e5ab295c9caab94baa0aed1b8e266b056 Mon Sep 17 00:00:00 2001 From: North Date: Thu, 6 Sep 2012 15:42:14 +0300 Subject: [PATCH] Fixed Rust Tick --- Mage.Sets/src/mage/sets/scarsofmirrodin/RustTick.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Mage.Sets/src/mage/sets/scarsofmirrodin/RustTick.java b/Mage.Sets/src/mage/sets/scarsofmirrodin/RustTick.java index 5518a09f75..429c909851 100644 --- a/Mage.Sets/src/mage/sets/scarsofmirrodin/RustTick.java +++ b/Mage.Sets/src/mage/sets/scarsofmirrodin/RustTick.java @@ -96,11 +96,11 @@ class RustTickTapTargetEffect extends TapTargetEffect { @Override public boolean apply(Game game, Ability source) { Permanent rustTick = game.getPermanent(source.getSourceId()); - if (rustTick != null) rustTick.clearConnectedCards("HisokasGuard"); + if (rustTick != null) rustTick.clearConnectedCards("RustTick"); for (UUID target : targetPointer.getTargets(game, source)) { Permanent permanent = game.getPermanent(target); if (permanent != null) { - rustTick.addConnectedCard("HisokasGuard", permanent.getId()); + rustTick.addConnectedCard("RustTick", permanent.getId()); permanent.tap(game); } else { return false; @@ -135,8 +135,8 @@ class RustTickRestrictionEffect extends RestrictionEffect 0) { - UUID target = rustTick.getConnectedCards("HisokasGuard").get(0); + if (rustTick.getConnectedCards("RustTick").size() > 0) { + UUID target = rustTick.getConnectedCards("RustTick").get(0); if (target != null && target.equals(permanent.getId())) { return true; }