mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Minor change.
This commit is contained in:
parent
ea802f17e7
commit
a0e8241347
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