mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Fixed that Auras that were manifested had wrongly to select aura target.
This commit is contained in:
parent
8d6c25b3e8
commit
8ba2136b0e
2 changed files with 5 additions and 1 deletions
|
@ -88,6 +88,10 @@ public class AuraReplacementEffect extends ReplacementEffectImpl {
|
|||
UUID sourceId = event.getSourceId();
|
||||
UUID controllerId = event.getPlayerId();
|
||||
|
||||
// Aura cards that go to battlefield face down (Manifest) don't have to select targets
|
||||
if (card.isFaceDown()) {
|
||||
return false;
|
||||
}
|
||||
// Aura enters the battlefield attached
|
||||
Object object = game.getState().getValue("attachTo:"+card.getId());
|
||||
if (object != null && object instanceof PermanentCard) {
|
||||
|
|
|
@ -51,7 +51,7 @@ public class Targets extends ArrayList<Target> {
|
|||
}
|
||||
|
||||
public List<Target> getUnchosen() {
|
||||
List<Target> unchosen = new ArrayList<Target>();
|
||||
List<Target> unchosen = new ArrayList<>();
|
||||
for (Target target: this) {
|
||||
if (!target.isChosen()) {
|
||||
unchosen.add(target);
|
||||
|
|
Loading…
Reference in a new issue