mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- AI should announce multikicker value for cards like Bloodhusk Ritualist to work correctly.
This commit is contained in:
@@ -1047,7 +1047,7 @@ public class ComputerUtilMana {
|
||||
final int multiplicator = Math.max(cost.getXcounter(), 1);
|
||||
manaToAdd = extraMana * multiplicator;
|
||||
} else {
|
||||
// For Count$xPaid set PayX in the AFs then use that here
|
||||
// For Count$xPrestrictionaid set PayX in the AFs then use that here
|
||||
// Else calculate it as appropriate.
|
||||
final String xSvar = card.getSVar("X").startsWith("Count$xPaid") ? "PayX" : "X";
|
||||
if (!sa.getSVar(xSvar).isEmpty() || card.hasSVar(xSvar)) {
|
||||
@@ -1076,6 +1076,7 @@ public class ComputerUtilMana {
|
||||
for (int i = 0; i < timesMultikicked; i++) {
|
||||
cost.addManaCost(mkCost);
|
||||
}
|
||||
sa.setSVar("Multikicker", String.valueOf(timesMultikicked));
|
||||
}
|
||||
|
||||
if (test && sa.isSpell()) {
|
||||
|
||||
Reference in New Issue
Block a user