mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
I fixed Artisan of Kozilek. Turns out the code was creating a list of the cards in the graveyard. I added a line to filter this list to include just the creatures and it now works as expected.
This commit is contained in:
@@ -413,6 +413,7 @@ public class GameActionUtil {
|
|||||||
if (controller.equals(Constant.Player.Human))
|
if (controller.equals(Constant.Player.Human))
|
||||||
{
|
{
|
||||||
CardList creatures = AllZoneUtil.getPlayerGraveyard(Constant.Player.Human);
|
CardList creatures = AllZoneUtil.getPlayerGraveyard(Constant.Player.Human);
|
||||||
|
creatures = creatures.getType("Creature");
|
||||||
Object check = AllZone.Display.getChoiceOptional("Select creature", creatures.toArray());
|
Object check = AllZone.Display.getChoiceOptional("Select creature", creatures.toArray());
|
||||||
if(check != null) {
|
if(check != null) {
|
||||||
this.setTargetCard((Card) check);
|
this.setTargetCard((Card) check);
|
||||||
|
|||||||
Reference in New Issue
Block a user