fixed Hubris bouncing equipment (fixes #4167)

This commit is contained in:
Evan Kranzler 2017-11-16 10:31:11 -05:00
parent 73286628a0
commit 7bab56e910

View file

@ -99,7 +99,13 @@ class HubrisReturnEffect extends OneShotEffect {
for (UUID targetId : targetPointer.getTargets(game, source)) {
Permanent creature = game.getPermanent(targetId);
if (creature != null) {
Cards cardsToHand = new CardsImpl(creature.getAttachments());
Cards cardsToHand = new CardsImpl();
for (UUID cardId : creature.getAttachments()) {
Permanent card = game.getPermanent(cardId);
if (card != null && card.hasSubtype(SubType.AURA, game)) {
cardsToHand.add(card);
}
}
cardsToHand.add(creature);
controller.moveCards(cardsToHand, Zone.HAND, source, game);
}