mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Clarification in AiCostDecision
This commit is contained in:
@@ -468,7 +468,7 @@ public class AiCostDecision extends CostDecisionMakerBase {
|
|||||||
typeList = CardLists.filter(typeList, Presets.UNTAPPED);
|
typeList = CardLists.filter(typeList, Presets.UNTAPPED);
|
||||||
c = typeList.size();
|
c = typeList.size();
|
||||||
// account for the fact that the activated card may be tapped in the process
|
// account for the fact that the activated card may be tapped in the process
|
||||||
if (ability.getPayCosts().hasTapCost()) {
|
if (ability.getPayCosts().hasTapCost() && typeList.contains(ability.getHostCard())) {
|
||||||
c--;
|
c--;
|
||||||
}
|
}
|
||||||
source.setSVar("ChosenX", "Number$" + Integer.toString(c));
|
source.setSVar("ChosenX", "Number$" + Integer.toString(c));
|
||||||
|
|||||||
Reference in New Issue
Block a user