mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +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
|
// So check here with the LKI of the enchantment
|
||||||
Permanent attachment = game.getPermanentOrLKIBattlefield(getSourceId());
|
Permanent attachment = game.getPermanentOrLKIBattlefield(getSourceId());
|
||||||
if (attachment != null
|
if (attachment != null
|
||||||
|
&& zEvent.getTargetId() != null && attachment.getAttachedTo() != null
|
||||||
&& zEvent.getTargetId().equals(attachment.getAttachedTo())
|
&& zEvent.getTargetId().equals(attachment.getAttachedTo())
|
||||||
&& attachment.getAttachedToZoneChangeCounter() == zEvent.getTarget().getZoneChangeCounter(game) - 1) {
|
&& attachment.getAttachedToZoneChangeCounter() == zEvent.getTarget().getZoneChangeCounter(game) - 1) {
|
||||||
triggered = true;
|
triggered = true;
|
||||||
|
|
Loading…
Reference in a new issue