forked from External/mage
Implemented banding (#41)
This commit is contained in:
parent
adec5cf88b
commit
e7301e2c08
24 changed files with 708 additions and 136 deletions
|
|
@ -832,6 +832,14 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
pairedCard.clearPairedCard();
|
||||
}
|
||||
}
|
||||
if (permanent.getBandedCards() != null && !permanent.getBandedCards().isEmpty()) {
|
||||
for (UUID bandedId : permanent.getBandedCards()) {
|
||||
Permanent banded = game.getPermanent(bandedId);
|
||||
if (banded != null) {
|
||||
banded.removeBandedCard(permanent.getId());
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue