From bab673adf75d4e78ea1e34590fa36be01c1ea541 Mon Sep 17 00:00:00 2001 From: Jeff Date: Thu, 14 Mar 2019 09:17:06 -0500 Subject: [PATCH] - small fix Blood Tithe. --- Mage.Sets/src/mage/cards/b/BloodTithe.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Mage.Sets/src/mage/cards/b/BloodTithe.java b/Mage.Sets/src/mage/cards/b/BloodTithe.java index 86832f3bbcd..02355d98cd4 100644 --- a/Mage.Sets/src/mage/cards/b/BloodTithe.java +++ b/Mage.Sets/src/mage/cards/b/BloodTithe.java @@ -37,7 +37,7 @@ public final class BloodTithe extends CardImpl { class BloodTitheEffect extends OneShotEffect { public BloodTitheEffect() { - super(Outcome.Damage); + super(Outcome.GainLife); staticText = "Each opponent loses 3 life. You gain life equal to the life lost this way"; } @@ -47,11 +47,11 @@ class BloodTitheEffect extends OneShotEffect { @Override public boolean apply(Game game, Ability source) { - int damage = 0; + int lifeLost = 0; for (UUID opponentId: game.getOpponents(source.getControllerId())) { - damage += game.getPlayer(opponentId).damage(3, source.getSourceId(), game, false, true); + lifeLost += game.getPlayer(opponentId).loseLife(3, game, false); } - game.getPlayer(source.getControllerId()).gainLife(damage, game, source); + game.getPlayer(source.getControllerId()).gainLife(lifeLost, game, source); return true; }