mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
* Added Dream Halls and Curse of chain (and what was neccessary to get Dream Hall costs to work).
This commit is contained in:
parent
f86ef6f625
commit
c8d76cdaaf
18 changed files with 299 additions and 32 deletions
|
|
@ -224,7 +224,7 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
|||
}
|
||||
if (target instanceof TargetCardInHand) {
|
||||
List<Card> cards = new ArrayList<>();
|
||||
for (UUID cardId: ((TargetCardInHand)target).possibleTargets(this.getId(), hand, game)) {
|
||||
for (UUID cardId: ((TargetCardInHand)target).possibleTargets(sourceId, this.getId(), game)) {
|
||||
Card card = game.getCard(cardId);
|
||||
if (card != null) {
|
||||
cards.add(card);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue