mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
* Nether Traitor - Fixed that it did trigger for every card instead only for creature cards.
This commit is contained in:
parent
d2b94e8dad
commit
04e52cecbe
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue