mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 02:08:00 +00:00
Modified playStack() and playNoStack() to handle "Draw a card." instead of "Cantrip".
This commit is contained in:
@@ -55,7 +55,7 @@ private static Random random = new Random();
|
|||||||
AllZone.Computer_Hand.remove(sa.getSourceCard());
|
AllZone.Computer_Hand.remove(sa.getSourceCard());
|
||||||
|
|
||||||
|
|
||||||
if (sa.getSourceCard().getKeyword().contains("Cantrip"))
|
if (sa.getSourceCard().getKeyword().contains("Draw a card."))
|
||||||
AllZone.GameAction.drawCard(sa.getSourceCard().getController());
|
AllZone.GameAction.drawCard(sa.getSourceCard().getController());
|
||||||
payManaCost(sa);
|
payManaCost(sa);
|
||||||
|
|
||||||
@@ -79,7 +79,7 @@ private static Random random = new Random();
|
|||||||
if(sa instanceof Ability_Tap)
|
if(sa instanceof Ability_Tap)
|
||||||
sa.getSourceCard().tap();
|
sa.getSourceCard().tap();
|
||||||
|
|
||||||
if (sa.getSourceCard().getKeyword().contains("Cantrip"))
|
if (sa.getSourceCard().getKeyword().contains("Draw a card."))
|
||||||
AllZone.GameAction.drawCard(sa.getSourceCard().getController());
|
AllZone.GameAction.drawCard(sa.getSourceCard().getController());
|
||||||
|
|
||||||
payManaCost(sa);
|
payManaCost(sa);
|
||||||
|
|||||||
Reference in New Issue
Block a user