* Silent Skimmer - Fixed that the lose life effect did not work if a planeswalker was attacked (fixes #2139).

This commit is contained in:
LevelX2 2016-08-02 13:17:09 +02:00
parent a0fbcddeb9
commit f5b2770c3e
2 changed files with 31 additions and 7 deletions

View file

@ -75,7 +75,7 @@ public class LoseLifeDefendingPlayerEffect extends OneShotEffect {
public boolean apply(Game game, Ability source) {
Player defender = null;
if (attackerIsSource) {
defender = game.getPlayer(game.getCombat().getDefenderId(source.getSourceId()));
defender = game.getPlayer(game.getCombat().getDefendingPlayerId(source.getSourceId(), game));
} else {
defender = game.getPlayer(getTargetPointer().getFirst(game, source));
}