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.01k stars 571 forks source link

AI searches for itself/discards to player cards with high cmc in early game #4282

Open MorihiroS opened 11 months ago

MorihiroS commented 11 months ago

Describe the bug In early game AI searches for itself or discards to player cards with high cmc like Avacyn, Angel of Hope or Iona, Shield of Emeria. But it doesn't make sense

To Reproduce Steps to reproduce the behavior:

  1. AI casts Thoughtseize and targets player
  2. AI sees 3 lands, Noble Hierarch, Serra Paragon, Touch the Spirit Realm and Avacyn, Angel of Hope
  3. AI chooses Avacyn, Angel of Hope to discard or
  4. AI casts Eladamri's Call
  5. AI hasn't 8 lands or Elvish piper on the battlefield
  6. AI finds Avacyn, Angel of Hope

Expected behavior AI should at least count his lands/opponent's lands to choose which card it should find/discard

Desktop OS: Windows 10 Java Version: 1.8.0_202-b08 Forge Version: 1.6.59-SNAPSHOT-12.01

Screenshots

though1 though2 though3 though4

MorihiroS commented 10 months ago

@Hanmac, need keep label, please

MorihiroS commented 3 months ago

@Agetian, but AI don't choose cards with high cmc from player's hands by trigger of Thought-Knot Seer:

though

MorihiroS commented 14 hours ago

@Agetian, can you add the logic of Thought-Knot Seer's trigger to "search nonland card for AI" and "choose opponent's card to discard"? Tutors and cards like Thoughtseize are almost useless cards for the AI, because of which it loses to itself frequently...