mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Merge branch 'master' into 'master'
Fix the AI failing to bounce stuff e.g. with Riddlemaster Sphinx See merge request core-developers/forge!3838
This commit is contained in:
@@ -1125,7 +1125,7 @@ public class ChangeZoneAi extends SpellAbilityAi {
|
||||
// the Unless cost (for example, Erratic Portal)
|
||||
list.removeAll(getSafeTargetsIfUnlessCostPaid(ai, sa, list));
|
||||
|
||||
if (!mandatory && sa.isTargetNumberValid()) {
|
||||
if (!mandatory && list.size() < sa.getTargetRestrictions().getMinTargets(sa.getHostCard(), sa)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user