mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Fixed Leeching Sliver bug
Following bugs fixed: No life loss from a trigger when Leeching Sliver attacks a planeswalker No life loss from a trigger when Leeching Sliver doesn't attack a player and another sliver does
This commit is contained in:
parent
8c017fe3d2
commit
1bae2b0b1e
2 changed files with 2 additions and 2 deletions
|
|
@ -77,7 +77,7 @@ public class LoseLifeDefendingPlayerEffect extends OneShotEffect {
|
|||
if (attackerIsSource) {
|
||||
defender = game.getPlayer(game.getCombat().getDefenderId(source.getSourceId()));
|
||||
} else {
|
||||
defender = game.getPlayer(game.getCombat().getDefenderId(getTargetPointer().getFirst(game, source)));
|
||||
defender = game.getPlayer(getTargetPointer().getFirst(game, source));
|
||||
}
|
||||
if (defender != null) {
|
||||
defender.loseLife(amount.calculate(game, source, this), game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue