Fix Sever Soul to work with indestructible creatures (thanks LevelX2)

This commit is contained in:
Dustin Conrad 2014-08-11 19:18:40 -04:00
parent 709dc83ae6
commit 0bb6867a45

View file

@ -94,7 +94,7 @@ class GainLifeEqualToToughnessEffect extends OneShotEffect {
@Override
public boolean apply(Game game, Ability source) {
Permanent permanent = (Permanent) game.getLastKnownInformation(source.getFirstTarget(), Zone.BATTLEFIELD);
Permanent permanent = game.getPermanentOrLKIBattlefield(getTargetPointer().getFirst(game, source));
if (permanent != null) {
Player player = game.getPlayer(source.getControllerId());
if (player != null) {