* Recovery added missing check for creature type.

This commit is contained in:
LevelX2 2015-07-20 22:09:36 +02:00
parent 8f68f2b7d5
commit eb7ca3788a

View file

@ -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;
}