mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
Update ReyhanLastOfTheAbzan.java
This commit is contained in:
parent
f0e1eaa8e8
commit
7d6e9c51e3
1 changed files with 8 additions and 3 deletions
|
@ -118,10 +118,15 @@ class ReyhanLastOfTheAbzanTriggeredAbility extends TriggeredAbilityImpl {
|
|||
return false;
|
||||
}
|
||||
|
||||
// A creature
|
||||
Permanent permanent = (Permanent) game.getLastKnownInformation(event.getTargetId(), Zone.BATTLEFIELD);
|
||||
Player player = game.getPlayer(source.getControllerId());
|
||||
// A creature you control
|
||||
if (player == null || !player.equals(this.getControllerId()) || permanent == null || !permanent.isCreature()) {
|
||||
if (permanent == null || !permanent.isCreature()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// You control
|
||||
Player player = game.getPlayer(this.getControllerId());
|
||||
if (player == null || !player.getId().equals(this.getControllerId())) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue