From 333562f72127a0f4cbdbaa082aa287551b8ecf0b Mon Sep 17 00:00:00 2001 From: magenoxx Date: Mon, 7 Mar 2011 22:03:35 +0300 Subject: [PATCH] Fixes --- ...ealsCombatDamageToAPlayerTriggeredAbility.java | 1 + .../decorator/ConditionalTriggeredAbility.java | 6 +++++- .../common/PutLibraryIntoGraveTargetEffect.java | 15 ++++++++------- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/Mage/src/mage/abilities/common/DealsCombatDamageToAPlayerTriggeredAbility.java b/Mage/src/mage/abilities/common/DealsCombatDamageToAPlayerTriggeredAbility.java index 60cb8d1bab..c3d0523361 100644 --- a/Mage/src/mage/abilities/common/DealsCombatDamageToAPlayerTriggeredAbility.java +++ b/Mage/src/mage/abilities/common/DealsCombatDamageToAPlayerTriggeredAbility.java @@ -58,6 +58,7 @@ public class DealsCombatDamageToAPlayerTriggeredAbility extends TriggeredAbility @Override public boolean checkTrigger(GameEvent event, Game game) { if (event.getType() == EventType.DAMAGED_PLAYER && event.getSourceId().equals(this.sourceId)) { + this.targets.clear(); this.addTarget(new TargetPlayer()); this.targets.get(0).add(event.getPlayerId(), game); return true; diff --git a/Mage/src/mage/abilities/decorator/ConditionalTriggeredAbility.java b/Mage/src/mage/abilities/decorator/ConditionalTriggeredAbility.java index 6b10329884..6dd4736ca8 100644 --- a/Mage/src/mage/abilities/decorator/ConditionalTriggeredAbility.java +++ b/Mage/src/mage/abilities/decorator/ConditionalTriggeredAbility.java @@ -47,7 +47,11 @@ public class ConditionalTriggeredAbility extends TriggeredAbilityImpl