Patron of the Nezumi now correctly cares about whose graveyard a creature went to rather than who controlled it before dying. #5241

This commit is contained in:
Kevin Shin 2018-08-22 07:05:18 -05:00
parent 09f5af154e
commit 114c323fa1

View file

@ -74,7 +74,7 @@ class PatronOfTheNezumiTriggeredAbility extends TriggeredAbilityImpl {
if (zEvent.isDiesEvent()) { if (zEvent.isDiesEvent()) {
Permanent permanent = game.getPermanentOrLKIBattlefield(zEvent.getTargetId()); Permanent permanent = game.getPermanentOrLKIBattlefield(zEvent.getTargetId());
if (permanent != null && game.getOpponents(controllerId).contains(permanent.getOwnerId())) { if (permanent != null && game.getOpponents(controllerId).contains(permanent.getOwnerId())) {
this.getEffects().get(0).setTargetPointer(new FixedTarget(zEvent.getPlayerId())); this.getEffects().get(0).setTargetPointer(new FixedTarget(permanent.getOwnerId()));
return true; return true;
} }
} }