From 6b26c40d1dda4f39b922119aaa625ce30e0e765b Mon Sep 17 00:00:00 2001 From: Jeff Date: Thu, 16 Jul 2020 09:59:48 -0500 Subject: [PATCH] - Duelist's Heritage will no longer give an opponent's creature Double-Strike. (JayDi85) --- Mage.Sets/src/mage/cards/d/DuelistsHeritage.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Mage.Sets/src/mage/cards/d/DuelistsHeritage.java b/Mage.Sets/src/mage/cards/d/DuelistsHeritage.java index a7aaba6b4f..f8ffe2d7d9 100644 --- a/Mage.Sets/src/mage/cards/d/DuelistsHeritage.java +++ b/Mage.Sets/src/mage/cards/d/DuelistsHeritage.java @@ -70,6 +70,13 @@ class DuelistsHeritageTriggeredAbility extends TriggeredAbilityImpl { @Override public boolean checkTrigger(GameEvent event, Game game) { + // AI workaround to disable it on opponent's attacks - JayDi85 + if (game.getCombat().getAttackingPlayerId().equals(this.getControllerId())) { + this.addCustomOutcome(Outcome.Benefit); + } else { + this.addCustomOutcome(Outcome.AIDontUseIt); + } + return !game.getCombat().getAttackers().isEmpty(); }