* Nether Traitor - Fixed that it did trigger for every card instead only for creature cards.

This commit is contained in:
LevelX2 2015-02-18 23:54:16 +01:00
parent d2b94e8dad
commit 04e52cecbe

View file

@ -99,7 +99,10 @@ class NetherTraitorTriggeredAbility extends TriggeredAbilityImpl {
ZoneChangeEvent zEvent = (ZoneChangeEvent) event;
if (zEvent.getFromZone() == Zone.BATTLEFIELD && zEvent.getToZone() == Zone.GRAVEYARD) {
Card card = game.getCard(event.getTargetId());
if (card != null && card.getOwnerId().equals(this.getControllerId()) && !card.getId().equals(this.getSourceId())) {
if (card != null &&
card.getOwnerId().equals(this.getControllerId()) &&
card.getCardType().contains(CardType.CREATURE)&&
!card.getId().equals(this.getSourceId())) {
return true;
}
}