mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- AI is not good at considering targets for Detention Sphere on its own side of the battlefield (and will commonly miscast it that way if the opponent controls no nonland permanents), so don't consider them for now.
This commit is contained in:
@@ -45,7 +45,8 @@ public class PermanentNoncreatureAi extends PermanentAi {
|
||||
final CardCollection list = CardLists.getValidCards(game.getCardsIn(origin), tgt.getValidTgts(), ai, host,
|
||||
effectExile);
|
||||
CardCollection targets = CardLists.getTargetableCards(list, sa);
|
||||
if (sa.getHostCard().getName().equals("Suspension Field")) {
|
||||
if (sa.getHostCard().getName().equals("Suspension Field")
|
||||
|| sa.getHostCard().getName().equals("Detention Sphere")) {
|
||||
// existing "exile until leaves" enchantments only target
|
||||
// opponent's permanents
|
||||
targets = CardLists.filterControlledBy(targets, ai.getOpponents());
|
||||
|
||||
Reference in New Issue
Block a user