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.02k stars 572 forks source link

AI doesn't activate first ability of Psychic Frog #6379

Open MorihiroS opened 1 month ago

MorihiroS commented 1 month ago

Describe the bug AI doesn't activate first ability of Psychic Frog even if it help to kill creature and save AI

To Reproduce Steps to reproduce the behavior:

  1. Player attacks with Shalai, Voice of Plenty
  2. AI has Psychic Frog on the battlefield
  3. AI has 4+ cards in hands
  4. AI doesn't activate first ability of Psychic Frog, may be second one if AI has few hp

Expected behavior AI should activate first ability of Psychic Frog if it can help to avoid removal/block opponent's creatures/kill opponent or if AI has 8+ cards in hands.

Additional context AI shouldn't discard or should discard rarely cards that are cast with or benefit from cards from its graveyard (like Abhorrent Oculus or Murktide Regent)

Desktop OS: Windows 10 Java Version: 1.8.0_202-b08 Forge Version: 1.6.66-SNAPSHOT-10-17

Screenshots

frog1 frog2 frog3 frog4 frog5 frog6

github-actions[bot] commented 6 days ago

This issue has not been updated in a while and has now been marked as stale. Stale messages will be auto closed.

MorihiroS commented 5 days ago

@Hanmac, need to remove no-issue-activity label, add AI label, keep label and assign someone

MorihiroS commented 14 hours ago

@Hanmac, need to remove no-issue-activity label, add AI label, keep label and assign someone

@Jetz72, can I ask you for add labels to this issues?

1 21