mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
* Silent Skimmer - Fixed that the lose life effect did not work if a planeswalker was attacked (fixes #2139).
This commit is contained in:
parent
a0fbcddeb9
commit
f5b2770c3e
2 changed files with 31 additions and 7 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue