mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Fixed Issue 214
This commit is contained in:
parent
72169376cd
commit
02cef51717
1 changed files with 2 additions and 1 deletions
|
@ -92,7 +92,8 @@ class GlintHawkIdolTriggeredAbility extends TriggeredAbilityImpl<GlintHawkIdolTr
|
||||||
ZoneChangeEvent zEvent = (ZoneChangeEvent)event;
|
ZoneChangeEvent zEvent = (ZoneChangeEvent)event;
|
||||||
if (zEvent.getToZone() == Constants.Zone.BATTLEFIELD) {
|
if (zEvent.getToZone() == Constants.Zone.BATTLEFIELD) {
|
||||||
Permanent permanent = game.getPermanent(event.getTargetId());
|
Permanent permanent = game.getPermanent(event.getTargetId());
|
||||||
if (permanent != null && permanent.getCardType().contains(CardType.ARTIFACT)) {
|
if (permanent != null && permanent.getCardType().contains(CardType.ARTIFACT)
|
||||||
|
&& permanent.getControllerId().equals(this.controllerId)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue