forked from External/mage
Fixed handling to show playable cards with alternate costs.
This commit is contained in:
parent
03c7a815f7
commit
73a41aef4a
3 changed files with 19 additions and 10 deletions
|
|
@ -2167,9 +2167,6 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
playable.add(ability);
|
||||
}
|
||||
}
|
||||
// if (ability instanceof AlternativeSourceCosts) {
|
||||
//
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2279,12 +2276,12 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
break;
|
||||
}
|
||||
}
|
||||
for (ActivatedAbility ability : card.getAbilities().getActivatedAbilities(Zone.HAND)) {
|
||||
if (!playable.contains(ability.getSourceId()) && canPlay(ability, available, card, game)) {
|
||||
playable.add(card.getId());
|
||||
break;
|
||||
}
|
||||
}
|
||||
// for (ActivatedAbility ability : card.getAbilities().getActivatedAbilities(Zone.HAND)) {
|
||||
// if (!playable.contains(ability.getSourceId()) && canPlay(ability, available, card, game)) {
|
||||
// playable.add(card.getId());
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue