From 743ff0e114eee88af699213eb2a103ca65e359fc Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Sat, 26 Dec 2020 00:28:55 +0400 Subject: [PATCH] * Backlash - fixed that it deals damage from source instead from target permanent (#7211); --- Mage.Sets/src/mage/cards/b/Backlash.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Mage.Sets/src/mage/cards/b/Backlash.java b/Mage.Sets/src/mage/cards/b/Backlash.java index ddb75a6ee5a..0693f19c382 100644 --- a/Mage.Sets/src/mage/cards/b/Backlash.java +++ b/Mage.Sets/src/mage/cards/b/Backlash.java @@ -63,16 +63,15 @@ class BacklashEffect extends OneShotEffect { @Override public boolean apply(Game game, Ability source) { - boolean applied = false; Permanent targetCreature = game.getPermanent(targetPointer.getFirst(game, source)); if (targetCreature != null) { - applied = targetCreature.tap(source, game); + targetCreature.tap(source, game); Player controller = game.getPlayer(targetCreature.getControllerId()); if (controller != null) { - controller.damage(targetCreature.getPower().getValue(), source.getSourceId(), source, game); - applied = true; + controller.damage(targetCreature.getPower().getValue(), targetCreature.getId(), source, game); + return true; } } - return applied; + return false; } }