mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
Phyrexian Dreadnought - Fixed that it can't be sacrificed if it's phased out.
This commit is contained in:
parent
68fdcddd32
commit
f688980573
1 changed files with 1 additions and 1 deletions
|
|
@ -1025,7 +1025,7 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
|
|||
@Override
|
||||
public boolean sacrifice(UUID sourceId, Game game) {
|
||||
//20091005 - 701.13
|
||||
if (!game.replaceEvent(GameEvent.getEvent(EventType.SACRIFICE_PERMANENT, objectId, sourceId, controllerId))) {
|
||||
if (isPhasedIn() && !game.replaceEvent(GameEvent.getEvent(EventType.SACRIFICE_PERMANENT, objectId, sourceId, controllerId))) {
|
||||
// Commander replacement effect or Rest in Peace (exile instead of graveyard) in play does not prevent successful sacrifice
|
||||
// so the return value of the moveToZone is not taken into account here
|
||||
moveToZone(Zone.GRAVEYARD, sourceId, game, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue