mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- A better comment in ChangeZoneAi
This commit is contained in:
@@ -1021,7 +1021,7 @@ public class ChangeZoneAi extends SpellAbilityAi {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// if max CMC exceeded, stop choosing
|
// if max CMC exceeded, do not choose this card (but keep looking for other options)
|
||||||
if (sa.hasParam("MaxTotalTargetCMC")) {
|
if (sa.hasParam("MaxTotalTargetCMC")) {
|
||||||
if (choice.getCMC() > sa.getTargetRestrictions().getMaxTotalCMC(choice, sa) - sa.getTargets().getTotalTargetedCMC()) {
|
if (choice.getCMC() > sa.getTargetRestrictions().getMaxTotalCMC(choice, sa) - sa.getTargets().getTotalTargetedCMC()) {
|
||||||
list.remove(choice);
|
list.remove(choice);
|
||||||
|
|||||||
Reference in New Issue
Block a user