forge icon indicating copy to clipboard operation
forge copied to clipboard

AI doesn't cast Invert Polarity

Open MorihiroS opened this issue 1 year ago • 3 comments

Describe the bug AI doesn't cast Invert Polarity even if its single card, it has enough mana and player casts something

To Reproduce Steps to reproduce the behavior:

  1. AI has 2 untapped Islands and 2 untapped Mountains
  2. AI has only Invert Polarity in hands
  3. Player casts a creature with cmc 4
  4. AI doesn't cast Invert Polarity

Expected behavior AI should cast Invert Polarity for spells with 3+ cmc

Desktop OS: Windows 10 Java Version: 1.8.0_202-b08 Forge Version: 1.6.64-SNAPSHOT-08.04

Screenshots

inv2

MorihiroS avatar Aug 10 '24 18:08 MorihiroS

@Hanmac, need AI label, keep label and assign someone, please

MorihiroS avatar Aug 22 '24 08:08 MorihiroS

@Agetian imo this one is a bit tricky, I mean, what would be the best target for this? Mostly Opponents Spells?

i think AI in general has problems with "assign new targets" spells

Hanmac avatar Aug 22 '24 08:08 Hanmac

Hmm yeah, most likely would need custom logic, prolly should check the SA for playability (if it's willing to play that spell and would have appropriate targets for it) and go for it if it wants to play the spell :)

Agetian avatar Aug 22 '24 09:08 Agetian