From 9aa699ac4e5715aa2283e7888355245b156f3980 Mon Sep 17 00:00:00 2001 From: Jeff Date: Thu, 14 Mar 2019 08:46:40 -0500 Subject: [PATCH] - small fix Isolation Cell. --- Mage.Sets/src/mage/cards/i/IsolationCell.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/i/IsolationCell.java b/Mage.Sets/src/mage/cards/i/IsolationCell.java index edff565497..29db787d7e 100644 --- a/Mage.Sets/src/mage/cards/i/IsolationCell.java +++ b/Mage.Sets/src/mage/cards/i/IsolationCell.java @@ -64,7 +64,8 @@ class IsolationCellTriggeredAbility extends TriggeredAbilityImpl { public boolean checkTrigger(GameEvent event, Game game) { if (game.getOpponents(controllerId).contains(event.getPlayerId())) { Card card = game.getCard(event.getSourceId()); - if (card != null && card.isCreature()) { + if (card != null + && card.isCreature()) { this.getEffects().get(0).setTargetPointer(new FixedTarget(event.getPlayerId())); return true; } @@ -100,7 +101,7 @@ class IsolationCellEffect extends OneShotEffect { if (player != null) { GenericManaCost cost = new GenericManaCost(2); if (!cost.pay(source, game, player.getId(), player.getId(), false)) { - player.damage(2, source.getSourceId(), game, false, true); + player.loseLife(2, game, false); } return true; }