mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Minor change.
This commit is contained in:
parent
a9fdac22f0
commit
780b99b7f1
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ public class DiesAttachedTriggeredAbility extends TriggeredAbilityImpl {
|
|||
// So check here with the LKI of the enchantment
|
||||
Permanent attachment = game.getPermanentOrLKIBattlefield(getSourceId());
|
||||
if (attachment != null
|
||||
&& zEvent.getTargetId() != null && attachment.getAttachedTo() != null
|
||||
&& zEvent.getTargetId().equals(attachment.getAttachedTo())
|
||||
&& attachment.getAttachedToZoneChangeCounter() == zEvent.getTarget().getZoneChangeCounter(game) - 1) {
|
||||
triggered = true;
|
||||
|
|
Loading…
Reference in a new issue