mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- AI should make choices for AF Charm when playing a SA with this API without paying its mana cost.
This commit is contained in:
@@ -262,6 +262,10 @@ public class ComputerUtil {
|
|||||||
sa.setLastStateBattlefield(game.getLastStateBattlefield());
|
sa.setLastStateBattlefield(game.getLastStateBattlefield());
|
||||||
sa.setLastStateGraveyard(game.getLastStateGraveyard());
|
sa.setLastStateGraveyard(game.getLastStateGraveyard());
|
||||||
newSA.setHostCard(game.getAction().moveToStack(source, sa));
|
newSA.setHostCard(game.getAction().moveToStack(source, sa));
|
||||||
|
|
||||||
|
if (newSA.getApi() == ApiType.Charm && !newSA.isWrapper()) {
|
||||||
|
CharmEffect.makeChoices(newSA);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
final CostPayment pay = new CostPayment(newSA.getPayCosts(), newSA);
|
final CostPayment pay = new CostPayment(newSA.getPayCosts(), newSA);
|
||||||
|
|||||||
Reference in New Issue
Block a user