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 gains control of player's Pithing Needle #4300

Open MorihiroS opened 12 months ago

MorihiroS commented 12 months ago

Describe the bug AI casts Archmage's Charm and gains control of player's Pithing Needle. It doesn't make sense!

To Reproduce Steps to reproduce the behavior:

  1. Player has Pithing Needle
  2. AI casts Archmage's Charm and gains control of player's Pithing Needle

Expected behavior AI shouldn't gain control of player's Pithing Needle until it has permanents/spells which can sacrifice or destroy/exile only its own artifacts/permanents (like Arcbound Ravager, Kuldotha Rebirth, etc.)

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

Screenshots

charm

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, please

Hanmac commented 11 months ago

General AI problem on how to "value" a non Creature card.

AI thinks higher mana value is more worth it.