mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- Fixed the spDiscardTgt bug.
This commit is contained in:
@@ -923,8 +923,12 @@ public class CardFactory implements NewConstants {
|
||||
{
|
||||
CardList dChoices = new CardList();
|
||||
|
||||
if (DiscardMethod.contains("Creature") && !DiscardMethod.contains("nonCreature"))
|
||||
if (DiscardMethod.contains("Creature") && !DiscardMethod.contains("nonCreature")) {
|
||||
Card c = CardFactoryUtil.AI_getBestCreature(dPChHand);
|
||||
if (c!=null)
|
||||
dChoices.add(CardFactoryUtil.AI_getBestCreature(dPChHand));
|
||||
}
|
||||
|
||||
|
||||
CardListUtil.sortByTextLen(dPChHand);
|
||||
dChoices.add(dPChHand.get(0));
|
||||
|
||||
Reference in New Issue
Block a user