Card-Forge / forge

An unofficial rules engine for the world's greatest card game.
https://card-forge.github.io/forge/
GNU General Public License v3.0
1.03k stars 571 forks source link

AI doesn't cast Adventure Spells if it can cast main spells #4352

Open MorihiroS opened 11 months ago

MorihiroS commented 11 months ago

Describe the bug AI doesn't cast these Adventure Spells if it can cast their main spells:

To Reproduce Steps to reproduce the behavior:

  1. Player casts Serra's Emissary
  2. AI has Chop Down/Giant Killer
  3. AI has mana for Chop Down
  4. AI casts Giant Killer and
  5. AI has a lot of mana
  6. AI casts Questing Druid, not Seek the Beast and
  7. AI has 4+ mana sources
  8. AI has Lovestruck Beast in hands
  9. AI casts Lovestruck Beast, not Heart's Desire

Expected behavior AI should prefer to cast Adventure Half first

Chop Down should be prioritized by the AI over Giant Killer if the player has a large creature on the battlefield AI should cast Seek the Beast sometimes AI should cast Heart's Desire before Lovestruck Beast unless it immediately needs creatures for the block.

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

Screenshots

Giant giant2 druid beast

Hanmac commented 11 months ago

@Agetian would it be enough if the creature side has "needs to play control 1/1 creature" ?

Hanmac commented 11 months ago

@Agetian can we mark that it should prefer to cast Adventure Half first?