mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Fixed Vengeful Pharaoh
This commit is contained in:
parent
082554b2c3
commit
074adb5d99
1 changed files with 2 additions and 3 deletions
|
@ -97,9 +97,8 @@ class VengefulPharaohTriggeredAbility extends TriggeredAbilityImpl<VengefulPhara
|
|||
return true;
|
||||
}
|
||||
if (event.getType() == EventType.DAMAGED_PLANESWALKER) {
|
||||
Card card = game.getLastKnownInformation(event.getTargetId(), Zone.BATTLEFIELD);
|
||||
if (card != null && card instanceof Permanent
|
||||
&& ((Permanent) card).getControllerId().equals(this.getControllerId())) {
|
||||
Permanent permanent = game.getPermanent(event.getTargetId());
|
||||
if (permanent != null && permanent.getControllerId().equals(this.getControllerId())) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue