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 570 forks source link

AI doesn't cast cards with "Activated abilities of sources with the chosen name can’t be activated" #4261

Open MorihiroS opened 1 year ago

MorihiroS commented 1 year ago

Describe the bug AI doesn't cast Pithing Needle/Sorcerous Spyglass/Phyrexian Revoker/Voidstone Gargoyle/Disruptor Flute even if player has legal targets onto the battlefield to name with them and if AI has free mana for it.

To Reproduce Steps to reproduce the behavior:

  1. AI has Pithing Needle/etc. at hands and untapped land
  2. Player has legal targets onto the battlefield to name with Pithing Needle
  3. AI doesn't cast Pithing Needle/etc.

Expected behavior AI should cast Pithing Needle/Sorcerous Spyglass/Phyrexian Revoker/Voidstone Gargoyle/Disruptor Flute if player had or has legal targets onto the battlefield to name with these cards.

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

Screenshots

needlenot all

github-actions[bot] commented 11 months 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 11 months ago

@Hanmac, need AI label, keep label and assign Agetian, pls

Happy New Year to you!

MorihiroS commented 4 months ago

Ok, AI has cast it!

needle1 needle2

MorihiroS commented 3 months ago

Wait a second...

forge-gui-desktop-1.6.63-SNAPSHOT-06-14 - 1.6.64-SNAPSHOT-08.04: AI casts Pithing Needle

forge-gui-desktop-1.6.65-SNAPSHOT-08-15.tar: AI doesn't cast Pithing Needle and also other cards with "Activated abilities of sources with the chosen name can’t be activated"

needle flute flute2 all