mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
Fixed a bug that also equipments were returned to hand by Orzhov's Charms first ability.
This commit is contained in:
parent
b099b57d8b
commit
33a917c216
1 changed files with 2 additions and 1 deletions
|
|
@ -120,7 +120,8 @@ class OrzhovCharmReturnToHandEffect extends OneShotEffect<OrzhovCharmReturnToHan
|
||||||
attachments.addAll(target.getAttachments());
|
attachments.addAll(target.getAttachments());
|
||||||
for (UUID attachmentId : attachments) {
|
for (UUID attachmentId : attachments) {
|
||||||
Permanent attachment = game.getPermanent(attachmentId);
|
Permanent attachment = game.getPermanent(attachmentId);
|
||||||
if (attachment != null && attachment.getControllerId().equals(source.getControllerId())) {
|
if (attachment != null && attachment.getControllerId().equals(source.getControllerId())
|
||||||
|
&& attachment.getSubtype().contains("Aura")) {
|
||||||
attachment.moveToZone(Zone.HAND, source.getSourceId(), game, false);
|
attachment.moveToZone(Zone.HAND, source.getSourceId(), game, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue