mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
* Recovery added missing check for creature type.
This commit is contained in:
parent
8f68f2b7d5
commit
eb7ca3788a
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ public class RecoverAbility extends TriggeredAbilityImpl {
|
|||
ZoneChangeEvent zEvent = (ZoneChangeEvent) event;
|
||||
if (zEvent.getFromZone().equals(Zone.BATTLEFIELD) && zEvent.getToZone().equals(Zone.GRAVEYARD)) {
|
||||
if (zEvent.getTarget().getOwnerId().equals(getControllerId())
|
||||
&& zEvent.getTarget().getCardType().contains(CardType.CREATURE)
|
||||
&& !zEvent.getTarget().getId().equals(getSourceId())) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue