mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
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:
parent
09f5af154e
commit
114c323fa1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue